Error trying Android embinux.

Using C3
Tried the rowboat version but it never would boot, switched to the
prebuilt embinux version which falls over with a Kernel Panic. Tried
the embinux google board but no one appears to monitor this any more.

Boot info and response follows.
Any suggestions would be very helpful. thanks.

Starting kernel ...

Uncompressing
Linux.............................................................
.............................................................. done,
booting the
kernel.
Linux version 2.6.29-omap1-07182-gc3b6e50 (rupesh@rupesh-desktop) (gcc
version 4
.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #1 Fri Jun 19
12:39:22 IST 2009

CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
OMAP3430 ES3.0
SRAM: Mapped pa 0x40200000 to va 0xd7000000 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 noinitrd root=dev/
mmcblk0p2 video=om
apfb.mode=dvi:1280x720MR-24@50 init=/init rootfstype=ext3 rw
rootdelay=1 nohz=of
f androidboot.console=ttyS2
Unknown boot option `androidboot.console=ttyS2': ignoring
Clocking rate (Crystal/DPLL/ARM core): 26.0/332/500 MHz
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
PID hash table entries: 1024 (order: 10, 4096 bytes)
OMAP clockevent source: GPTIMER12 at 32768 Hz
Console: colour dummy device 80x30
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: 243072KB available (3496K code, 687K data, 140K init)
Calibrating delay loop... 482.11 BogoMIPS (lpj=1884160)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 520 bytes
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
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
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: VMMC1: 1850 <--> 3150 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VUSB1V5: 1500 <--> 0 mV normal standby
regulator: VUSB1V8: 1800 <--> 0 mV normal standby
regulator: VUSB3V1: 3100 <--> 0 mV normal standby
regulator: VPLL2: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV normal standby
i2c_omap i2c_omap.3: bus 3 rev3.12 at 100 kHz
SCSI subsystem initialized
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92
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
NET: Registered protocol family 1
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) © 2001-2006 Red Hat, Inc.
msgmni has been set to 475
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
i2c /dev entries driver
Driver 'sd' needs updating - please use bus_type methods
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB
1,8V 16-bi
t)
cmdlinepart partition parsing not available
Creating 5 MTD partitions on "omap2-nand":
0x000000000000-0x000000080000 : "X-Loader"
0x000000080000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x000000680000 : "Kernel"
0x000000680000-0x000010000000 : "File System"
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 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
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: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.29-omap1-07182-gc3b6e50 ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
android init
android_bind
mass_storage_function_add
android_usb gadget: Number of LUNs=1
adb_function_add
android_usb gadget: android_usb ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
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: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.29-omap1-07182-gc3b6e50 musb-hcd
usb usb2: SerialNumber: musb_hdrc
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
twl4030_rtc twl4030_rtc: Power up reset detected.
twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.
mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev
1
Console: switching to colour frame buffer device 80x30
clock: clksel_round_rate_div: dpll4_m4_ck target_rate 36000000
clock: new_div = 12, new_rate = 36000000
omapdss: Could not find exact pixel clock. Requested 23500 kHz, got
24000 kHz
twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:00
UTC (946684
800)
Waiting 1sec before mounting root device...
mmc0: new high speed SD card at address 5fcd
mmcblk0: mmc0:5fcd SD02G 1.83 GiB
mmcblk0: p1 p2
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "dev/mmcblk0p2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
1f00 512 mtdblock0 (driver?)
1f01 1920 mtdblock1 (driver?)
1f02 128 mtdblock2 (driver?)
1f03 4096 mtdblock3 (driver?)
1f04 255488 mtdblock4 (driver?)
b300 1921024 mmcblk0 driver: mmcblk
  b301 409626 mmcblk0p1
  b302 1510110 mmcblk0p2
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(2,0)

Hello,

Thanks Robert.
Tried rootwait and now have differnt Kernel Panic. Any suggestions
please as below.
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SD card at address 5fcd
mmcblk0: mmc0:5fcd SD02G 1.83 GiB
mmcblk0:<7>twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
p1 p2
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 140K
Warning: unable to open an initial console.
Failed to execute /init. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option
to kernel.
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SD card at address 5fcd
mmcblk0: mmc0:5fcd SD02G 1.83 GiB
mmcblk0:<7>twl4030_usb twl4030_usb: HW_CONDITIONS 0x50/80; link 1
p1 p2
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 140K
Warning: unable to open an initial console.
Failed to execute /init. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option
to kernel.

Looks good to me... (1) Is there an /init file on your sd card's ext3
partition? Otherwise you'll have to bug the embinux folks why the
init=/init isn't working.

1: http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board#Booting_Android_on_board_from_MMC.2FSD

Regards,

Thanks.
Yes there is an init file in partition2 ext3 in the folder /ANDROID-
CRM-42d40bcf-19062009/RFS
regards
Graham.