@leaveye
2017-03-10T03:15:48.000000Z
字数 1346
阅读 932
uboot kernel boot nfs tftp
setenv netmask 255.255.252.0setenv ipaddr 192.168.0.253setenv serverip 192.168.2.55setenv bootfile 'uImage-w1302-sd-testing'setenv nfsroot /srv/rootfs/w1302-testing-sdsetenv burnroot /srv/rootfs/w1302-product-sdsetenv loadaddr 80700000
setenv bootcmd 'run setbootargs; printenv bootargs; tftpboot ${loadaddr} ${bootfile}; bootm'
setenv bootargs '=== delayed ==='setenv dollar '$'setenv setbootargs 'setenv bootargs "setenv bootargs \\"${dollar}{staticargs} ${dollar}{${bootmsg}args} ${dollar}{${bootfrom}bootargs}\\""; run bootargs'setenv quietargs 'loglevel=4'setenv verboseargs 'earlyprintk loglevel=8'setenv staticargs 'console=ttyS0,115200n8 mem=111M vpif_display.ch2_numbuffers=0 vpif_display.ch3_numbuffers=0'setenv nfsbootargs "root=/dev/nfs nfsroot=${serverip}:${servernfsroot},nolock rw ip=${ipaddr}:${serverip}:192.168.2.10:255.255.252.0:DM6467:eth0:off"setenv burnbootargs "root=/dev/nfs nfsroot=${serverip}:${serverburnroot},nolock rw ip=${ipaddr}:${serverip}:192.168.2.10:255.255.252.0:DM6467:eth0:off"setenv nandbootargs 'root=/dev/mtdblock3 rw rootfstype=jffs2 ip=none'setenv bootcmd 'run setbootargs; printenv bootargs; nboot 0x80700000 0 0x160000; bootm'setenv bootfrom nandsetenv bootmsg quietsaveenvsetenv bootfrom burnboot
