|
U-Boot 1.1.4.2-s445 (Sep 6 2010 - 14:46:33)
Board: Ubiquiti Networks XM board (rev 0.1 e212)
DRAM: 32 MB
Flash: 8 MB
Net: eth0, eth1
Hit any key to stop autoboot: 0
ar7240> printenv
bootdelay=1
baudrate=115200
ethaddr=00:15:6d:0d:00:00
serverip=192.168.1.254
mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(r
ootfs),256k(cfg),64k(EEPROM)
bootcmd=bootm 0x9f050000
bootargs=console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/init
ipaddr=192.168.1.20
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
Environment size: 356/65532 bytes
ar7240> setenv ipaddr 192.168.1.2
ar7240> setenv serverip 192.168.1.100
ar7240> tftpboot 0x80000000 1.bin
Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.2
Filename '1.bin'.
Load address: 0x80000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#####
done
Bytes transferred = 6677869 (65e56d hex)
ar7240> erase 0x9f050000 +0x65e56d
................................................................................
...................... done
Erased 102 sectors
ar7240> cp.b 0x80000000 0x9f050000 0x65e56d
Copy to Flash... done
ar7240> bootm
## Booting image at 80000000 ...
Bad Magic Number
刷后出现这问题,解决办法是。。。 |
|
|