Re: [b2g] The UBIFS format on NAND flash memory

2014-04-29 Thread Jose Vidal
main(sys.argv[1:]) File "./build/tools/releasetools/build_image.py", line 188, in main if not BuildImage(in_dir, image_properties, out_file): File "./build/tools/releasetools/build_image.py", line 76, in BuildImage build_command.append(str(int(prop_dict["par

Re: [b2g] The UBIFS format on NAND flash memory

2014-04-29 Thread Jose Vidal
://github.com/Seinlin/platform_build/blob/583929fee564268612ebb41b59aee5a3df0b157e/tools/releasetools/build_image.py#L138 > > -- > Kai-Zhen Li (Seinlin) > Mozilla Taiwan > > - Original Message - > From: "Jose Vidal" > To: mozilla-dev-...@lists.mozilla.org >

[b2g] The UBIFS format on NAND flash memory

2014-04-28 Thread Jose Vidal
Hi everyone, I'm porting B2G on freescale device with the next features: 1. Android JB 4.2.2 r1 2. CPU iMX6 3. GPU Vivante. The NAND flash have Ubifs format, so, I needed create the images using Ubifs format. I'm using the next patch to platform/build https://github.com/Seinlin/platfor

[b2g] Using UBIFS format on NAND flash memory

2014-04-28 Thread Jose Vidal
Hi everyone, I'm porting B2G on freescale device with the next features: 1. Android JB 4.2.2 r1 2. CPU iMX6 3. GPU Vivante. The NAND flash have Ubifs format, so, I needed create the images using Ubifs format. I'm using the next patch to platform/build https://github.com/Seinlin/platform_bui

Re: [b2g] Disable GPU to Test only

2014-04-25 Thread Jose Vidal
Yes, I know. So, How I can start a debugging ? I mean, I don't have any idea what files I should modify to test. Do you have something that could help me ? Regards. Jose 2014-04-25 9:19 GMT-05:00 Alexandre Lissy : > Le 25/04/2014 15:36, Jose Vidal a écrit : > > Hi Alexandre

Re: [b2g] Disable GPU to Test only

2014-04-25 Thread Jose Vidal
): alloc(800, 480, 2, 1a00, ...) failed -12 (Out of memory) Thanks in advance. Jose 2014-04-25 8:25 GMT-05:00 Alexandre Lissy : > Le 25/04/2014 15:23, Jose Vidal a écrit : > > Hi Alexandre, > > > > Thanks for your response. > > > > I try run Gaia without GP

Re: [b2g] Disable GPU to Test only

2014-04-25 Thread Jose Vidal
-25 3:41 GMT-05:00 Alexandre Lissy : > Le 24/04/2014 23:53, Jose Vidal a écrit : > > [...] > > > > > http://pastebin.com/TfVbq9HW > > > > I can't display Gaia on my device. > > Probably because it crashes B2G: > > E/libEGL ( 2522): eglGetDis

[b2g] Disable GPU to Test only

2014-04-24 Thread Jose Vidal
Hi everyone, I'm porting B2G on freescale device. It uses iMX6 processor with GPU Vivante. To test, I disabled the GPU and GL using the help following: https://community.freescale.com/thread/309033 Now, I get a new logcat http://pastebin.com/TfVbq9HW I can't display Gaia on my device. I ap

[b2g] FirefoxOS uses only snapdragon with Adreno

2014-04-16 Thread Jose Vidal
Hi everyone, Is true that FirefoxOS only uses snapdragon with Adreno ? What happens if I want use another processor, for example iMX6 which it uses a GPU Vivante ? Where I should make the changes ? I hope for your help Thanks in advance Regards Jose _

Re: [b2g] Vivante and FirefoxOS

2014-04-15 Thread Jose Vidal
ose > > > > Thomas Tsai > > > > From: "Jose Vidal" > To: mozilla...@lists.mozilla.org > Sent: Monday, April 14, 2014 11:40:51 PM > Subject: [b2g] Vivante and FirefoxOS > > > Hi everyone, > > > Can I to use a device which use

[b2g] Vivante and FirefoxOS

2014-04-14 Thread Jose Vidal
Hi everyone, Can I to use a device which uses a processor iMX6 with GPU Vivante to porting B2G (FirefoxOS) ? Thanks in advance ? Best regards, Jose ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Failed to create EGLContext

2014-04-11 Thread Jose Vidal
El viernes, 11 de abril de 2014 02:58:05 UTC-5, Alexandre Lissy escribió: > Le 11/04/2014 09:47, Jose Vidal a écrit : > > > > [...] > > > > > (gdb) p/x sEGLLibrary.fGetError() > > > Cannot evaluate function -- may be inlined > > > > Look

Re: [b2g] Failed to create EGLContext

2014-04-11 Thread Jose Vidal
in expression. (gdb) === What is the problem? Regards, Jose > > > it should give you a hex value represent the error. > > then you can check > > http://dxr.mozilla.org/mozilla-central/source/gfx/gl/GLConsts.h > > > > to see what the error is. &

Re: [b2g] Failed to create EGLContext

2014-04-11 Thread Jose Vidal
lGetError here to check what's wrong: > > https://www.khronos.org/registry/egl/sdk/docs/man/html/eglCreateContext.xhtml > > Hi Chiajung, Thanks for your response, How I make do that? Thanks in advance, Regards, Jose > > Best Regards, > > Chiajung > &

[b2g] Failed to create EGLContext

2014-04-10 Thread Jose Vidal
Hi everyone, I'm to porting B2G in freescale device. I get only bootanimation in loop. I have maybe problems with hwcomposer, gralloc or something. This is my GDB. > __dl__start () at bionic/linker/arch/arm/begin.S:35 35 mov r0, sp (gdb) c Co

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
at ../../../gecko/b2g/app/nsBrowserApp.cpp:163 #55 main (argc=, argv=) at ../../../gecko/b2g/app/nsBrowserApp.cpp:256 (gdb) I appreciate any kind of help. Thanks in advance. Regards, Jose > > > > > > > On Thu, Apr 10, 2014 at 11:38 AM, Jose Vida

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
El jueves, 10 de abril de 2014 04:34:20 UTC-5, Jose Vidal escribió: > El jueves, 10 de abril de 2014 04:27:23 UTC-5, Alexandre Lissy escribió: > > > > > > > > > > > I have > > > > > > > > &

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
El jueves, 10 de abril de 2014 04:27:23 UTC-5, Alexandre Lissy escribió: > > > > > I have > > > > > > 11|root@android:/ # ls system/lib/hw/hwcomposer > > > > > hwcomposer.imx6.sohwcomposer_viv.imx6.so > > > 11|root@android:/ # ls system/lib/hw/hwc

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
El jueves, 10 de abril de 2014 04:18:53 UTC-5, Alexandre Lissy escribió: > Le 10/04/2014 11:16, Jose Vidal a écrit : > > > El jueves, 10 de abril de 2014 04:10:55 UTC-5, Alexandre Lissy escribió: > > >> Le 10/04/2014 10:59, Jose Vidal a écr

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
El jueves, 10 de abril de 2014 04:10:55 UTC-5, Alexandre Lissy escribió: > Le 10/04/2014 10:59, Jose Vidal a écrit : > > > Ok, > > > > > > That was solved > > > > > > This is the GDB > > > > > > B2G$ ./run-gd

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Ok, That was solved This is the GDB B2G$ ./run-gdb.sh ADB Location: adb ..killing gdbserver pid 3572 Terminated /system/bin/sh: kill: 3573: No such process Process /system/b2g/b2g created; pid = 3597 Listening on port 11000 prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-an

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Ok, I have gdbserver, but I get this: B2G$ ./run-gdb.sh ADB Location: adb ..killing gdbserver pid 3538 Terminated /system/bin/sh: kill: 3539: No such process Process /system/b2g/b2g created; pid = 3573 Listening on port 11000 prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-a

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Sorry, the run-gdb.sh file says : elif [ -d prebuilts ]; then GDB=prebuilts/gcc/$(uname -s | tr "[[:upper:]]" "[[:lower:]]")-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gdb else But I have : $ B2G/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Sorry, the run-gdb.sh file says : elif [ -d prebuilts ]; then GDB=prebuilts/gcc/$(uname -s | tr "[[:upper:]]" "[[:lower:]]")-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gdb else But I have : $ B2G/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Hi Alexandre, I get ./run-gdb.sh: line 124: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gdb: No such file or directory How I can to install gdb? Regards, Jose ___ dev-b2g mailing list dev-b2g@lists.mozilla.org h

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
I did it again root@android:/ # rm -r /data/local/* root@android:/ # rm -r /data/b2g/* root@android:/ # stop b2g root@android:/ # /system/bin/b2g.sh

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Ok. Thanks. I get root@android:/ # rm -r /data/b2g/* root@android:/ # rm -r /data/lo local/ lost+found/ root@android:/ # rm -r /data/local/* root@andro

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Sorry You say, root@android:/ # rm /data/local/* and root@android:/ # rm /data/b2g/* And then, root@android:/ # stop b2g root@android:/ # /system/bin/b2g.sh This is correct ? Jose ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https:/

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
You say, root@android:/ # rm /data/local/* and root@android:/ # ls /data/b2g/* And then, root@android:/ # stop b2g root@android:/ # /system/bin/b2g.sh This is correct ? JOse ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Hi Alexandre, Thanks for your help. This is the output $ adb shell root@android:/ # stop b2g root@android:/ # /system/bin/b2g.sh 1397058143956 Marionette INFOmarionette enabled via build flag and pref 1397058144314 Marionette INFOmario

Re: [b2g] service 'media.resource_manager' died

2014-04-10 Thread Jose Vidal
Hi Alexandre, Do you any idea ? Best regards, Jose. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] service 'media.resource_manager' died

2014-04-09 Thread Jose Vidal
Hi Alexandre. Only I have bootanimation in loop. This is my last logcat http://pastebin.com/EJqUwy7Q I don't know what is the problem Thanks in advance. Jose ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

[b2g] service 'media.resource_manager' died

2014-04-09 Thread Jose Vidal
Hi everyone, I am getting the following error I/ServiceManager( 2487): service 'media.resource_manager' died Can anybody please help why I am seeing this error. Thanks in advance, Jose ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://l

[b2g] I don't get a boot normal sequence.

2014-04-09 Thread Jose Vidal
Hi everyone, Only I see bootanimation in loop and I don't get a boot normal sequence. In logcat, I get messages like: E/GeckoConsole(13432): Could not read chrome manifest 'file:///system/b2g/chrome.manifest'. E/GeckoConsole(13432): While creating services from category 'profile-after-change'

Re: [b2g] black screen during boot

2014-04-04 Thread Jose Vidal
El martes, 1 de abril de 2014 09:38:09 UTC-5, Shawn Huang escribió: > On Tuesday, April 1, 2014 10:10:33 PM UTC+8, Jose Vidal wrote: > > Can you check 'frameworks/base/libmediaplayerservice' or > frameworks/av/media/libmediaplayerservice' folder had been compiled? Yo

[b2g] Could not open boot animation - freescale

2014-04-04 Thread Jose Vidal
Hi everyone, I have build success, but I don't have graphics on screen. Below I attached the "adb logcat" Someone have any idea which is the problem ? I hope for your help. Thanks in advance, Best regards, jvidalsm This is the logcat: - beginning of /dev/log/main I/DEBUG ( 2492)

[b2g] open /dev/graphics/fb0 failed - error opening trace file

2014-04-03 Thread Jose Vidal
Hi everyone, Apparently the hwcomposer and surfaceflinger modules are working. I'm using JB 4.2.2 to porting B2G in freescale device. This is the logcat http://pastebin.com/j9P8UkyU Please, I appreciate any kind of help. Thanks in advance. Best regards. jvidalsm __

Re: [b2g] I get black screen - freescale device

2014-04-03 Thread Jose Vidal
Hi everyone, I copied hwcomposer.imx6.so according: $ adb push backup-var_som_mx6q/system/lib/hw/hwcomposer.imx6.so /system/lib/hw/ The kernel command is: BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off arm_freq=1000 fbme

[b2g] I get black screen - freescale device

2014-04-03 Thread Jose Vidal
Hi everyone, I hope anyone can help me. I'm using JB 4.2 to porting B2G. PLATFORM_VERSION_CODENAME=REL PLATFORM_VERSION=4.2.2 TARGET_PRODUCT=full_var_som_mx6q TARGET_BUILD_VARIANT=eng TARGET_BUILD_TYPE=release TARGET_BUILD_APPS= TARGET_ARCH=arm TARGET_ARCH_VARIANT=armv7-a-neon HOST_ARCH=x86 HOST_

Re: [b2g] How to run Gaia in new device

2014-04-02 Thread Jose Vidal
Hi Kai, I have $:~/Projects/imx_fos102/B2G$ find out/target/product/var_som_mx6q/ -name hwcom* out/target/product/var_som_mx6q/obj/SHARED_LIBRARIES/hwcomposer.default_intermediates out/target/product/var_som_mx6q/obj/SHARED_LIBRARIES/hwcomposer.default_intermediates/hwcomposer.o out/target/produ

Re: [b2g] Platform frameworks base - libmediaplayerservice

2014-04-02 Thread Jose Vidal
El miércoles, 2 de abril de 2014 00:23:51 UTC-5, Shawn Huang escribió: > http://androidxref.com/4.3_r2.1/xref/frameworks/av/media/libmediaplayerservice/ > > It's under frameworks/av/media/libmediaplayerservice, you should use this > instead of ICS version. Hi Shawn, Thanks for your help. I'm u

Re: [b2g] Platform frameworks base - libmediaplayerservice

2014-04-01 Thread Jose Vidal
El martes, 1 de abril de 2014 22:59:17 UTC-5, Shawn Huang escribió: > You have two stagefright folders. This should not happen. > > ICS: frameworks/base/cmds/stagefright > > JB: frameworks/av/cmds/stagefright/ > > What's your android version? Hi Shawn, I'm using JB version. But, I replaced my

Re: [b2g] Platform frameworks base - libmediaplayerservice

2014-04-01 Thread Jose Vidal
advance, Best regards, jvidalsm El martes, 1 de abril de 2014 22:01:06 UTC-5, Shawn Huang escribió: > On Wednesday, April 2, 2014 9:53:46 AM UTC+8, Jose Vidal wrote: > > > I have problems with libmediaplayerservice (I have black screen). > > > I'm using a Platform_fra

[b2g] Platform frameworks base - libmediaplayerservice

2014-04-01 Thread Jose Vidal
Hi everyone, I'm porting B2G for freescale device. I have problems with libmediaplayerservice (I have black screen). I'm using a Platform_frameworks_base with the next structure tree: Platform/frameworks/base/media with: -java -jni -libdrm -mca -tests However, There is in github repositor

Re: [b2g] black screen during boot

2014-04-01 Thread Jose Vidal
Hi everyone, During init process I have init: cannot find '/system/bin/surfaceflinger', disabling 'surfaceflinger' I solved: $ adb push backup-var_som_mx6q/system/bin/surfaceflinger /system/bin/ $ adb shell root@android:/ #chmod 775 system/bin/surfaceflinger Then, after reboot I get

Re: [b2g] black screen during boot

2014-04-01 Thread Jose Vidal
Hi everyone, I have a dependency with SurfaceFlinger, maybe this is a reason which I can't run Gaia. This is the currently "boot": http://pastebin.com/85buTm22 This is the currently "adb logcat" http://pastebin.com/nHed0azm This is the currently "top" command http://pastebin.com/XmwFrary I

Re: [b2g] black screen during boot

2014-04-01 Thread Jose Vidal
h > > report? > > It looks like b2g isn't running. > > Dave Hylands > > - Original Message - > > From: "Jose Vidal" > > To: mozilla-dev-...@lists.mozilla.org > > Sent: Tuesday, April 1, 2014 11:37:42 AM > > Subject: Re: [b

Re: [b2g] black screen during boot

2014-04-01 Thread Jose Vidal
Hi everyone, This is the boot on host via serial port connection: http://pastebin.com/h7T8XrKZ And, this is the log when I run "$ adb logcat" http://pastebin.com/s3AJWV27 I appreciate any kind of help. Thanks in advance Best regards, jvidalsm _

Re: [b2g] black screen during boot

2014-04-01 Thread Jose Vidal
layerservice.so > > > > What do you think? > > > > Best regards, > > > > > > jvidalsm > > > > El martes, 1 de abril de 2014 09:48:23 UTC-5, Jose Vidal escribió: > > > El martes, 1 de abril de 2014 09:38:09 UTC-5, Shawn Huang

Re: [b2g] black screen during boot

2014-04-01 Thread Jose Vidal
13:53 libmediaplayerservice.so What do you think? Best regards, jvidalsm El martes, 1 de abril de 2014 09:48:23 UTC-5, Jose Vidal escribió: > El martes, 1 de abril de 2014 09:38:09 UTC-5, Shawn Huang escribió: > > > On Tuesday, April 1, 2014 10:10:33 PM UTC+8, Jose

Re: [b2g] black screen during boot

2014-04-01 Thread Jose Vidal
El martes, 1 de abril de 2014 09:38:09 UTC-5, Shawn Huang escribió: > On Tuesday, April 1, 2014 10:10:33 PM UTC+8, Jose Vidal wrote: > > Can you check 'frameworks/base/libmediaplayerservice' or > frameworks/av/media/libmediaplayerservice' folder had been compiled? Yo

Re: [b2g] black screen during boot

2014-04-01 Thread Jose Vidal
quot;mediaserver"; caused by soinfo_link_image(linkE I hope for your help Thanks in advance Best regards, jvidalsm El martes, 1 de abril de 2014 08:37:21 UTC-5, Jose Vidal escribió: > Hi everyone, > > > After to porting boot.img, recovery.img, system.img and send gaia (./f

[b2g] black screen during boot

2014-04-01 Thread Jose Vidal
Hi everyone, After to porting boot.img, recovery.img, system.img and send gaia (./flash.sh gaia), I have black screen. I have connected the device via serial port and adb shell from my host and I can to access. I get the next log after to use ' $ adb logcat ' from my host http://pastebin.com/jEY

Re: [b2g] How to run Gaia in new device

2014-04-01 Thread Jose Vidal
b in your device? > > If do, may be you can try this, > > - Add this line in gecko/b2g/app/b2g.js > pref("layers.composer2d.enabled", false); > > - Rebuild/flash gecko and then try again. > > > -- > Kai-Zhen Li (Seinlin) > Mozilla Taiwan > > - O

[b2g] How to run Gaia in new device

2014-03-31 Thread Jose Vidal
Hi everyone, I have B2G in freescale device. I copied Gaia using $ ./flash gaia I restarted the device, but I have the black screen yet. How I can test the Gaia? What is the main process that start Gaia ? I hope for your help. Thanks in advance. Best regards, jvidalsm __

Re: [b2g] How to authorize adb service from boot

2014-03-31 Thread Jose Vidal
Hi Shawn, I modified init.rc, built a new boot.img y I flashed without problem. I modified init.rc temporally only to copy Gaia using adb. I don't know if will permanently. Best regards. jvidalsm El lunes, 31 de marzo de 2014 18:58:21 UTC-5, Shawn Huang escribió: > I have seen similar problem.

Re: [b2g] How to authorize adb service from boot

2014-03-31 Thread Jose Vidal
: > Hi Jose, > > - Original Message - > > From: "Jose Vidal" > > To: "Dave Hylands" > > Cc: mozilla-dev-...@lists.mozilla.org > > Sent: Monday, March 31, 2014 4:10:32 PM > > Subject: Re: [b2g] How to authorize adb service from

Re: [b2g] How to authorize adb service from boot

2014-03-31 Thread Jose Vidal
-05:00 Dave Hylands : > Hi Jose, > > That looks reasonable. I'm not sure why adb wouldn't be running. > > Does your /init.rc have commands to start it? > > Dave Hylands > > ----- Original Message - > > From: "Jose Vidal" > > To

Re: [b2g] How to authorize adb service from boot

2014-03-31 Thread Jose Vidal
tory above. > > Dave Hylands > > - Original Message - > > From: "Jose Vidal" > > To: mozilla-dev-...@lists.mozilla.org > > Sent: Monday, March 31, 2014 10:31:49 AM > > Subject: [b2g] How to authorize adb service from boot > > > > Hi ever

Re: [b2g] b2g is not running during init process

2014-03-31 Thread Jose Vidal
Hi Dave, Thanks for your response, So, I need a lo of patience and dedication. Let me check the references. Best regards. jvidalsm 2014-03-31 12:51 GMT-05:00 Dave Hylands : > Hi Jose, > > - Original Message - > > From: "Jose Vidal" > > To: &quo

[b2g] How to authorize adb service from boot

2014-03-31 Thread Jose Vidal
Hi everyone, I need to porting userdata.img I have a freescale connected to ubuntu host via serial port using minicom. >From my host, when I put $ adb shell I get like response: error: device unauthorized. Please check the confirmation dialog on your device. I need to access adb service for

[b2g] How to porting userdata.img to NAND flash

2014-03-31 Thread Jose Vidal
Hi everyone, I have the boot.img, system.img and recovery.img inside the freescale device using ubifs format. The NAND flash only has boot, android_root and recovery partition. How I can porting my userdata.img to NAND flash ? I hope for your help. Thanks in advance, Best regards. j

Re: [b2g] I have chmod 0755 /system/b2g/b2g error = -30

2014-03-31 Thread Jose Vidal
-p 128KiB -s 2048 -O 2048 device/variscite/var_som_mx6q/ubi/ubinize.ini Are my changes fine ? Thanks in advace Best regards. jvidalsm 2014-03-31 10:48 GMT-05:00 Thomas Zimmermann : > Hi Jose > > On 31.03.2014 17:13, Jose Vidal wrote: > > Hi Dave, > > > > This w

[b2g] How to send userdata.img to NAND flash

2014-03-31 Thread Jose Vidal
Hi everyone, I have the boot.img, system.img and recovery.img inside the freescale device using ubifs format. The NAND flash only has boot, android_root and recovery partition. How I can send my userdata.img to NAND flash ? I hope for your help. Thanks in advance, Best regards. jvidalsm

Re: [b2g] b2g is not running during init process

2014-03-31 Thread Jose Vidal
build process? Thanks in advance. Best regards, jvidalsm 2014-03-29 12:33 GMT-05:00 Jose Vidal : > Hi Dave, > > Thanks for your response. > > Let me try. > > Best regards. > > Jvidalsm > El mar 28, 2014 3:03 p.m., "Dave Hylands" escribió: &

Re: [b2g] I have chmod 0755 /system/b2g/b2g error = -30

2014-03-31 Thread Jose Vidal
Hi Dave, This was fixed. I'm using ubi0:system /system ubifs rw wait instead ubi0:system /system ubifs ro wait Thanks so much. Best regards jvidalsm 2014-03-29 12:34 GMT-05:00 Jose Vidal : > Hi Dave, > > Ok. > Let me try. > > Best regards. > > jvidals

Re: [b2g] I have chmod 0755 /system/b2g/b2g error = -30

2014-03-29 Thread Jose Vidal
t; Dave Hylands > > ----- Original Message - > > From: "Jose Vidal" > > To: "Dave Hylands" > > Cc: mozilla-dev-...@lists.mozilla.org > > Sent: Saturday, March 29, 2014 10:25:17 AM > > Subject: Re: [b2g] I have chmod 0755 /system/b2g/b2g error

Re: [b2g] b2g is not running during init process

2014-03-29 Thread Jose Vidal
Hi Dave, Thanks for your response. Let me try. Best regards. Jvidalsm El mar 28, 2014 3:03 p.m., "Dave Hylands" escribió: > Hi Jose, > > - Original Message ----- > > From: "Jose Vidal" > > To: mozilla-dev-...@lists.mozilla.org > > Sent:

Re: [b2g] I have chmod 0755 /system/b2g/b2g error = -30

2014-03-29 Thread Jose Vidal
only file system > errno 2 = ENOENT - No such file or directory > > - Original Message ----- > > From: "Jose Vidal" > > To: mozilla-dev-...@lists.mozilla.org > > Sent: Friday, March 28, 2014 11:28:38 AM > > Subject: [b2g] I have chmod 0755 /system/

[b2g] b2g is not running during init process

2014-03-28 Thread Jose Vidal
Hi everyone, I'm porting B2G on freescale device. I stopped the /system/bin/b2g.sh process during init. This process is running in infinite loop. When I try run the b2g.sh manually, I have the next error message: root@android:/ # ./system/bin/b2g.sh

[b2g] I have chmod 0755 /system/b2g/b2g error = -30

2014-03-28 Thread Jose Vidal
Hi everyone, I have the loglevel 8 in init.rc and I have the next error messages: init: processing action 0x351f0 (fs) ehci_fsl_bus_suspend begins, Host 1 ehci_fsl_bus_suspend ends, Host 1 UBIFS: mounted UBI device 0, volume 0, name "system" UBIFS: mounted read-only UBIFS: file sys

Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
Joes, > > 1. I patched to branch b2g-4.4.2_r1 of git:// > github.com/mozilla-b2g/platform_build > 2. Yes, need to make sure ubifs is trigger during build. > > > -- > Kai-Zhen Li (Seinlin) > Mozilla Taiwan > > - Original Message - > From: "Jose Vidal" >

Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
ild, > > https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e > > > -- > Kai-Zhen Li (Seinlin) > Mozilla Taiwan > > - Original Message - > From: "Jose Vidal" > To: dev-b2g@lists.mozilla.org > Sent: Friday, Mar

Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
t; You can set > > TARGET_USERIMAGES_USE_EXT4 := true > > in the file > > device//BoardConfig.mk > > to create ext4-based images. If you have eMMC-based storage, you also > need to run 'rmt_storage' on the device AFAIK. > > Best regards > Thomas > > On 28.03.2014 08:01, J

Re: [b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
e related flags in device config > 3. mkfs.ubifs (out/host/linux-x86/bin/mkfs.ubifs) > > How to patch platform/build, > > https://github.com/Seinlin/platform_build/commit/583929fee564268612ebb41b59aee5a3df0b157e > > > -- > Kai-Zhen Li (Seinlin) > Mozilla Taiwan > > -

[b2g] How to mount yaffs on NAND

2014-03-28 Thread Jose Vidal
Hi everyone, I have a iMX6Q processor whit NAND flash. The NAND uses ubifs like file system. According the source code, I have two methods to mount a system.img Used for NAND: device/fsl/imx6/etc/fstab_nand.freescale

Re: [b2g] Regarding firefox OS code download and build in galaxy-s2 target

2014-03-26 Thread Jose Vidal
Hi everyone, Also I have the same problem. When I download from the master, the download is not complete (error: Exited sync due to fetch errors ) When I try to use any branch (different to Master), the download is complete, but, I have problem during build (I think that is gecko/security/ or s

Re: [b2g] How to create boot.img

2014-03-20 Thread Jose Vidal
Hi Shawn, When I build my boot.img using my ramdisk and zImage (kernel) from original boot.img (I mean, from Android OS), I get the following information on serial terminal: NAND read: device 0 offset 0x100, size 0x60 6291456 bytes read: OK kernel @ 10808000 (5254328) r

Re: [b2g] How to create boot.img

2014-03-18 Thread Jose Vidal
CE := generic PRODUCT_NAME := generic_no_telephony Thanks in advance Regards, jvidalsm 2014-03-18 4:07 GMT-05:00 Thomas Zimmermann : > Hi Jose > > On 18.03.2014 09:56, Jose Vidal wrote: > > Hi Thomas, > > > > No, not that happens. > > > > I have actually: &g

Re: [b2g] How to create boot.img

2014-03-18 Thread Jose Vidal
Hi Jose, > > Good to see that you're making progress. :) I don't know in which parts > of init.rc we really depend, but it's there on the other platforms, so > it's probably necessary. > > On 18.03.2014 11:04, Jose Vidal wrote: > > Hi Thomas,

Re: [b2g] How to create boot.img

2014-03-18 Thread Jose Vidal
? Thanks in advance. Best regards. jvidalsm 2014-03-18 4:34 GMT-05:00 Thomas Zimmermann : > Hi Jose > > On 18.03.2014 10:20, Jose Vidal wrote: > > Hi Thomas, > > > > I have the next result: > > > > ~/B2G$ find . -name "*.mk" -type f | xargs grep -n b2

Re: [b2g] How to create boot.img

2014-03-18 Thread Jose Vidal
Zimmermann : > > the dependecies listed in gonk-misc/Android.mk are included. > > s/Android.mk/b2g.mk > > > > > > Best regards > > Thomas > > > > On 18.03.2014 08:39, Jose Vidal wrote: > >> Hi everyone, > >> > >> I have bu

[b2g] How to create boot.img

2014-03-18 Thread Jose Vidal
Hi everyone, I have builded the image files: boot.img system.img userdata.img recovery.img I'm using unmkbootimg to extract the files from boot.img. When I extract the files from my boot.img I don't have the same files like boot.img from Hamachi. My device is a fsl/arm2_6dq and the files insid

Re: [b2g] Firefox OS on freescale

2014-03-17 Thread Jose Vidal
Hi Thomas, I have the image files. Now, How I can modify the files inside /device/fsl/arm2_6dq ? Do you have any references that I can help me ? Thanks in advance. Regards. jvidalsm ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mo

Re: [b2g] Firefox OS on freescale

2014-03-17 Thread Jose Vidal
Hi Thomas, I patched the socket.h according Gabriele's help. About the clat, when I leave it out, I have the next message: = mkdir -p out/target/product/arm2_6dq/obj/DATA/sources.xml_intermediates python /home/jvidal/Projects/imx_fos100/B2G/gonk-misc/add-revision.py --b2g-path

Re: [b2g] Firefox OS on freescale

2014-03-17 Thread Jose Vidal
Hi again, I have this error: = target thumb C++: clatd_test <= external/android-clat/clatd_test.cpp external/android-clat/clatd_test.cpp: In function 'void do_translate_packet(const uint8_t*, size_t, uint8_t*, size_t*, char const*)': external/android-clat/clatd_test.cpp:424:

Re: [b2g] Firefox OS on freescale

2014-03-17 Thread Jose Vidal
Hi Thomas and Andreas, Thanks to both. Ok. Let me check all the dependencies. Regards. jvidalsm ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Firefox OS on freescale

2014-03-17 Thread Jose Vidal
Hi Thomas, Thanks for your help. The problem is solved: $ cp vendor/fsl/common/proprietary/libRS.so out/target/product/arm2_6dq/obj/lib/ I have a new problem: make: *** No rule to make target `out/target/product/arm2_6dq/obj/lib/libsurfaceflinger.so', needed by `out/target/product/arm2_6dq/o

Re: [b2g] Firefox OS on freescale

2014-03-16 Thread Jose Vidal
Hi everyone I'm porting FOS and I have the next message during build process: make: *** No rule to make target `out/target/product/arm2_6dq/obj/lib/libRS.so', needed by `out/target/product/arm2_6dq/obj/SHARED_LIBRARIES/libbcc.sha1_intermediates/libbcc.sha1.S'. Stop. I hope for your help. Be

[b2g] fatal error: asm/hwcap.h: No such file

2014-03-11 Thread Jose Vidal
Hi everyone, During the build, I have the next error message: ~/B2G/gecko/js/src/assembler/assembler/MacroAssemblerARM.cpp:50:23: fatal error: asm/hwcap.h: No such file or directory compilation terminated. Someone have any idea about how I can solve that ?. I hope for your help. Best regards

Re: [b2g] I get < waiting for device > and the 51-android.rules file is ok

2014-03-06 Thread Jose Vidal
Hi Shawn, I not wanted to leave this topic open. I needed re-compile the u-boot to active the fastboot mode. Now, I can the porting image files using `wich fastboot` flash boot boot.img Thanks for your help. Regards. jvidalsm ___ dev-b2g mailing list

[b2g] NAND partition for FirefoxOS

2014-03-06 Thread Jose Vidal
these 4 images inside it ? Thanks in advance. Regards. Jose Vidal. ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] I get < waiting for device > and the 51-android.rules file is ok

2014-02-14 Thread Jose Vidal
Hi, This is my response when I put adb server command: > $ adb server cannot bind 'tcp:5037' ADB server didn't ACK * could not start server * < Regards. jvidalsm ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/li

Re: [b2g] I get < waiting for device > and the 51-android.rules file is ok

2014-02-14 Thread Jose Vidal
Hi Shawn, It is exactly what I was thinking. Thanks for clearing my doubt. The Freescale device provides a fastboot mode to flashing Android . This is: sudo `which fastboot` flash boot boot.img Should I try using the above command to flash manually ? Then, when I put "fastboot devices", I get

Re: [b2g] I get < waiting for device > and the 51-android.rules file is ok

2014-02-14 Thread Jose Vidal
Hi, Yes, I'm going to flash to custom image. I'm trying to flash a freescale device. Any idea why the flash.sh file is not working? Regards. jvidalsm ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] I get < waiting for device > and the 51-android.rules file is ok

2014-02-14 Thread Jose Vidal
Hi, I used $ sudo service udev restart And I opened a new terminal, but I get the same. I'm editing the flash.sh file. When I use "nounlock" type, I mean: flash_fastboot nounlock $PROJECT , the device sometimes is rebooting, otherwise is turned off. And, when I use "unlock" type, I mean: flas

[b2g] I get < waiting for device > and the 51-android.rules file is ok

2014-02-14 Thread Jose Vidal
Hi everyone, I'm using Ubuntu 12.04 LTS 64 bit. When I put lsusb command and my device is connected, I get > $ lsusb Bus 001 Device 016: ID 18d1:4e42 Google Inc. < Then, I edit the 51-android.rules file: I get: ---> $ cat /etc/udev/rules.d/51-android.rules SUBSYSTEM=="usb", ATTR{id

[b2g] Unsupported device "device_id", can't flash

2014-02-13 Thread Jose Vidal
Hi everyone, I have the next image files: out/target/product/device_id/boot.img out/target/product/device_id/ramdisk.img out/target/product/device_id/ramdisk-recovery.img out/target/product/device_id/recovery.img out/target/product/device_id/system.img out/target/product/device_id/userdata.img N

Re: [b2g] Build failed - kernel and boot.img

2014-02-13 Thread Jose Vidal
Hi Dave, I have the kernel sources. Can you explain to me how do that, please ? I have generated the zImage inside the kernel_device_id directory using the toolchain. But, I don't know how add this results to device/manufature/device_id. And edit the AndroidBoard.mk and AndroidKernel.mk I hope

[b2g] Build failed - kernel and boot.img

2014-02-13 Thread Jose Vidal
Hi everyone, On build process (./build.sh -j1), I get the next error message: --> make: *** No rule to make target `out/target/product/id_device/kernel', needed by `out/target/product/id_device/boot.img'. Stop. real0m40.643s user0m31.428s sys 0m5.100s > Build failed! < <

  1   2   >