AnsweredAssumed Answered

sd card rootfs problem

Question asked by Y Z on Jul 23, 2017
Latest reply on Jul 23, 2017 by Pavel Chubakov

I have an LS1043ARDB board and I follow the "QorIQ-SDK-2.0-1703-IC-Rev0.pdf" to deploy it. I follow the sector 4.4.7.9.4 and  boot from sd card is ok, using kernel at itb file and SD card partition as rootfs.

 

=> setenv bootargs "root=/dev/mmcblk0p1 rw earlycon=uart8250,0x21c0500 console=ttyS0,115200"

=> ext2load mmc 0 a0000000 kernel.itb && bootm a0000000

 

Next I tried to use the NOR bank0 boot but let it use the SD card partition as rootfs. The NOR bank0 u-boot bootargs is link this

"bootargs=console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,0x21c0500,115200"

then I use command 

 

=> setenv bootargs "root=/dev/mmcblk0p1 rw earlycon=uart8250,0x21c0500 console=ttyS0,115200"

=> boot

 

but the kernel can't recognise SD card partition rootfs and print errors:

 

[ 4.253800] VFS: Mounted root (ext2 filesystem) on device 1:0.
Bad inittab entry at line 5
can't open /dev/si: No such file or directory
can't open /dev/~~: No such file or directory
can't open /dev/l0: No such file or directory
can't open /dev/l1: No such file or directory
can't open /dev/l2: No such file or directory
can't open /dev/l3: No such file or directory
can't open /dev/l4: No such file or directory
can't open /dev/l5: No such file or directory
can't open /dev/l6: No such file or directory
can't open /dev/z6: No such file or directory
can't open /dev/S0: No such file or directory
can't open /dev/AMA0: No such file or directory
can't open /dev/z6: No such file or directory
can't open /dev/S0: No such file or directory
can't open /dev/AMA0: No such file or directory
can't open /dev/z6: No such file or directory
can't open /dev/S0: No such file or directory

 

 

Is the kernel missing something or I can't do link this?

Outcomes