Hi, I'm porting android-2.3.3_r1a to the Gumstix Overo Fire COM module with Chestnut43 expansion board. I'm using android-2.3.3_r1a and android-rowboat-eclair-2.6.32 kernel branch.
I get the android logo boot animation, but I am unable to get a console to be able to type the logcat command, to debug the rest of the boot process. In my device's init.rc file, I have the following entries ## Daemon processes to be run by init. ## service ueventd /sbin/ueventd critical service console /system/bin/sh console The system just hangs like this for a very long time and doesn't boot into the home screen. I noticed this patch - disable console in user builds, which leads me to wonder if logcat output support is suppressed or removed for some reason in android-2.3.3? http://android.git.kernel.org/?p=platform/system/core.git;a=blobdiff;f=rootdir/init.rc;h=8227273af853be8a63f068f46a4b63ac15a8e7d1;hp=271727361d67dac1505462ba542d71a6113f100b;hb=b4d65399fde02280b718e3b5b5cb1464a885c4b0;hpb=146481b9468ff60214e41c93896259a7201df7cb Without a logcat console output, it is not possible for me to diagnose what's happening so if someone could tell me why the console doesn't work any more in android-2.3.3, it would be great. I've already got android-2.2.2_r1 running on the same hardware, with no problems, its just android-2.3.3_r1a for which the console isn't working. Elvis Dowson Texas Instruments X-Loader 1.5.0 (Apr 23 2011 - 19:38:37) OMAP3530-GP ES2.1 Board revision: 0 Reading boot sector Loading u-boot.bin from mmc U-Boot 2010.03 (Apr 24 2011 - 01:13:02) OMAP3530-GP ES2.1, CPU-OPP2 L3-165MHz Gumstix Overo board + LPDDR/NAND I2C: ready DRAM: 256 MB NAND: 256 MiB In: serial Out: serial Err: serial Die ID #5d3400020000000004031c131901900b Net: smc911x-0 Hit any key to stop autoboot: 0 mmc1 is available reading boot.scr ** Unable to read "boot.scr" from mmc 0:1 ** reading uImage 2634844 bytes read Booting from mmc ... ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-2.6.32 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2634780 Bytes = 2.5 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux..................................................................................................................................................................... done, booting the kernel. Linux version 2.6.32 (elvis@hercules) (gcc version 4.3.3 (GCC) ) #6 Mon May 2 22:26:58 GST 2011 CPU: ARMv7 Processor [411fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache Machine: Gumstix Overo Memory policy: ECC disabled, Data cache writeback OMAP3430/3530 ES2.1 (l2cache iva sgx neon isp ) SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000 Reserving 12582912 bytes SDRAM for VRAM Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024 Kernel command line: console=ttyS2,115200n8 androidboot.console=ttyS2 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait vram=12M omapfb.vram=0:4M omapfb.mode=480x272MR-16@60 omapdss.def_disp=lcd43 omapfb.debug=y omapdss.debug=y init=/init PID hash table entries: 1024 (order: 0, 4096 bytes) Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 128MB 128MB = 256MB total Memory: 241664KB available (4612K code, 800K data, 168K init, 0K highmem) Hierarchical RCU implementation. NR_IRQS:402 Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz Reprogramming SDRC clock to 332000000 Hz GPMC revision 5.0 IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts Total of 96 interrupts on 1 active controller OMAP GPIO hardware version 2.5 OMAP clockevent source: GPTIMER1 at 32768 Hz Console: colour dummy device 80x30 Calibrating delay loop... 499.92 BogoMIPS (lpj=1949696) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok regulator: core version 0.5 NET: Registered protocol family 16 Found NAND on CS0 Registering NAND on CS0 OMAP DMA hardware revision 4.0 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz twl4030: PIH (irq 7) chaining IRQs 368..375 twl4030: power (irq 373) chaining IRQs 376..383 twl4030: gpio (irq 368) chaining IRQs 384..401 regulator: VUSB1V5: 1500 mV normal standby regulator: VUSB1V8: 1800 mV normal standby regulator: VUSB3V1: 3100 mV normal standby twl4030_usb twl4030_usb: Initialized TWL4030 USB module regulator: VMMC1: 1850 <--> 3150 mV normal standby regulator: VDAC: 1800 mV normal standby regulator: VPLL2: 1800 mV normal standby i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz cfg80211: Using static regulatory domain info cfg80211: Regulatory domain: 00 (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2000 mBm) (2457000 KHz - 2482000 KHz @ 20000 KHz), (600 mBi, 2000 mBm) (2474000 KHz - 2494000 KHz @ 20000 KHz), (600 mBi, 2000 mBm) (5170000 KHz - 5250000 KHz @ 40000 KHz), (600 mBi, 2000 mBm) (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 2000 mBm) cfg80211: Calling CRDA to update world regulatory domain Switching to clocksource 32k_counter musb_hdrc: version 6.0, musb-dma, host, debug=0 musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92 musb_hdrc musb_hdrc: MUSB HDRC host driver musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: MUSB HDRC host driver usb usb1: Manufacturer: Linux 2.6.32 musb-hcd usb usb1: SerialNumber: musb_hdrc hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 3, 32768 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) ashmem: initialized VFS: Disk quotas dquot_6.5.2 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. yaffs May 2 2011 22:26:54 Installing. msgmni has been set to 472 alg: No test for cipher_null (cipher_null-generic) alg: No test for ecb(cipher_null) (ecb-cipher_null) alg: No test for digest_null (digest_null-generic) alg: No test for compress_null (compress_null-generic) alg: No test for fcrypt (fcrypt-generic) alg: No test for stdrng (krng) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) OMAP DSS rev 2.0 OMAP DISPC rev 3.0 OMAP VENC rev 2 Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654 serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654 serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654 console [ttyS2] enabled brd: module loaded loop: module loaded omap2-nand driver initializing NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit) cmdlinepart partition parsing not available Creating 5 MTD partitions on "omap2-nand": 0x000000000000-0x000000080000 : "xloader" 0x000000080000-0x000000240000 : "uboot" 0x000000240000-0x000000280000 : "uboot environment" 0x000000280000-0x000000680000 : "linux" 0x000000680000-0x000010000000 : "rootfs" smsc911x: Driver version 2008-10-21. smsc911x-mdio: probed eth0: attached PHY driver [SMSC LAN8700] (mii_bus:phy_addr=0:01, irq=-1) net eth0: MAC Address: 00:15:c9:28:ca:1d smsc911x: Driver version 2008-10-21. libertas_sdio: Libertas SDIO driver libertas_sdio: Copyright Pierre Ossman usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-omap ehci-omap.0: OMAP-EHCI Host Controller ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2 ehci-omap ehci-omap.0: irq 77, io mem 0x48064800 ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: OMAP-EHCI Host Controller usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd usb usb2: SerialNumber: ehci-omap.0 hub 2-0:1.0: USB hub found hub 2-0:1.0: 3 ports detected Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma) android init f_adb init android_register_function adb f_mass_storage init android_register_function usb_mass_storage ads7846 spi1.0: touchscreen, irq 274 input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/ input/input0 input: twl4030_pwrbutton as /devices/platform/i2c_omap.1/i2c-1/1-0049/ twl4030_pwrbutton/input/input1 using rtc device, twl_rtc, for alarms twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0 twl_rtc twl_rtc: Power up reset detected. i2c /dev entries driver OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec logger: created 64K log 'log_main' logger: created 256K log 'log_events' logger: created 64K log 'log_radio' logger: created 64K log 'log_system' Advanced Linux Sound Architecture Driver Version 1.0.21. No device for DAI omap-mcbsp-dai-0 No device for DAI omap-mcbsp-dai-1 No device for DAI omap-mcbsp-dai-2 No device for DAI omap-mcbsp-dai-3 No device for DAI omap-mcbsp-dai-4 overo SoC init asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok ALSA device list: #0: overo (twl4030) TCP cubic registered NET: Registered protocol family 17 NET: Registered protocol family 15 lib80211: common routines for IEEE802.11 drivers Power Management for TI OMAP3. SmartReflex driver initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1 omapfb omapfb: cannot parse default modes Console: switching to colour frame buffer device 60x34 omapdss DPI: Could not find exact pixel clock. Requested 9200 kHz, got 9094 kHz mmc0: host does not support reading read-only switch. assuming write- enable. mmc0: new SDHC card at address e624 regulator_init_complete: incomplete constraints, leaving VDVI on mmcblk0: mmc0:e624 SU04G 3.69 GiB mmcblk0: regulator_init_complete: incomplete constraints, leaving VDAC on twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:15 UTC (946684815) p1 p2 kjournald starting. Commit interval 5 seconds EXT3-fs (mmcblk0p2): using internal journal EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode VFS: Mounted root (ext3 filesystem) on device 179:2. Freeing init memory: 168K mmc1: new SDIO card at address 0001 libertas_sdio mmc1:0001:1: firmware: requesting sd8686_helper.bin init: Timed out waiting for /dev/.coldboot_done init: command 'loglevel' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'export' r=0 init: command 'symlink' r=0 init: command 'symlink' r=0 init: command 'symlink' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mount' r=-1 init: command 'mkdir' r=0 init: command 'symlink' r=0 init: command 'mkdir' r=-17 init: command 'mkdir' r=-17 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mount' r=0 init: command 'mkdir' r=0 init: command 'mount' r=0 init: command 'write' r=0 init: command 'write' r=-2 init: command 'write' r=0 init: command 'write' r=-2 init: command 'write' r=-2 init: command 'write' r=0 init: command 'write' r=0 init: command 'mkdir' r=0 init: command 'mount' r=-1 init: command 'chown' r=0 init: command 'chown' r=-2 init: command 'chmod' r=-2 init: command 'write' r=0 init: command 'mkdir' r=0 init: command 'chown' r=-2 init: command 'chmod' r=-2 init: command 'write' r=0 init: command 'mkdir' r=0 init: command 'chown' r=-2 init: command 'chmod' r=-2 init: command 'write' r=0 init: command 'chmod' r=0 init: command 'chmod' r=0 init: command 'chmod' r=0 init: command 'chmod' r=0 init: command 'chmod' r=0 init: command 'chmod' r=-2 init: command 'chmod' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'mkdir' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'copy' r=-1 init: command 'chown' r=-2 init: command 'chmod' r=-2 init: command 'copy' r=-1 init: command 'chown' r=-2 init: command 'chmod' r=-2 init: command 'write' r=-2 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'chown' r=-2 init: command 'chmod' r=-2 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=-17 init: command 'chmod' r=0 init: command 'chmod' r=0 init: command 'chown' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'chmod' r=0 init: command 'chmod' r=-2 init: command 'chown' r=0 init: command 'chown' r=-2 init: command 'mkdir' r=0 init: command 'chmod' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'mkdir' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'mkdir' r=0 init: command 'mkdir' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: command 'chmod' r=-2 init: processing action 0x2a128 (property_service_init) init: Created socket '/dev/socket/property_service' with mode '666', user '0', group '0' init: command 'property_service_init' r=0 init: processing action 0x2a170 (signal_init) init: command 'signal_init' r=0 init: processing action 0x2a1b8 (check_startup) init: command 'check_startup' r=0 init: processing action 0x28718 (boot) init: command 'ifup' r=0 init: command 'hostname' r=0 init: command 'domainname' r=0 init: command 'setrlimit' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: command 'write' r=0 init: command 'write' r=0 init: command 'write' r=0 init: command 'write' r=0 init: command 'write' r=0 init: command 'write' r=0 init: command 'write' r=0 init: command 'chown' r=-2 init: command 'chown' r=-2 init: command 'chown' r=-2 init: command 'chown' r=-2 init: command 'chown' r=-2 init: command 'chown' r=0 init: command 'chown' r=0 init: command 'chown' r=0 init: command 'chmod' r=0 init: command 'chmod' r=0 init: command 'chmod' r=0 init: command 'chown' r=-2 init: command 'chown' r=-2 init: command 'chown' r=-2 init: command 'chown' r=-2 init: command 'chown' r=0 init: command 'chown' r=0 init: command 'chown' r=0 init: command 'chown' r=0 init: command 'chown' r=0 init: command 'chown' r=0 init: command 'chown' r=0 init: command 'setprop' r=0 init: command 'setprop' r=0 init: starting 'ueventd' init: service 'console' requires console init: starting 'servicemanager' init: starting 'vold' init: Created socket '/dev/socket/vold' with mode '660', user '0', group '1009' init: starting 'netd' init: Created socket '/dev/socket/netd' with mode '660', user '0', group '1000' init: starting 'debuggerd' init: starting 'zygote' init: starting 'media' init: starting 'installd' init: starting 'keystore' init: command 'class_start' r=0 init: Created socket '/dev/socket/zygote' with mode '666', user '0', group '0' init: processing action 0x2a200 (queue_propety_triggers) init: command 'queue_propety_triggers' r=0 init: processing action 0x29300 (property:persist.service.adb.enable=1) init: starting 'adbd' init: command 'start' r=0 init: Created socket '/dev/socket/installd' with mode '600', user '1000', group '1000' init: Created socket '/dev/socket/keystore' with mode '666', user '0', group '0' init: waitpid returned pid 584, status = 0000000b init: process 'servicemanager', pid 584 exited init: process 'servicemanager' killing any children in process group init: service 'zygote' is being killed init: starting 'zygote' init: service 'media' is being killed init: starting 'media' init: Created socket '/dev/socket/zygote' with mode '666', user '0', group '0' init: waitpid returned pid 618, status = 0000000f init: untracked pid 618 exited init: waitpid returned pid 620, status = 0000000f init: untracked pid 620 exited libertas_sdio mmc1:0001:1: firmware: requesting sd8686.bin init: waitpid returned pid 638, status = 00000100 init: process 'keystore', pid 638 exited init: process 'keystore' killing any children in process group binder: 685:685 refcount change on invalid ref 0 binder: 685:685 refcount change on invalid ref 0 binder: 685:685 transaction failed 29189, size 124-4 libertas: 00:19:88:10:f9:9c, fw 9.70.3p24, cap 0x00000303 libertas: wlan0: Marvell WLAN 802.11 adapter init: starting 'servicemanager' init: starting 'keystore' init: Created socket '/dev/socket/keystore' with mode '666', user '0', group '0' warning: `zygote' uses 32-bit capabilities (legacy support in use) init: starting 'bootanim' (The system doesn't proceed any further and on the LCD display, the android logo animation keeps on playing forever, without booting into the home screen.) -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting