我有一个arduino Yun,我想在NFS上使用rootfs。这是我使用的命令行:
ar7240> setenv bootargs root=/dev/nfs rw nfsroot=192.168.1.1:/home /bou6/srv/nfs/root-ar71xx ip=192.168.1.2:192.168.1.1:192.168.1.1:255.255.255.
0::off;
ar7240> saveenv
Unknown command 'saveenv' - try 'help'
ar7240> printenv
bootcmd=bootm 0x9fea0000
bootdelay=4
baudrate=115200
ethaddr=0xb4:0x21:0x8a:0x00:0x00:0x10
ipaddr=192.168.1.2
serverip=192.168.1.1
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
bootargs=root=/dev/nfs rw nfsroot=192.168.1.1:/home/user/srv/nfs/rootar71xx ip=192.168.1.2:192.168.1.1:192.168.1.1:255.255.255.0::off
Environment size: 319/65532 bytes
ar7240> bootm 0x9fea0000
您可以看到uboot无法识别saveenv。
当董事会重新启动时,这就是我得到的:
[ 0.000000] Kernel command line: board=Yun console=ttyATH0,250000 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14656k(rootfs),1280k(ker
nel),64k(nvram),64k(art),15936k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
似乎uboot传递了错误的参数,实际上这是我购买电路板时的默认命令行
我应该重新刷新uboot吗?