多谢版主的回复,我现在的u-boot跑的情况如下:
U-Boot 1.1.6 (Aug 31 2009 - 21:03:10)
DRAM: 64 MB
Flash: 1 MB
NAND: 64 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Use these steps to program the image to flash:
1. In OpenOCD
Run the 'halt' command to halt u-boot
Run the 'load_image <file> <address>' command to load file to SDRAM
Run the 'resume' command to resume u-boot
2. In u-boot, use the flash commands to program the image to flash
Or, use the tftp or nfs command to download file, and then program the flash.
FA24x0> tftp 30000000 u-boot.bin
eth_halt
phy_write(reg:0, value:32768)
eth_init()
resetting
dm9000 i/o: 0x20000300, id: 0x90000a46
phy_read(3): 32768
MAC: 08:00:3e:26:0a:5b
08:00:3e:26:0a:5b:
TFTP from server 192.168.1.100; our IP address is 192.168.1.70
Filename 'u-boot.bin'.
Load address: 0x30000000
Loading: eth_send: length: 42
Send: 02x: ff ff ff ff ff ff 08 00
Send: 02x: 3e 26 0a 5b 08 06 00 01
Send: 02x: 08 00 06 04 00 01 08 00
Send: 02x: 3e 26 0a 5b c0 a8 01 46
Send: 02x: 00 00 00 00 00 00 c0 a8
Send: 02x: 01 64
transmit done
T eth_send: length: 42
Send: 02x: ff ff ff ff ff ff 08 00
Send: 02x: 3e 26 0a 5b 08 06 00 01
Send: 02x: 08 00 06 04 00 01 08 00
Send: 02x: 3e 26 0a 5b c0 a8 01 46
Send: 02x: 00 00 00 00 00 00 c0 a8
Send: 02x: 01 64
transmit done
发送是没有什么问题,但就是收不到回应,我没有打开防火墙,环境变是设置如下:
bootargs=noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
bootcmd=nand read.jffs2 0x32000000 kernel; bootm 0x32000000
bootdelay=3
baudrate=115200
ethaddr=08:00:3e:26:0a:5b
ipaddr=192.168.1.70
serverip=192.168.1.100
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
mtdids=nand0=nandflash0
mtdparts=mtdparts=nandflash0:2m@0(kernel),8m(jffs2),-(yaffs)
partition=nand0,0
mtddevnum=0
mtddevname=kernel
我就在这里腾了很久,还望版主帮忙分析分析!