天嵌 ARM开发社区

 找回密码
 注册
查看: 2852|回复: 3

使用TFTP,总是ping不通,求助

[复制链接]
wang12zhedi 发表于 2012-9-24 10:11:37 | 显示全部楼层 |阅读模式
使用USB下载出现多次蓝屏,今天想试试TFTP下载,但总是ping不通,按照开发板使用说明设置TFTP,并按照网络下载的步骤一步一步的操作,总是ping不通,
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or TQ2440_Test)
[b] Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[n] Enter TFTP download mode menu
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: n

#####    Boot for Nor Flash 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 stepldr.nb1 to Nand Flash
[5] Set TFTP parameters(PC IP,TQ2440 IP,Mask IP...)
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or TQ2440_Test)
[b] Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[o] Download u-boot to Nor Flash
[p] Test network (TQ2440 Ping PC's IP)
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] Return main Menu
Enter your selection: 5
Enter the TFTP Server(PC) IP address:(xxx.xxx.xxx.xxx)
223.90.0.236
Enter the SKY2440/TQ2440 IP address:(xxx.xxx.xxx.xxx)
192.168.1.6
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...Writing to Nand... done

#####    Boot for Nor Flash 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 stepldr.nb1 to Nand Flash
[5] Set TFTP parameters(PC IP,TQ2440 IP,Mask IP...)
[6] Download YAFFS image (root.bin) to Nand Flash
[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or TQ2440_Test)
[b] Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[o] Download u-boot to Nor Flash
[p] Test network (TQ2440 Ping PC's IP)
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] Return main Menu
Enter your selection: p
TQ2440 ping PC IP:ping 223.90.0.236
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
ping failed; host 223.90.0.236 is not alive

这个过程中出现问题:
1   Warning: gatewayip needed but not set

在本论坛找到的解决办法:(原帖回复)
亲,用命令q退回到命令行模式,使用如下命令设置网关:setenv gatewayip 192.168.1.2或者用命令0,然后用命令3,手动设置,在命令名称那里输入gatewayip,参数输入网关IP


2  Enter your selection: p
TQ2440 ping PC IP:ping 223.90.0.236
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
ping failed; host 223.90.0.236 is not alive
这也是我现在的问题,

我的电脑用的是移动的无线网,CMCC这个,咨询售后时得到的答复是必须使用路由,
另外我的IP:223.90.0.236
  子网掩码是:255.255.240.0
默认网关是:223.90.0.2
有人说需要在一个网段,但是怎么改那?该PC的IP?
请问真的只能使用路由吗?售后说是天嵌出厂设定的,他们也没办法,
设定的应该能改吧?
亚瑟王 发表于 2012-9-24 14:26:31 | 显示全部楼层
不知道你是不是今天用售后QQ问过问题。
售后QQ上给你说的是,你的无线网络要和有线网络联系起来,必须使用一个无线路由器。
根本没有说什么天嵌厂家设定的话题。
同一个网段的意思就是:xxx.yyy.zzz.mmm。IP地址有四组,同一个网段的IP的前三组相同,最后一组不同。
无线网络是用的无线电波传输的信号;有线网络是用的网线传输信号。两者要联系起来,一般情况用的是无线路由器将无线电波接收或发送出去。然后转化成有线信号通过网线传输出去进行通讯。
 楼主| wang12zhedi 发表于 2012-9-25 07:30:26 | 显示全部楼层
亚瑟王 发表于 2012-9-24 14:26
不知道你是不是今天用售后QQ问过问题。
售后QQ上给你说的是,你的无线网络要和有线网络联系起来,必须使用 ...

是问过QQ,但是等半天才回答一句,我没办法就在阿里旺旺问的售后,是阿里旺旺的售后说的,TQ2440厂家设定,他们也没办法,天嵌和TQ2440不是一个?
亚瑟王 发表于 2012-9-25 09:31:06 | 显示全部楼层
wang12zhedi 发表于 2012-9-25 07:30
是问过QQ,但是等半天才回答一句,我没办法就在阿里旺旺问的售后,是阿里旺旺的售后说的,TQ2440厂家设定 ...

阿里旺旺的都是销售工程师。不是售后工程师。天嵌科技的售后主要是在天嵌科技的论坛。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-7-1 18:20 , Processed in 1.109375 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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