Hi Alan,

I'm actaully trying to replace the application Launcher with my custom
HOME application. With the following setting in the manifest file of
my application: <category android:name =
"android.intent.category.HOME">, I did get the option to select
between Launcher and my custom application.

Later I went ahead to remove the application Launcher completely and
retain only my custom applcation. I modifed the core.mk file removed
the entry "Launcher" in order to exlcude it from the build. Since that
build, I have been encountering the problem with the boot which I have
stated earlier...

Could you please help me understand the dependecy between, removing
Launcher and audio codec chip being not detected correctly ?? And is
there some more that application Launcher does other than just dealing
with the home screen kind of UI.. ??

Finally, Am I taking a wrong way of replacing the Launcher ???

Thanks a lot.

Vinay


On Oct 1, 3:26 pm, Alan Carvalho de Assis <acas...@gmail.com> wrote:
> Hi Vinay,
>
> On 10/1/10, Vinay <vinayku...@gmail.com> wrote:
>
>
>
>
>
> > Hi All,
>
> > I'm trying to port android to iMx51. The boot process hangs at the
> > splash screen. A portion of the log is here as below. Kindly let me
> > know if any of have any idea about what is going wrong.. Thanks for
> > all suggestions..
>
> > A portion of log files:
>
> > (Initial some lines skipped)
>
> > android init
> > android_probe pdata: c044d0dc
> > android_bind
> > mass_storage_function_add
> > android_usb gadget: Number of LUNs=3
> > adb_function_add
> > android_usb gadget: android_usb ready
> > Suspend udc for OTG auto detect
> > udc run
> > USB Gadget resumed
> > fsl-usb2-udc: bind to driver android_usb
> > input: mxc_ts as /devices/virtual/input/input1
> > mxc input touchscreen loaded
> > pmic_rtc pmic_rtc.1: setting system clock to 1970-01-02 14:05:31 UTC
> > (137131)
> > Freeing init memory: 152K
> > usb 1-1.2: configuration #1 chosen from 1 choice
> > input: Dell Dell USB Keyboard as /devices/platform/fsl-ehci.0/
> > usb1/1-1/1-1.2/1-1.2:1.0/input/input2
> > generic-usb 0003:413C:2003.0001: input: USB HID v1.10 Keyboard [Dell
> > Dell USB Keyboard] on usb-fsl-ehci.0-1.2/input0
> > init: cannot open '/initlogo.rle'
> > kjournald starting.  Commit interval 5 seconds
> > EXT3 FS on mmcblk0p2, internal journal
> > EXT3-fs: mounted filesystem with ordered data mode.
> > EXT3-fs warning: maximal mount count reached, running e2fsck is
> > recommended
> > kjournald starting.  Commit interval 5 seconds
> > EXT3 FS on mmcblk0p5, internal journal
> > EXT3-fs: recovery complete.
> > EXT3-fs: mounted filesystem with ordered data mode.
> > kjournald starting.  Commit interval 5 seconds
> > EXT3-fs warning: maximal mount count reached, running e2fsck is
> > recommended
> > EXT3 FS on mmcblk0p6, internal journal
> > EXT3-fs: recovery complete.
> > EXT3-fs: mounted filesystem with ordered data mode.
> > init: cannot find '/system/etc/install-recovery.sh', disabling
> > 'flash_recovery'
> > enabling adb
> > adb_open
> > # gpu_z430: module license 'Proprietary' taints kernel.
> > warning: `rild' uses 32-bit capabilities (legacy support in use)
> > usb 1-1.6: new high speed USB device using fsl-ehci and address 4
> > usb 1-1.6: configuration #1 chosen from 1 choice
> > scsi0 : SCSI emulation for USB Mass Storage devices
> > scsi 0:0:0:0: Direct-Access     USB TO I DE/SATA Device   0041 PQ: 0
> > ANSI: 0
> > FAT: unable to read boot sector
> > sd 0:0:0:0: [sda] Attached SCSI disk
> > pmem: request for physical address of pmem region from process 1994.
> > Not all allocated memory blocks were freed. Doing it now.
> > Freeing list entry #0
> > Freeing list entry #1
> > Freeing list entry #2
> > Freeing list entry #3
> > Freeing list entry #4
> > Freeing list entry #7
> > Freeing list entry #8
> > Freeing list entry #9
> > Freeing list entry #147
> > request_suspend_state: wakeup (3->0) at 64064825004 (1970-01-02
> > 14:06:32.281579093 UTC)
> > i2c-adapter i2c-1: Data not transmitted
> > sgtl5000_hw_read: read reg error : Reg 0x0e
> > i2c-adapter i2c-1: Data not transmitted
> > sgtl5000_write: write reg error : Reg 0x0e = 0x000c
> > i2c-adapter i2c-1: Data not transmitted
> > sgtl5000_write: write reg error : Reg 0x02 = 0x0020
> > i2c-adapter i2c-1: Data not transmitted
> > sgtl5000_write: write reg error : Reg 0x06 = 0x0130
>
> Look here, your audio codec chip was not detected correctly.
>
> Android will not start up until you fix the audio chip and get it working.
>
> We also realized the same issue in our iMX51 board, just fix audio and
> Android will go on.
>
>
>
>
>
> > init: untracked pid 1946 exited
> > pmem: request for physical address of pmem region from process 2045.
> > binder: release proc 2039, transaction 648, not freed
> > Not all allocated memory blocks were freed. Doing it now.
> > Freeing list entry #0
> > Freeing list entry #1
> > Freeing list entry #2
> > Freeing list entry #3
> > Freeing list entry #4
> > Freeing list entry #7
> > Freeing list entry #8
> > Freeing list entry #9
> > request_suspend_state: wakeup (0->0) at 73082715878 (1970-01-02
> > 14:06:41.299472092 UTC)
> > i2c-adapter i2c-1: Data not transmitted
> > sgtl5000_hw_read: read reg error : Reg 0x0e
> > i2c-adapter i2c-1: Data not transmitted
> > sgtl5000_write: write reg error : Reg 0x0e = 0x000c
> > i2c-adapter i2c-1: Data not transmitted
> > sgtl5000_write: write reg error : Reg 0x02 = 0x0020
> > i2c-adapter i2c-1: Data not transmitted
> > Freeing list entry #62
> > sgtl5000_write: write reg error : Reg 0x06 = 0x0130
> > init: untracked pid 2033 exited
> > pmem: request for physical address of pmem region from process 2096.
> > Not all allocated memory blocks were freed. Doing it now.
> > Freeing list entry #0
> > Freeing list entry #1
> > Freeing list entry #2
> > Freeing list entry #3
> > Freeing list entry #4
> > Freeing list entry #7
> > Freeing list entry #8
> > Freeing list entry #9
> > Freeing list entry #50
> > (This repeats…………..) The spalsh screen blinks and boot does not
> > proceed.
>
> I think you can see it trying to communicate with SGTL5000 over I2C-1
> bus, make sure your audio codec is really on I2C-1 bus. Otherwise
> change the config to right bus.
>
> Best Regards,
>
> Alan- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to