All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Jagan Teki <jagan@amarulasolutions.com>
Cc: u-boot@lists.denx.de, Simon Glass <sjg@chromium.org>,
	Tom Rini <trini@konsulko.com>,
	Samuel Holland <samuel@sholland.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>
Subject: [PATCH 0/2] sunxi: Fix Ethernet on mostly A20 boards
Date: Wed, 16 Mar 2022 00:54:41 +0000	[thread overview]
Message-ID: <20220316005443.16260-1-andre.przywara@arm.com> (raw)

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


             reply	other threads:[~2022-03-16  0:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-16  0:54 Andre Przywara [this message]
2022-03-16  0:54 ` [PATCH 1/2] sunxi: Fix old GMAC pinmux setup Andre Przywara
2022-03-16 16:55   ` Jernej Škrabec
2022-03-16 17:04     ` Andre Przywara
2022-03-21 14:17   ` Petr Štetiar
2022-03-16  0:54 ` [PATCH 2/2] sunxi: dts: Update RGMII phy-mode properties Andre Przywara
2022-03-18  5:31   ` Samuel Holland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220316005443.16260-1-andre.przywara@arm.com \
    --to=andre.przywara@arm.com \
    --cc=jagan@amarulasolutions.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=samuel@sholland.org \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.