不急不急 发表于 2013-3-26 22:48:11

急-tq210 tftp下载问题


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

Download u-boot.bin to Nand Flash
Download Eboot (eboot.nb0) to Nand Flash
Download Linux Kernel (zImage.bin) to Nand Flash
Download LOGO Picture (logo.bin) to NandFlash
Download UBIFS image (root.ubi) to Nand Flash
Download YAFFS image (root.bin) to Nand Flash
Download Program to SDRAM and Run it
Boot the system
Format the Nand Flash
Set the boot parameters
Download User Program
Set TFTP parameters(PC IP,TQ210 IP,Mask IP...)
Test network (TQ210 Ping PC's IP)
Reboot u-boot
Download STEPLDR.nb1 to Nand Flash
Test Linux Image (zImage)
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 static/image/common/back.gif
这可能是DM9000有问题,或者是虚焊了!

那怎么办?把板子寄回你们修?汗,质量不过关啊

亚瑟王 发表于 2013-3-27 09:37:45

不急不急 发表于 2013-3-27 09:20 static/image/common/back.gif
那怎么办?把板子寄回你们修?汗,质量不过关啊

亲,我们测试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 static/image/common/back.gif
亲,我们测试DM9000网卡都是在Linux或Android下测试的。
uboot下由于TCP/IP协议不全,不建议在uboot下测 ...

教程里的截图表明,是有成功ping通的板子的
那说明板子的质量不稳定哦
你们预设的网关IP是多少,我试试

不急不急 发表于 2013-3-27 09:50:35

亚瑟王 发表于 2013-3-27 09:37 static/image/common/back.gif
亲,我们测试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 static/image/common/back.gif
教程里的截图表明,是有成功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 static/image/common/back.gif
你的PC机的IP和开发板的IP在同一个网段吗?
如果不在同一网段或网关不同都ping不通
按q进入u-boot的命令行 ...

按q的话就回到了主菜单,怎么输入print命令?这时系统只接受菜单所列几个数字和字母。

不急不急 发表于 2013-3-27 23:54:40

亚瑟王 发表于 2013-3-27 15:49 static/image/common/back.gif
8楼说得对,如果网段这些都不一样,ping不通是正常的。我们预设的网段是:192.168.1.2(网关)、192.168. ...

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



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

Download u-boot.bin to Nand Flash
Download Eboot (eboot.nb0) to Nand Flash
Download Linux Kernel (zImage.bin) to Nand Flash
Download LOGO Picture (logo.bin) to NandFlash
Download UBIFS image (root.ubi) to Nand Flash
Download YAFFS image (root.bin) to Nand Flash
Download Program to SDRAM and Run it
Boot the system
Format the Nand Flash
Set the boot parameters
Download User Program
Set TFTP parameters(PC IP,TQ210 IP,Mask IP...)
Test network (TQ210 Ping PC's IP)
Reboot u-boot
Download STEPLDR.nb1 to Nand Flash
Test Linux Image (zImage)
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   #####

Download u-boot.bin to Nand Flash
Download Eboot (eboot.nb0) to Nand Flash
Download Linux Kernel (zImage.bin) to Nand Flash
Download LOGO Picture (logo.bin) to NandFlash
Download UBIFS image (root.ubi) to Nand Flash
Download YAFFS image (root.bin) to Nand Flash
Download Program to SDRAM and Run it
Boot the system
Format the Nand Flash
Set the boot parameters
Download User Program
Set TFTP parameters(PC IP,TQ210 IP,Mask IP...)
Test network (TQ210 Ping PC's IP)
Reboot u-boot
Download STEPLDR.nb1 to Nand Flash
Test Linux Image (zImage)
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时,没有回应

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

zjhsucceed_329 发表于 2013-3-28 10:39:37

不急不急 发表于 2013-3-27 23:36 static/image/common/back.gif
按q的话就回到了主菜单,怎么输入print命令?这时系统只接受菜单所列几个数字和字母。

你试了没?
那没q之前是什么菜单?
按了q之后是什么菜单?

不急不急 发表于 2013-3-28 12:19:14

zjhsucceed_329 发表于 2013-3-28 10:39 static/image/common/back.gif
你试了没?
那没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 static/image/common/back.gif
我的板子也是这样的情况,在uboot没有ping,无法测试网络,很不方便,还是希望天嵌能够认真对待,网卡好像没 ...

楼上坦诚
天嵌要是能主动说:这个确实我们做得不够好,我们正在找原因改进....
我想大家都舒服,打太极没意思
页: [1] 2
查看完整版本: 急-tq210 tftp下载问题