主题 : 用网上的方法,把u-boot-2008.10下要开发板,能ping,但下载出问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 1790
精华: 0
发帖: 33
金钱: 350 两
威望: 222 点
综合积分: 66 分
注册时间: 2008-09-28
最后登录: 2015-08-07
楼主  发表于: 2009-04-09 16:44

 用网上的方法,把u-boot-2008.10下要开发板,能ping,但下载出问题

U-Boot 2008.10 (Apr  8 2009 - 20:11:27)
DRAM:  64 MB
Flash:  1 MB
NAND:  NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3
V 8-bit)
64 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
chase2440 # ping 192.168.1.222
dm9000 i/o: 0x19000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:00:3e:26:0a:5b
host 192.168.1.222 is alive
chase2440 # tftp 0x31000000 zImage.img
dm9000 i/o: 0x19000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:00:3e:26:0a:5b
TFTP from server 192.168.1.222; our IP address is 192.168.1.70
Filename 'zImage.img'.
Load address: 0x31000000
Loading: *


我在windows下用的TFTPSRV.EXE 工具,
下载自己用mkimage工具做的zImage.img
[root@localhost tftpboot]#mkimage -n 'linux-2.6.22' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008000 -d zImage zImage.img

然后下到开发板,就停止在上的log打印的地方不动了。





*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-04-09 22:10
看看TFTPSRV有没有配置log文件的选项, 如果有的话,可以看一下它的log文件记录,是不是什么地方出错了
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 3446
精华: 0
发帖: 16
金钱: 90 两
威望: 34 点
综合积分: 32 分
注册时间: 2009-01-12
最后登录: 2011-11-27
2楼  发表于: 2009-05-18 00:00
uboot好像不支持zImage 吧  只能用uImage