当前位置: 技术问答>linux和unix
uboot中DM9000问题
来源: 互联网 发布时间:2016-04-28
本文导语: 2440板子,DM9000EP芯片,uboot1.1.6 PING时如下 [ lxi2440a ]# ping 192.168.0.63 eth_halt phy_write(reg:0, value:32768) eth_init() resetting dm9000 i/o: 0x28000300, id: 0x90000a46 phy_read(3): 32768 MAC: 08:00:3e:26:0a:5b 08:00:3e:26:0a:5b: phy_read(17): ...
2440板子,DM9000EP芯片,uboot1.1.6 PING时如下
[ lxi2440a ]# ping 192.168.0.63
eth_halt
phy_write(reg:0, value:32768)
eth_init()
resetting
dm9000 i/o: 0x28000300, id: 0x90000a46
phy_read(3): 32768
MAC: 08:00:3e:26:0a:5b
08:00:3e:26:0a:5b:
phy_read(17): 32768
operating at 100M full duplex mode
ping start going
sending ARP for 3f00a8c0
ARP broadcast 1
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 00 de
Send: 02x: 00 00 00 00 00 00 c0 a8
Send: 02x: 00 3f
transmit done
ARP broadcast 2
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 00 de
Send: 02x: 00 00 00 00 00 00 c0 a8
Send: 02x: 00 3f
transmit done
系统起来后,PC显示网络连接正常100M, ARP broadcast 信息发送后网络就断了,然后从新连接,要么就UBOOT重启了,如果接收了那么全是0,什么原因啊,各位高手指点下,谢谢
[ lxi2440a ]# ping 192.168.0.63
eth_halt
phy_write(reg:0, value:32768)
eth_init()
resetting
dm9000 i/o: 0x28000300, id: 0x90000a46
phy_read(3): 32768
MAC: 08:00:3e:26:0a:5b
08:00:3e:26:0a:5b:
phy_read(17): 32768
operating at 100M full duplex mode
ping start going
sending ARP for 3f00a8c0
ARP broadcast 1
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 00 de
Send: 02x: 00 00 00 00 00 00 c0 a8
Send: 02x: 00 3f
transmit done
ARP broadcast 2
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 00 de
Send: 02x: 00 00 00 00 00 00 c0 a8
Send: 02x: 00 3f
transmit done
系统起来后,PC显示网络连接正常100M, ARP broadcast 信息发送后网络就断了,然后从新连接,要么就UBOOT重启了,如果接收了那么全是0,什么原因啊,各位高手指点下,谢谢
|
看下driver/dm9000x.c中start_rx(?),看错在哪,还有你的mac地址和pc机在同一段吗