[android-porting] BGRA format support

2010-05-07 Thread manjunath
Hi, My hardware expect the pixel format for 32-bit to of BGRA instead of RGBA which android is currently supporting. Can anyone help me how and where to change the code for BGRA pixel format. I changed the format in SurfaceFlinger::createNormalSurfaceLocked function in SurfaceFlinger.cpp. i.e.

[android-porting] Booting Android from NAND

2010-05-07 Thread hadhami riahi
Hello, I'm porting Android on imx51 target.I was able to boot it from TFTP/ NFS servers and from a SD card but I'm facing problems while trying to boot from internal NAND. I've created a jffs2 for the file system My u-boot commands are: bootcmd_nand=nand unlock;nand read 0x9080 0x70 0x23280

Re: [android-porting] Booting Android from NAND

2010-05-07 Thread Ashwin Bihari
Run "logcat" to see what's happening with Android which is causing this..without that information, it's hard to debug.. Regards -- Ashwin On Fri, May 7, 2010 at 6:20 AM, hadhami riahi wrote: > Hello, > I'm porting Android on imx51 target.I was able to boot it from TFTP/ > NFS servers and from

Re: [android-porting] Booting Android from NAND

2010-05-07 Thread hadhami riahi
When I boot from TFTP/NFS servers,I can access the Android shell! Someone know why I can't when booting from nand? and is there another way to acces the android shell? 2010/5/7 hadhami riahi > Hi Ashwin, > Thanks for reply. > I tried to acces Android's shell through adb : > > export ADBHOST=192.

Re: [android-porting] Booting Android from NAND

2010-05-07 Thread hadhami riahi
Sorry for previous post,in fact we can acces android 's shell via serial port. the log is: D/AndroidRuntime( 1823): >> AndroidRuntime START << D/AndroidRuntime( 1823): CheckJNI is ON D/dalvikvm( 1823): DexOpt: incorrect opt magic number (0xff ff ff ff) D/dalvikvm( 1823): Sta

[android-porting] porting liboverlay

2010-05-07 Thread Sambhav
Hi, By default overlay module at *hardware\libhardware\modules\overlay* is a skeleton implementation. I am calling the V4L2 driver calls from these functions. I have build the module - liboverlay.so Where should I indicate that Overlay calls made from * frameworks/base/libs/ui/Overlay.cpp* to use

[android-porting] Re: Booting Android from NAND

2010-05-07 Thread Srikant
If you've not flashed ramdisk.img or flashed wrongly, you'll get these kind of messages. - Srikant On May 7, 3:20 pm, hadhami riahi wrote: > Hello, > I'm porting Android on imx51 target.I was able to boot it from TFTP/ > NFS servers and from a SD card but I'm facing problems while trying to > bo

Re: [android-porting] Guide on adding WiFi drivers to Android

2010-05-07 Thread osama gamal
Very helpful, I will need it soon .. Thanks On Thu, May 6, 2010 at 2:09 PM, Nicu Pavel wrote: > I've written a how-to guide for adding WiFi driver to android and > configuring the necessary software: > > http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html > > Regards, > N

Re: [android-porting] Re: Booting Android from NAND

2010-05-07 Thread Alan Carvalho de Assis
Hi, On 5/7/10, Srikant wrote: > If you've not flashed ramdisk.img or flashed wrongly, you'll get these > kind of messages. > If you want a happy and unsafe Android you can remove ramdisk and file system read only protection: http://www.imxdev.org/wiki/index.php?title=All_Board_Android_Without_Ra

[android-porting] Re: Guide on adding WiFi drivers to Android

2010-05-07 Thread dimitr...@android.com
Very good and useful guide. Just want to add to wpa_supplicant socket control. Despite you can use it as you mentioned the idea was to use special socket pair implementation like this: wpa_supplicant.conf: ctrl_interface=wlan0 init.xxx.rc: service wpa_supplicant /system/bin/wpa_supplicant \

[android-porting] sh4 undefined reference to `__fpscr_values'

2010-05-07 Thread Steven L. MILLER
Hi, We are porting the Eclipse release to an sh4 based product, and we need to port directFB to the platform to enable 2D acceleration. I'm having some problems getting the main lib to link with the error: undefined reference to `__fpscr_values' The symbol does show up in the symbol table of