setenv gatewayip 192.168.3.1
setenv netmask 255.255.255.0
setenv ipaddr 192.168.3.213
setenv serverip 192.168.3.199
setenv down_kernel tftp 0x58000000 uImage\; bootm 0x58000000
setenv bootargs console=ttySAC1,115200 ubi.mtd=0,2048 root=ubi:rootfs rootfstype=ubifs init=/init ip=192.168.3.213:192.168.3.199:192.168.3.1:255.255.255.0::eth0
setenv down-uboot tftp 0x50200000 u-boot.bin\; write 0x10000000 0x50200000 \$\{filesize\}
setenv down_rootfs nand scrub\; tftp 0x50200000 ubi.img\; nand write.i 0x50200000 0x0 \$\{filesize\}
setenv refresh_term nand scrub\;tftp 0x50200000 ubi.img\;nand write.i 0x50200000 0x0 \$\{filesize\}\;tftp 0x58000000 uImage\;bootm 0x58000000
setenv bootargs "root=/dev/nfs nfsroot=192.168.0.231:/forlinx/root
ip=192.168.0.232:192.168.0.231:192.168.0.2 0 1:255.255.255.0:witech.com.
cn:eth0ff console=ttySAC0,115200"
/dev/nfs 是固定的
192.168.0.231 是PC上Linux服务器的IP
192.168.0.231:/forlinx/root 是被挂载的目录
192.168.0.232 是开发板的IP
192.168.0.201 是网关IP
255.255.255.0 是子网掩码
witech.com.cn 是名字,可以改
阅读(520) | 评论(0) | 转发(0) |