自己用Yocto编译的fsl-image-x11-qt5镜像文件系统不能用NFS启动,但可以用SD卡启动。将fsl官网的MfgTool(Library版本2.3.2)自带的根文件系统rootfs.tar.bz2用runqemu-extract-sdk提取到硬盘上,设置NFS参数后,用NFS启动,也不能正常加载文件系统。现象与我自己编译的一样,错误信息如下:
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.109
IP-Config: Complete:
device=eth0, hwaddr=00:04:9f:02:df:d0, ipaddr=192.168.1.109, mask=255.255.255.0, gw=192.168.1.1
host=192.168.1.109, domain=, nis-domain=(none)
bootserver=0.0.0.0, rootserver=192.168.1.230, rootpath=
nameserver0=202.96.128.166, nameserver1=202.96.134.133
ALSA device list:
#0: wm8962-audio
#1: imx-hdmi-soc
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
1f00 32 mtdblock0 (driver?)
b300 7761920 mmcblk0 driver: mmcblk
b301 512000 mmcblk0p1 00000000-01
b302 7147520 mmcblk0p2 00000000-02
b308 7757824 mmcblk1 driver: mmcblk
b309 512000 mmcblk1p1 00000000-01
b30a 7143424 mmcblk1p2 00000000-02
b320 128 mmcblk1rpmb (driver?)
b318 2048 mmcblk1boot1 (driver?)
b310 2048 mmcblk1boot0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
但同样方法,编译的fsl-image-weston-qt5镜像则可以用NFS启动文件系统。求高人指点差异!谢谢! |