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)
Hi oussama
seems you missed to add kernel parameter "root" (indicates the
location of the root file system). Please check attached
Android_User's_Guide.pdf 5.4.2 Kernel command line from
also you may wish to try more new android 4.4.3
MX6_KK443_200_ANDROID_SOURCE_BSP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi igorpadykov
I have downloaded the KK4.4.3 BSP.
but where I can fetch the documents for reference, something like IMX6_KK443_200_ANDROID_DOCS
Thanks
Bateman
Hi bateman
<https://www.freescale.com/webapp/Download?colCode=IMX6_KK443_200_ANDROID_DO
CS&location=null&fasp=1&WT_TYPE=Supporting%20Information&WT_VENDOR=FREESCALE
&WT_FILE_FORMAT=gz&WT_ASSET=Documentation&fileExt=.gz>
IMX6_KK443_200_ANDROID_DOCS
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q
<http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&nodeI
d=018rH3ZrDRB24A&fpsp=1&tab=Documentation_Tab>
&nodeId=018rH3ZrDRB24A&fpsp=1&tab=Documentation_Tab
Best regards
igor