Hello,
I am using imx6sx to develop application with customized board. The Linux kernel was downloaded via TFTP and it was started. It should mount the rootfs via NFS. The bootargs was 'console=ttymxc0,115200 root=/dev/nfs rw nfsroot=192.168.1.3:/home/zhb/arm/linux/nfs/rootfs-futura,v3 ip=192.168.1.100:::255.255.255.0::eth0:off'. When the kernel outputed the following:
[ 5.816696] IP-Config: Complete:
[ 5.819990] device=eth0, hwaddr=00:04:9f:06:6a:4d, ipaddr=192.168.1.100, mask=255.255.255.0, gw=255.255.255.255
[ 5.830780] host=192.168.1.100, domain=, nis-domain=(none)
[ 5.836840] bootserver=255.255.255.255, rootserver=192.168.1.3, rootpath=
[ 5.844672] ALSA device list:
[ 5.847901] No soundcards found.
Nothing was outputed then. Then I did 3 test cases:
1) Use tty1(LVDS LCD) as the console, then everything is OK. Rootfs was mounted successfully. The bootargs was 'console=tty1 root=/dev/nfs rw nfsroot=192.168.1.3:/home/zhb/arm/linux/nfs/rootfs-futura,v3 ip=192.168.1.100:::255.255.255.0::eth0:off'.
2) Use ttymxc0 as the console, but without rootfs. It outputed the error messages about filesystem.
[ 2.585383] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 2.592954] Please append a correct "root=" boot option; here are the available partitions:
The bootargs was 'console=ttymxc0,115200'.
3) Use ttymxc0 as the console, with boorargs 'console=ttymxc0,115200 ip=192.168.1.100:::255.255.255.0::eth0:off'. The result was same as the original one.
I don't know what to do next. Could someone give any advice?
Thanks a lot!
Hi zhb1984
what bsp used in the case, one can try latest from source.codeaurora.org/external/imx/linux-imx repository, check appropriate dts file:
Best regards
igor