u-boot-kirkwood icon indicating copy to clipboard operation
u-boot-kirkwood copied to clipboard

Ethernet packets corrupted for Dreamplug

Open pulento opened this issue 4 years ago • 1 comments

Tested this U-Boot on several Dreamplug I have. I injected the bootloader with kwboot but when I issue the "dhcp" command I get no IP from my server.

Running tcpdump on the network shows corrupted packets since I see packets coming from the assigned ethernet address on ethaddr env var but the ethertype is 0x4500 instead the usual 0x800 (IPv4):

08:05:06.225637 f0:ad:4e:01:16:f6 (oui Unknown) > Broadcast, ethertype Unknown (0x4500), length 342:
	0x0000:  0014 0148 0006 4000 ff11 bf8b 0000 0000  ...H..@.........
	0x0010:  ffff ffff 0044 0043 0134 0000 0600 0000  .....D.C.4......
	0x0020:  4e01 55b4 0007 0000 0000 0000 0000 0000  N.U.............
	0x0030:  0000 0000 0000 0000 f0ad 4e01 16f6 0000  ..........N.....
	0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0100:  0000 0000 0000 0000 6382 5363 3501 0139  ........c.Sc5..9
	0x0110:  0202 405d 0200 155e 0301 0000 3c0a 552d  ..@]...^....<.U-
	0x0120:  426f 6f74 2e61 726d ff00 0000 0000 0000  Boot.arm........
	0x0130:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x0140:  0000 0000 0000 0000                      ........

I also compiled from source with the same results. Tried and older 2016-5 branch but that doesn't even boot with kwboot.

Any ideas or more info needed ?

TIA

pulento avatar Jan 16 '21 11:01 pulento

pulento,

Thanks for the report! I'll boot up my Dreamplug to look at this problem when I have a chance. -bodhi

mibodhi avatar Jan 17 '21 21:01 mibodhi