[U-Boot] Malformed ARP packets
Remi Lefevre
rlefevre at gmail.com
Thu Sep 18 11:49:23 CEST 2008
Hello,
I ported U-Boot on my custom MPC8270 board.
Everything seems to go well but my ARP packets are malformed:
=> ping 192.168.0.1
Trying FCC1 ETHERNET
Using FCC1 ETHERNET device
sending ARP for c0a80001
ARP broadcast 1
cycles: 25 status: 6c00
ARP broadcast 2
cycles: 20 status: 6c00
ping failed; host 192.168.0.1 is not alive
[60 bytes on wire] <- correct
correct broadcast correct mac addr ARP type
----------------- ------------------ -----------
00000000 ff ff ff ff ff ff da b0 4e 0f 0a 26 08 06 00 01 | <- correct
00000010 4e 0f 0a 26 08 06 00 01 4e 0f 0a 26 08 06 00 01 | <- malformed
00000020 00 00 00 00 00 00 c0 a8 00 01 00 00 00 00 00 00 | <- correct
00000030 c0 a8 00 01 00 00 00 00 00 00 00 01 | <- malformed
0000003c
The source mac address seems incorrectly and partially duplicated at
byte 16. Data is not random, but duplicated or mispositioned.
I saw the following thread:
http://lists.denx.de/pipermail/u-boot/2008-January/028159.html
So I checked and double-checked my SDRAM configuration but cannot
find anything wrong. I also get the same results in BBI or PBI.
MII monitoring works correctly:
=> mii dump
miiphy_read(0x0) @ 0x1 = 0x2100
0. (2100) -- PHY control register --
(8000:0000) 0.15 = 0 reset
(4000:0000) 0.14 = 0 loopback
(2040:2000) 0. 6,13 = b01 speed selection = 100 Mbps
(1000:0000) 0.12 = 0 A/N enable
(0800:0000) 0.11 = 0 power-down
(0400:0000) 0.10 = 0 isolate
(0200:0000) 0. 9 = 0 restart A/N
(0100:0100) 0. 8 = 1 duplex = full
(0080:0000) 0. 7 = 0 collision test enable
(003f:0000) 0. 5- 0 = 0 (reserved)
=> bdinfo
bd address = 0x07BA3FB4
memstart = 0x00000000
memsize = 0x08000000
flashstart = 0xF4000000
flashsize = 0x02000000
flashoffset = 0x00033000
sramstart = 0x00000000
sramsize = 0x00000000
immr_base = 0xF0000000
bootflags = 0x00000001
vco = 580.608 MHz
sccfreq = 145.152 MHz
brgfreq = 145.152 MHz
intfreq = 414.720 MHz
cpmfreq = 290.304 MHz
busfreq = 82.944 MHz
ethaddr = DA:B0:4E:0F:0A:26
IP addr = 192.168.0.42
baudrate = 115200 bps
Anything I could have forgotten to check ?
Best regards,
Rémi Lefevre
More information about the U-Boot
mailing list