|
楼主 |
发表于 2013-12-2 19:12
|
显示全部楼层
U-Boot 1.1.4 (Jan 22 2013 - 00:11:52)
U-boot AP123
DRAM: 16 MB
Top of RAM usable for U-Boot at: 81000000
Reserving 139k for U-Boot at: 80fdc000
Reserving 192k for malloc() at: 80fac000
Reserving 44 Bytes for Board Info at: 80fabfd4
Reserving 36 Bytes for Global Data at: 80fabfb0
Reserving 128k for boot params() at: 80f8bfb0
Stack Pointer at: 80f8bf98
Now running in RAM - U-Boot at: 80fdc000
Flash Manuf Id 0x1c, DeviceId0 0x70, DeviceId1 0x15
flash size 4MB, sector count = 64
Flash: 4 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag934x_enet_initialize...
wasp reset mask:c03300
WASP ----> S27 PHY
: cfg1 0x80000000 cfg2 0x7114
eth0: bc:d1:77:dd:ac:e7
s27 reg init
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
WASP ----> S27 PHY
: cfg1 0xf cfg2 0x7214
eth1: bc:d1:77:dd:ac:e6
s27 reg init lan
ATHRS27: resetting s27
ATHRS27: s27 reset done
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
Load Default Boot Params.
Autobooting in 1 seconds
ar7240> setenv ipaddr 192.168.1.1
ar7240> setenv serverip 192.168.1.100
ar7240> printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:32k(u-boot1),32k(u-boot2),3008k(rootfs),896k(uImage),64k(mib0),64k(ART)
bootcmd=bootm 0x9f300000
bootdelay=1
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
dir=
lu=tftp 0x80060000 ${dir}tuboot.bin&&erase 0x9f000000 +$filesize&&cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}${bc}-jffs2&&erase 0x9f010000 +$filesize&&cp.b $fileaddr 0x9f010000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux_${bc}.lzma.uImage&&erase 0x9f300000 +$filesize&&cp.b $fileaddr 0x9f300000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
ipaddr=192.168.1.1
serverip=192.168.1.100
Environment size: 677/65532 bytes
ar7240> tftpboot 0x80000000 1.bin
Trying eth1
enet1 port0 up
dup 1 speed 1000
Using eth1 device
TFTP from server 192.168.1.100; our IP address is 192.168.1.1
Filename '1.bin'.
Load address: 0x80000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
########################################################
done
Bytes transferred = 1616036 (18a8a4 hex)
ar7240> erase 0x9f300000 +0x18a8a4
Error: end address (0x9f48a8a3) not in flash!
Bad address format
ar7240> cp.b 0x80000000 0x9f300000 0x18a8a4
Copy to Flash... Outside available Flash |
|