Hello community, here is the log from the commit of package u-boot for openSUSE:Factory checked in at 2020-02-21 16:43:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/u-boot (Old) and /work/SRC/openSUSE:Factory/.u-boot.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "u-boot" Fri Feb 21 16:43:14 2020 rev:124 rq:777969 version:2020.01 Changes: -------- --- /work/SRC/openSUSE:Factory/u-boot/u-boot.changes 2020-02-18 10:43:40.637345049 +0100 +++ /work/SRC/openSUSE:Factory/.u-boot.new.26092/u-boot.changes 2020-02-21 16:43:31.254172459 +0100 @@ -1,0 +2,8 @@ +Fri Feb 21 12:43:10 UTC 2020 - Matthias Brugger <[email protected]> + +Fix ethernet on RPi4 (bsc#1164512) +Patch queue updated from git://github.com/openSUSE/u-boot.git tumbleweed-2020.01 +* Patches added: + 0018-net-bcmgenet-Don-t-set-ID_MODE_DIS-.patch + +------------------------------------------------------------------- New: ---- 0018-net-bcmgenet-Don-t-set-ID_MODE_DIS-.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ u-boot.spec ++++++ --- /var/tmp/diff_new_pack.iKA2qC/_old 2020-02-21 16:43:33.366176680 +0100 +++ /var/tmp/diff_new_pack.iKA2qC/_new 2020-02-21 16:43:33.374176695 +0100 @@ -218,6 +218,7 @@ Patch0015: 0015-configs-Re-sync-with-CONFIG_DISTRO_.patch Patch0016: 0016-configs-am335x_evm-disable-BTRFS.patch Patch0017: 0017-net-phy-Fix-overlong-PHY-timeout.patch +Patch0018: 0018-net-bcmgenet-Don-t-set-ID_MODE_DIS-.patch # Patches: end BuildRequires: bc BuildRequires: bison ++++++ 0018-net-bcmgenet-Don-t-set-ID_MODE_DIS-.patch ++++++ >From 1a8daf7eef525b8c0c54f6b6274d0bb64f2787cc Mon Sep 17 00:00:00 2001 From: Nicolas Saenz Julienne <[email protected]> Date: Thu, 20 Feb 2020 17:36:31 +0100 Subject: [PATCH] net: bcmgenet: Don't set ID_MODE_DIS when not using RGMII As per Linux's driver, ID_MODE_DIS is only set when the PHY interface is RGMII. Don't enable it for the rest of setups. This has been seen to misconfigure RPi4's PHY when booting Linux. Upstream submission: https://patchwork.ozlabs.org/patch/1241570/ Fixes: d53e3fa385 ("net: Add support for Broadcom GENETv5 Ethernet controller") Signed-off-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Matthias Brugger <[email protected]> --- drivers/net/bcmgenet.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/bcmgenet.c b/drivers/net/bcmgenet.c index 8f4848aec6..e971b556ac 100644 --- a/drivers/net/bcmgenet.c +++ b/drivers/net/bcmgenet.c @@ -448,7 +448,10 @@ static int bcmgenet_adjust_link(struct bcmgenet_eth_priv *priv) } clrsetbits_32(priv->mac_reg + EXT_RGMII_OOB_CTRL, OOB_DISABLE, - RGMII_LINK | RGMII_MODE_EN | ID_MODE_DIS); + RGMII_LINK | RGMII_MODE_EN); + + if (phy_dev->interface == PHY_INTERFACE_MODE_RGMII) + setbits_32(priv->mac_reg + EXT_RGMII_OOB_CTRL, ID_MODE_DIS); writel(speed << CMD_SPEED_SHIFT, (priv->mac_reg + UMAC_CMD));
