AnsweredAssumed Answered

booti fails to initialize and run android

Question asked by oussama on Feb 17, 2015
Latest reply on Mar 11, 2015 by bateman cai

I've using android 4.4.2/imx6. I've installed boot.img and system.img in sdX1 and sdX5. I do not using the recovery.img.

I've set the bootargs to  'console=ttymxc0,115200n8 earlyprintk vmalloc=400M  video=mxcfb0:dev=ldb,LDB-AM-800480STMQW-TA1,if=RGB666 ldb=sin0 init=/init androidboot.console=ttymxc0 androidboot.hardware=freescale'

Then I tried to boot with booti mmc0

The kernel boots successfully as you can see here:

 

U-Boot > booti mmc0

booti mmc0

kernel   @ 10808000 (4047468)

ramdisk  @ 11800000 (499651)

kernel cmdline:

  use boot.img command line:

  console=ttymxc0,115200n8 earlyprintk vmalloc=400M  video=mxcfb0:dev=ldb,LDB-AM-800480STMQW-TA1,if=RGB666 ldb=sin0 init=/init androidboot.console=ttymxc0 androidboot.hardware=freescale

No gpc device node -9, force to ldo-enable.

Power: using LDO mode!

Using machid 0x1308 from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


But then, it fails to init the system

 

[    7.395345] VFS: Cannot open root device "(null)" or unknown-block(0,0)

[    7.401964] Please append a correct "root=" boot option; here are the available partitions:

[    7.410351] 1f00           32768 mtdblock0  (driver?)

[    7.415439] 1f01          524288 mtdblock1  (driver?)

[    7.420511] b300         1931264 mmcblk0  driver: mmcblk

[    7.425866]   b301            9455 mmcblk0p1 00000000-0000-0000-0000-000000000000

[    7.433385]   b302            9455 mmcblk0p2 00000000-0000-0000-0000-000000000000

[    7.442918]   b303               1 mmcblk0p3 00000000-0000-0000-0000-000000000000

[    7.452506]   b304          798555 mmcblk0p4 00000000-0000-0000-0000-000000000000

[    7.460022]   b305          525697 mmcblk0p5 00000000-0000-0000-0000-000000000000

[    7.469559]   b306          525697 mmcblk0p6 00000000-0000-0000-0000-000000000000

[    7.479088]   b307            9454 mmcblk0p7 00000000-0000-0000-0000-000000000000

[    7.488619]   103:00000       9454 mmcblk0p8 00000000-0000-0000-0000-000000000000

[    7.498153] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Outcomes