[U-Boot] [PATCH] Add CONFIG_GMAC_TX_DELAY=4 for OlinuXino Lime2
Michael Haas
haas at computerlinguist.org
Tue Mar 15 06:41:39 CET 2016
This change is required to get GBIT Ethernet to work
reliably on my board. Without CONFIG_GMAC_TX_DELAY=4, the connection
suffers severe packet loss and SSH becomes unusable.
--- 192.168.1.1 ping statistics ---
100 packets transmitted, 100 received, 0% packet loss, time 19842ms
rtt min/avg/max/mdev = 0.260/0.334/0.527/0.038 ms
I have also tried CONFIG_GMAC_TX_DELAY=3, which still
yielded 11-13% packet loss.
It's quite possible that A20-OLinuXino-Lime_defconfig also requires
this change, but I do not have a board for testing.
I have tested this change on u-boot 2016.01.
Signed-off-by: Michael Haas <haas at computerlinguist.org>
Tested-by: Michael Haas <haas at computerlinguist.org>
Cc: ijc at hellion.org.uk
Cc: hdegoede at redhat.com
---
configs/A20-OLinuXino-Lime2_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig
index b5181c6..f75b191 100644
--- a/configs/A20-OLinuXino-Lime2_defconfig
+++ b/configs/A20-OLinuXino-Lime2_defconfig
@@ -15,3 +15,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
CONFIG_CMD_GPIO=y
CONFIG_ETH_DESIGNWARE=y
CONFIG_USB_EHCI_HCD=y
+CONFIG_GMAC_TX_DELAY=4
--
2.7.2
More information about the U-Boot
mailing list