sd card rootfs problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sd card rootfs problem

538 Views
yankz
Contributor I

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?

0 Kudos
1 Reply

344 Views
Pavel
NXP Employee
NXP Employee

Try to use u-boot in NOR Flash from the same SDK as kernel and root file system.


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos