<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:10px"><div id="yui_3_16_0_ym19_1_1480512064013_29463"><br></div><div id="yui_3_16_0_ym19_1_1480512064013_29463"><font size="3"> </font><font face="Courier New, courier, monaco, monospace, sans-serif" size="2">Hi,</font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_29735"> I am trying to boot Linux kernel version 4.4.16 on custom ARM based development platform.</font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_29736">I want to separate rootfs and kernel Image so that the size of my uImage is small. I followed the following steps.</font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"><br></font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_29737">1. Partitioned the SD card. It has 2 partition. First partition is formatted as vfat partition and has uImage (without rootfs). Second partition is formatted as ext3 and has the rootfs.</font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_35432">2. I then changed the U-Boot (version 2011.05) bootargs</font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_35443"> Kernel command line: console=ttyS0,115200 noinitrd rw rootfstype=ext3 root=/dev/mmcblk0p2 rootwait mem=512M coherent_pool=4M no_console_suspend resume=/dev/mtdblock3.<br></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_38624"><br></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_35536">However, while booting I get the following error </font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"><br></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_35547"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_35548">Failed to create /dev/root: -2</font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_35549"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_35550">VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -2</font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_35549"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"><br></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_35549"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_35598">I have also attached log for reference. </font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_35549"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2" id="yui_3_16_0_ym19_1_1480512064013_35597">Can anyone please point out what I may be missing?</font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_35549"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"><br></font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_35549"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2">Regards,</font></div><div dir="ltr" id="yui_3_16_0_ym19_1_1480512064013_35549"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2">Amit.</font></div><div id="yui_3_16_0_ym19_1_1480512064013_29463" dir="ltr"><font face="Courier New, courier, monaco, monospace, sans-serif" size="2"><br></font></div></div></body></html>