天嵌 ARM开发社区

 找回密码
 注册
查看: 5350|回复: 10

版主救命,TQ2440无法ping通主机

[复制链接]
walkman 发表于 2013-5-13 21:11:27 | 显示全部楼层 |阅读模式
安装USB驱动蓝屏,TQBoardDNW也不好使,只好转向TFTP下载,结果无法ping通,都快崩溃了。
设置过程如下
#####    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)
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)
192.168.1.8
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)
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 192.168.1.8
dm9000 i/o: 0x20000300, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
ping failed; host 192.168.1.8 is not alive

 楼主| walkman 发表于 2013-5-13 21:13:19 | 显示全部楼层
本帖最后由 walkman 于 2013-5-13 21:17 编辑

PC与开发板使用网线相连,但PC端显示网络断开,开发板的网口灯也没亮

本帖子中包含更多资源

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

x
 楼主| walkman 发表于 2013-5-13 21:14:46 | 显示全部楼层
我的系统状况如下:

本帖子中包含更多资源

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

x
 楼主| walkman 发表于 2013-5-13 21:15:22 | 显示全部楼层
我的网络设置

本帖子中包含更多资源

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

x
TQ-lkp 发表于 2013-5-14 09:14:56 | 显示全部楼层
板子的网卡是没问题,你用的是我们提供的网线吗?
 楼主| walkman 发表于 2013-5-14 10:35:59 | 显示全部楼层
TQ-lkp 发表于 2013-5-14 09:14
板子的网卡是没问题,你用的是我们提供的网线吗?

用的你们提供的网线。
为了防止是网线问题,我还试验了另外一根网线,仍然是有问题!
 楼主| walkman 发表于 2013-5-14 10:36:31 | 显示全部楼层
PC端显示网络断开,开发板的网口灯也没亮。这个现象正常吗?
lbn321 发表于 2014-4-18 23:16:51 | 显示全部楼层
walkman 发表于 2013-5-14 10:36
PC端显示网络断开,开发板的网口灯也没亮。这个现象正常吗?

我的也没亮。
你最后是怎么解决的
li雪人 发表于 2014-5-2 19:04:39 | 显示全部楼层
我的网口灯是亮的,但是PING不通,谁能解决。
一撇一捺 发表于 2014-5-2 22:10:13 | 显示全部楼层
ping不通的情况主要有几种:第一,硬件问题包括你的网线,可以通过比较实验其他板子和网线确定是不是硬件或网线问题;第二,环境设置问题,这是主要的问题,包括linux系统中的防火墙和selinux是否关闭(没关闭的都要关闭),ping的时候windows系统的防火墙也要关闭,且windows、linux、开发板的ip要在同一网段及最后一个点的后几位不一样,前几位一定要求一样,开发板的ip环境设置在uboot菜单中设置不大起作用,需要修改板子中/etc/net.conf文件并保存,最好重启下;第三,如果前两个都解决了还没ping通的话,可以可虑电脑和板子之间加个路由器,这样做的目的可以增加网络的稳定性,提高ping通可能性。目前我只能说这么些,希望能给你些有用的提示。
a375206647 发表于 2016-1-30 20:15:54 | 显示全部楼层
楼主 之前这个问题解决了么   我现在也遇到同样的问题 Ping不通 灯也不亮
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-5-17 11:10 , Processed in 1.062500 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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