|
使用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?
请问真的只能使用路由吗?售后说是天嵌出厂设定的,他们也没办法,
设定的应该能改吧? |
|