天嵌 ARM开发社区

 找回密码
 注册
查看: 5022|回复: 8

Load address:0x30000000 Loading: T T T

[复制链接]
jonnyju 发表于 2010-10-12 20:16:00 | 显示全部楼层 |阅读模式
开发板可以ping通主机:
  1. [JJ2440]# ping 10.21.15.25
  2. dm9000 i/o: 0x20000300, id: 0x90000a46
  3. MAC: 0a:00:1b:00:2c:00
  4. host 10.21.15.25 is alive
复制代码
但是tftp内核时:
  1. [JJ2440]# tftp 0x30000000 zImage_2.6.30.4_W35_256MB
  2. dm9000 i/o: 0x20000300, id: 0x90000a46
  3. MAC: 0a:00:1b:00:2c:00
  4. TFTP from server 10.15.21.25; our IP address is 10.21.15.110; sending through ga
  5. teway 10.21.15.254
  6. Filename 'zImage_2.6.30.4_W35_256MB'.
  7. Load address: 0x30000000
  8. Loading: T checksum bad
  9. checksum bad
  10. T T T T T
复制代码
我的环境变量:
  1. [JJ2440]# print
  2. bootdelay=3
  3. baudrate=115200
  4. ethaddr=0a:1b:2c:3d:4e:5f
  5. serverip=10.15.21.25
  6. netmask=255.255.255.0
  7. ipaddr=10.21.15.110
  8. gatewayip=10.21.15.254
  9. stdin=serial
  10. stdout=serial
  11. stderr=serial
复制代码
 楼主| jonnyju 发表于 2010-10-12 20:19:06 | 显示全部楼层
windows下的tftp服务已经开启。
 楼主| jonnyju 发表于 2010-10-13 09:18:43 | 显示全部楼层
求助。。。。。。。。。。。
machoe 发表于 2010-10-13 09:44:45 | 显示全部楼层
检查一下你的IP地址和serverIP的地址,仔细看一下,明显不是一个段的。
 楼主| jonnyju 发表于 2010-10-13 10:27:57 | 显示全部楼层
改回来以后,还是这样。。。
能PING通:
-------------
[JJ2440]# tftp 0x30000000 zImage_2.6.30.4_W35_256MB
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 08:00:00:00:3e:00
TFTP from server 10.21.15.25; our IP address is 10.21.15.110
Filename 'zImage_2.6.30.4_W35_256MB'.
Load address: 0x30000000
Loading: T checksum bad
checksum bad
T T T T
Abort
[JJ2440]#
天嵌_support1 发表于 2010-10-13 11:20:33 | 显示全部楼层
5# jonnyju


检测一些你的下载程序
 楼主| jonnyju 发表于 2010-10-13 12:05:04 | 显示全部楼层
是天嵌的zimage啊
天嵌_support1 发表于 2010-10-13 12:11:33 | 显示全部楼层
7# jonnyju


我想知道你接板子到哪了?很明显你没法成功下载文件了。T T T 是连接超时的意思。
 楼主| jonnyju 发表于 2010-10-13 12:44:07 | 显示全部楼层
本帖最后由 jonnyju 于 2010-10-13 12:56 编辑

板子和电脑相连,
在windows 开启了tftp服务

移植时,修改了dm9000x.c
  1. char *tmp = getenv("ethaddr");
  2. char *end;
  3. for (i = 0; i < 6; i++)
  4. {
  5. bd->bi_enetaddr[i] = tmp ? simple_strtoul(tmp, &end, 16) : 0;
  6. if(tmp)
  7. tmp = (*end) ? end+1 : end;
  8. }
复制代码
还有

#if 0
.......
#endif
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-18 14:47 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表