天嵌 ARM开发社区

 找回密码
 注册
查看: 7480|回复: 19

急-tq210 tftp下载问题

[复制链接]
不急不急 发表于 2013-3-26 22:48:11 | 显示全部楼层 |阅读模式

#####    Boot for TQ210 Main Menu       #####
#####     EmbedSky TFTP download mode     #####

[1] Download u-boot.bin to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand  Flash
[5] Download UBIFS image (root.ubi) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Set TFTP parameters(PC IP,TQ210 IP,Mask IP...)
[p] Test network (TQ210 Ping PC's IP)
[r] Reboot u-boot
[s] Download STEPLDR.nb1 to Nand Flash
[t] Test Linux Image (zImage)
[q] Return main Menu
Enter your selection: p
TQ210 ping PC IP:ping 192.168.1.100
ERROR: resetting DM9000 -> not responding
dm9000 i/o: 0x88000000, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 00:40:5c:26:0a:5b
operating at 100M full duplex mode
ping failed; host 192.168.1.100 is not alive

不论采用PC直连,还是PC和tq210板子连到同一个路由器上,都是这个现象。
是不是板子上DM9000芯片有问题?我刚买的板子。

jilux 发表于 2013-3-27 09:01:55 | 显示全部楼层
好像我的也是一样的  不过我的可以下载程序
天嵌_support1 发表于 2013-3-27 09:06:12 | 显示全部楼层
这可能是DM9000有问题,或者是虚焊了!
 楼主| 不急不急 发表于 2013-3-27 09:20:22 | 显示全部楼层
天嵌_support1 发表于 2013-3-27 09:06
这可能是DM9000有问题,或者是虚焊了!

那怎么办?把板子寄回你们修?汗,质量不过关啊
亚瑟王 发表于 2013-3-27 09:37:45 | 显示全部楼层
不急不急 发表于 2013-3-27 09:20
那怎么办?把板子寄回你们修?汗,质量不过关啊

亲,我们测试DM9000网卡都是在Linux或Android下测试的。
uboot下由于TCP/IP协议不全,不建议在uboot下测试。
同时u-boot下如果网关的IP和我们预设的IP不同也会出现ping不通的情况。
建议你到Linux下用ping命令(PC和TQ210都是用ping)来测试。特别是2楼的亲。
 楼主| 不急不急 发表于 2013-3-27 09:45:54 | 显示全部楼层
亚瑟王 发表于 2013-3-27 09:37
亲,我们测试DM9000网卡都是在Linux或Android下测试的。
uboot下由于TCP/IP协议不全,不建议在uboot下测 ...

教程里的截图表明,是有成功ping通的板子的
那说明板子的质量不稳定哦
你们预设的网关IP是多少,我试试
 楼主| 不急不急 发表于 2013-3-27 09:50:35 | 显示全部楼层
亚瑟王 发表于 2013-3-27 09:37
亲,我们测试DM9000网卡都是在Linux或Android下测试的。
uboot下由于TCP/IP协议不全,不建议在uboot下测 ...

我不是为了测网卡而做u-boot下的tftp ping测试,
我是要通过tftp更新镜像,发现都ping不通
zjhsucceed_329 发表于 2013-3-27 12:43:28 | 显示全部楼层
你的PC机的IP和开发板的IP在同一个网段吗?
如果不在同一网段或网关不同都ping不通
按q进入u-boot的命令行模式,执行命令
print查看环境变量
ipaddr
亚瑟王 发表于 2013-3-27 15:49:56 | 显示全部楼层
不急不急 发表于 2013-3-27 09:45
教程里的截图表明,是有成功ping通的板子的
那说明板子的质量不稳定哦
你们预设的网关IP是多少,我试试

8楼说得对,如果网段这些都不一样,ping不通是正常的。我们预设的网段是:192.168.1.2(网关)、192.168.1.8(主机),网段是:192.168.1.xxx。
 楼主| 不急不急 发表于 2013-3-27 23:36:35 | 显示全部楼层
zjhsucceed_329 发表于 2013-3-27 12:43
你的PC机的IP和开发板的IP在同一个网段吗?
如果不在同一网段或网关不同都ping不通
按q进入u-boot的命令行 ...

按q的话就回到了主菜单,怎么输入print命令?这时系统只接受菜单所列几个数字和字母。
 楼主| 不急不急 发表于 2013-3-27 23:54:40 | 显示全部楼层
亚瑟王 发表于 2013-3-27 15:49
8楼说得对,如果网段这些都不一样,ping不通是正常的。我们预设的网段是:192.168.1.2(网关)、192.168. ...

PC和板子同时接路由器时,从PC获得的网络设置信息:



在PC直连以及TQ210与PC连接同一路由器下,测试结果均如下:
#####    Boot for TQ210 Main Menu       #####
#####     EmbedSky TFTP download mode     #####

[1] Download u-boot.bin to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand  Flash
[5] Download UBIFS image (root.ubi) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Set TFTP parameters(PC IP,TQ210 IP,Mask IP...)
[p] Test network (TQ210 Ping PC's IP)
[r] Reboot u-boot
Download STEPLDR.nb1 to Nand Flash
[t] Test Linux Image (zImage)
[q] Return main Menu
Enter your selection: n
Enter the TFTP Server(PC) IP address:(xxx.xxx.xxx.xxx)
*192.168.1.8
Enter the TQ210 IP address:(xxx.xxx.xxx.xxx)
*192.168.1.3
Enter the Mask IP address:(xxx.xxx.xxx.xxx)
*255.255.255.0
Save TFTP IP parameters?(y/n)
y
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x100000 -- 100% complete.
Writing to Nand... done

#####    Boot for TQ210 Main Menu       #####
#####     EmbedSky TFTP download mode     #####

[1] Download u-boot.bin to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[4] Download LOGO Picture (logo.bin) to Nand  Flash
[5] Download UBIFS image (root.ubi) to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program
[n] Set TFTP parameters(PC IP,TQ210 IP,Mask IP...)
[p] Test network (TQ210 Ping PC's IP)
[r] Reboot u-boot
Download STEPLDR.nb1 to Nand Flash
[t] Test Linux Image (zImage)
[q] Return main Menu
Enter your selection: p
TQ210 ping PC IP:ping 192.168.1.8
ERROR: resetting DM9000 -> not responding
dm9000 i/o: 0x88000000, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 00:40:5c:26:0a:5b
operating at 100M full duplex mode
ping failed; host 192.168.1.8 is not alive

以上显示,问题出自于:

ERROR: resetting DM9000 -> not responding
复位DM9000时,没有回应

论坛上也有几个反应这一问题的,应该不会是设置没对的问题吧?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
zjhsucceed_329 发表于 2013-3-28 10:39:37 | 显示全部楼层
不急不急 发表于 2013-3-27 23:36
按q的话就回到了主菜单,怎么输入print命令?这时系统只接受菜单所列几个数字和字母。

你试了没?
那没q之前是什么菜单?
按了q之后是什么菜单?
 楼主| 不急不急 发表于 2013-3-28 12:19:14 | 显示全部楼层
zjhsucceed_329 发表于 2013-3-28 10:39
你试了没?
那没q之前是什么菜单?
按了q之后是什么菜单?

试了,晚上上图。
pckiller 发表于 2013-3-28 19:56:11 | 显示全部楼层
我的板子也是这样的情况,在uboot没有ping,无法测试网络,很不方便,还是希望天嵌能够认真对待,网卡好像没有问题,uboot可以tftp烧文件,在android下是能够ping通的,就是ping命令有问题。本来想按照手册将nfs调通,可是uboot下没法测试网络,也不知道虚拟机是不是能够连通,最后还是没有尝试,所以希望天嵌的工程师能够帮忙找找问题,以方便我们使用板子。
 楼主| 不急不急 发表于 2013-3-28 20:47:52 | 显示全部楼层
pckiller 发表于 2013-3-28 19:56
我的板子也是这样的情况,在uboot没有ping,无法测试网络,很不方便,还是希望天嵌能够认真对待,网卡好像没 ...

楼上坦诚
天嵌要是能主动说:这个确实我们做得不够好,我们正在找原因改进....
我想大家都舒服,打太极没意思
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-4-29 12:56 , Processed in 1.078118 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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