- 已经设置过bootargs
uboot中打印bootargs
bootargs=console=ttymxc0,115200 root=/dev/nfs rw nfsroot=192.168.1.6:/home/jack/linux/nfs/rootfs ip=192.168.1.133:192.168.1.6:192.168.1.1:255.255.255.0::eth0:off
- 解决一
手动挂载(但最终是想linux启动根文件系统就是挂载在ubuntu下的)
mount -t nfs -o nolock,vers=3 192.168.1.6:/home/jack/linux/nfs /mnt
/mnt/rootfs # cd drivers/
/mnt/rootfs/drivers # ls
chrdevbaseApp hello hello.c test.c