从nand启动内核:
setenv bootcmd nand read 20008000 100000 300000\;go 20008000
从nand启动文件系统:
setenv bootargs root=/dev/mtdblock2 init=/linuxrc console=ttySAC0,115200
从内存启动内核:
setenv bootcmd tftp 20008000 zImage\;go 20008000
从内存启动文件系统:
setenv bootargs root=nfs nfsroot=192.168.100:/source/rootfs console=ttySAX0,115200 init=/linuxrc ip=192.168.1.200
重启nfs:
sudo /etc/init.d/nfs-kernel-server restart
重启tftp:
sudo /etc/init.d/tftp-hpa restart
U盘挂载:
mount -t vfat /dev/sda1 /mnt