[U-Boot] ARP Retry count exceeded

den4ya den4ya at yandex.ru
Sun Dec 9 13:45:00 UTC 2018


God Day,  everyone!

I have a problem with the Device on allwinner A20 processor and realtek rtl8201 network chip. I was able to run linux. The network works great under Linux. Now I'm trying to configure U-boot to load the kernel via tftp server.
I created my own my_defconfig file and compiled u-boot with my_dts file working well in linux kernel. 
In u-boot-2019.01-rc1-dirty I have the following problem:

U-Boot 2019.01-rc1-dirty (Dec 06 2018 - 02:37:16 +0700) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: My_Board
I2C:   ready
DRAM:  512 MiB
NAND:  nand_base: Could not find valid ONFI parameter page; aborting
4096 MiB
MMC:   SUNXI SD/MMC: 0
Loading Environment from FAT... MMC: no card present
Loading Environment from NAND... OK
Setting up a 800x480 lcd console (overscan 0x0)
In:    serial
Out:   vga
Err:   vga
Allwinner mUSB OTG (Peripheral)
Net:   eth0: ethernet at 01c50000
Warning: usb_ether using MAC address from ROM
, eth1: usb_ether
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 2 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
=> mii info                
PHY 0x01: OUI = 0x0020, Model = 0x20, Rev = 0x01, 100baseT, FDX
=> setenv autoload no
=> dhcp
Speed: 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
DHCP client bound to address 10.42.0.194 (2514 ms)
=> ping 10.42.0.1
Speed: 100, full duplex
Using ethernet at 01c50000 device

ARP Retry count exceeded; starting again
ping failed; host 10.42.0.1 is not alive
=> 

At the same time on the laptop tcpdump is started:
sudo tcpdump -i enp4s0 -s 200 -n -x
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on enp4s0, link-type EN10MB (Ethernet), capture size 200 bytes

This is during U-boot startup:

03:31:46.558793 IP6 fe80::d842:96a6:ee97:e7f0 > ff02::16: HBH ICMP6, multicast listener report v2, 2 group record(s), length 48
	0x0000:  6000 0000 0038 0001 fe80 0000 0000 0000
	0x0010:  d842 96a6 ee97 e7f0 ff02 0000 0000 0000
	0x0020:  0000 0000 0000 0016 3a00 0502 0000 0100
	0x0030:  8f00 3efc 0000 0002 0400 0000 ff02 0000
	0x0040:  0000 0000 0000 0000 0000 00fb 0400 0000
	0x0050:  ff02 0000 0000 0000 0000 0001 ff97 e7f0
03:31:47.390817 IP6 fe80::d842:96a6:ee97:e7f0 > ff02::16: HBH ICMP6, multicast listener report v2, 2 group record(s), length 48
	0x0000:  6000 0000 0038 0001 fe80 0000 0000 0000
	0x0010:  d842 96a6 ee97 e7f0 ff02 0000 0000 0000
	0x0020:  0000 0000 0000 0016 3a00 0502 0000 0100
	0x0030:  8f00 3efc 0000 0002 0400 0000 ff02 0000
	0x0040:  0000 0000 0000 0000 0000 00fb 0400 0000
	0x0050:  ff02 0000 0000 0000 0000 0001 ff97 e7f0

This is U-boot running:

BOOTP / DHCP, Request not bring to save space.

These messages during ping:

03:34:26.104725 ARP, Request who-has 10.42.0.1 tell 10.42.0.194, length 46
	0x0000:  0001 0800 0604 0001 0209 0482 82d0 0a2a
	0x0010:  00c2 0000 0000 0000 0a2a 0001 0000 0000
	0x0020:  0000 0000 0000 0000 0000 0000 0000
03:34:26.104764 ARP, Reply 10.42.0.1 is-at 7c:05:07:fe:60:01, length 28
	0x0000:  0001 0800 0604 0002 7c05 07fe 6001 0a2a
	0x0010:  0001 0209 0482 82d0 0a2a 00c2
03:34:31.105340 ARP, Request who-has 10.42.0.1 tell 10.42.0.194, length 46
	0x0000:  0001 0800 0604 0001 0209 0482 82d0 0a2a
	0x0010:  00c2 0000 0000 0000 0a2a 0001 0000 0000
	0x0020:  0000 0000 0000 0000 0000 0000 0000
03:34:31.105376 ARP, Reply 10.42.0.1 is-at 7c:05:07:fe:60:01, length 28
	0x0000:  0001 0800 0604 0002 7c05 07fe 6001 0a2a
	0x0010:  0001 0209 0482 82d0 0a2a 00c2
03:34:36.106418 ARP, Request who-has 10.42.0.1 tell 10.42.0.194, length 46
	0x0000:  0001 0800 0604 0001 0209 0482 82d0 0a2a
	0x0010:  00c2 0000 0000 0000 0a2a 0001 0000 0000
	0x0020:  0000 0000 0000 0000 0000 0000 0000
03:34:36.106451 ARP, Reply 10.42.0.1 is-at 7c:05:07:fe:60:01, length 28
	0x0000:  0001 0800 0604 0002 7c05 07fe 6001 0a2a
	0x0010:  0001 0209 0482 82d0 0a2a 00c2
03:34:41.107558 ARP, Request who-has 10.42.0.1 tell 10.42.0.194, length 46
	0x0000:  0001 0800 0604 0001 0209 0482 82d0 0a2a
	0x0010:  00c2 0000 0000 0000 0a2a 0001 0000 0000
	0x0020:  0000 0000 0000 0000 0000 0000 0000
03:34:41.107588 ARP, Reply 10.42.0.1 is-at 7c:05:07:fe:60:01, length 28
	0x0000:  0001 0800 0604 0002 7c05 07fe 6001 0a2a
	0x0010:  0001 0209 0482 82d0 0a2a 00c2

I can't understand why ping fails.
MAC address in ENV is: ethaddr=02:09:04:82:82:d0
MAC address is valid and multicast bit is not set.
Help me please! 

Sincerely, Denis Romanenko.


More information about the U-Boot mailing list