[PATCH 0/2] sunxi: Fix Ethernet on mostly A20 boards

Andre Przywara andre.przywara at arm.com
Wed Mar 16 01:54:41 CET 2022


Hi,

testing on a BananaPi M1 board revealed that Ethernet has regressed
since the last release due to not only one, but two bugs:
- The pinmux and GMAC clock setup for the A20 GMAC is apparently called
  too early now.
- The updated RGMII phy-mode properties are now taken for real, so many
  boards are using the wrong RX/TX line delay setup, with mostly fatal
  consequences.

Fix those two issues to bring Ethernet back on those affected boards.

I refrained from just syncing the DTs from the kernel (to fix the second
issue): Recent changes in the mainline DTs require newer kernels to work,
which breaks Linux distro installer ISO images running via UEFI.
We need to find a solution for that, but not in -rc4, which
would be rather late for a normal DT sync anyway.

Please have a look and test on your board!

Cheers,
Andre



Andre Przywara (2):
  sunxi: Fix old GMAC pinmux setup
  sunxi: dts: Update RGMII phy-mode properties

 arch/arm/dts/sun50i-a64-sopine-baseboard.dts  | 2 +-
 arch/arm/dts/sun50i-h5-nanopi-neo2.dts        | 2 +-
 arch/arm/dts/sun50i-h5-orangepi-zero-plus.dts | 2 +-
 arch/arm/dts/sun6i-a31-hummingbird.dts        | 2 +-
 arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts   | 2 +-
 arch/arm/dts/sun7i-a20-bananapi.dts           | 2 +-
 arch/arm/dts/sun7i-a20-bananapro.dts          | 2 +-
 arch/arm/dts/sun7i-a20-cubietruck.dts         | 2 +-
 arch/arm/dts/sun7i-a20-olinuxino-lime2.dts    | 2 +-
 arch/arm/dts/sun7i-a20-pcduino3-nano.dts      | 2 +-
 arch/arm/dts/sun8i-a83t-bananapi-m3.dts       | 2 +-
 arch/arm/dts/sun8i-a83t-cubietruck-plus.dts   | 2 +-
 arch/arm/dts/sun8i-h3-orangepi-plus.dts       | 2 +-
 arch/arm/dts/sunxi-bananapi-m2-plus.dtsi      | 2 +-
 arch/arm/mach-sunxi/board.c                   | 1 -
 board/sunxi/board.c                           | 3 +++
 16 files changed, 17 insertions(+), 15 deletions(-)

-- 
2.35.1



More information about the U-Boot mailing list