* [U-Boot] [PATCH] rockchip: board: lion-rk3368: increase phy autonegotiation timeout
@ 2018-06-06 10:19 Jakob Unterwurzacher
2018-07-13 10:25 ` [U-Boot] " Philipp Tomsich
0 siblings, 1 reply; 2+ messages in thread
From: Jakob Unterwurzacher @ 2018-06-06 10:19 UTC (permalink / raw)
To: u-boot
The first dhcp command consistently fails with a timeout when
the lion-rk3368 board is connected to a Zyxel GS1100-24E
Gigabit Ethernet switch:
ethernet at ff290000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Increasing PHY_ANEG_TIMEOUT from the default 4000 to 8000 makes the
first dhcp command work reliably.
Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
---
include/configs/lion_rk3368.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/configs/lion_rk3368.h b/include/configs/lion_rk3368.h
index b9c6bf8954..cae0f1ed29 100644
--- a/include/configs/lion_rk3368.h
+++ b/include/configs/lion_rk3368.h
@@ -12,5 +12,7 @@
#define KERNEL_LOAD_ADDR 0x280000
#define DTB_LOAD_ADDR 0x5600000
#define INITRD_LOAD_ADDR 0x5bf0000
+/* PHY needs longer aneg time at 1G */
+#define PHY_ANEG_TIMEOUT 8000
#endif
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] rockchip: board: lion-rk3368: increase phy autonegotiation timeout
2018-06-06 10:19 [U-Boot] [PATCH] rockchip: board: lion-rk3368: increase phy autonegotiation timeout Jakob Unterwurzacher
@ 2018-07-13 10:25 ` Philipp Tomsich
0 siblings, 0 replies; 2+ messages in thread
From: Philipp Tomsich @ 2018-07-13 10:25 UTC (permalink / raw)
To: u-boot
> The first dhcp command consistently fails with a timeout when
> the lion-rk3368 board is connected to a Zyxel GS1100-24E
> Gigabit Ethernet switch:
>
> ethernet at ff290000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
>
> Increasing PHY_ANEG_TIMEOUT from the default 4000 to 8000 makes the
> first dhcp command work reliably.
>
> Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
> ---
> include/configs/lion_rk3368.h | 2 ++
> 1 file changed, 2 insertions(+)
>
Applied to u-boot-rockchip, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-13 10:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-06 10:19 [U-Boot] [PATCH] rockchip: board: lion-rk3368: increase phy autonegotiation timeout Jakob Unterwurzacher
2018-07-13 10:25 ` [U-Boot] " Philipp Tomsich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.