On Tue, Jan 03, 2023 at 11:56:51PM +0100, Andreas Henriksson wrote:
> On Tue, Jan 03, 2023 at 11:46:31PM +0100, Andreas Henriksson wrote:
> > On Wed, Dec 28, 2022 at 04:11:04PM -0800, Vagrant Cascadian wrote:
> > > rpi_4
> > > rpi_4_32b
[...]

Hello again,

While I only have the earliest rpi 4B rev A0 (1.1) it has come to
my attention that apparently there's a revision C0 (1.4) that
has problems booting with u-boot.

Apparently in 1.4 revision they changed the hardware in
an incompatible way and then cover this up by having the
proprietary firmware modify the dtb in ram to change nodes
as needed.

The issue has been discussed on the rpi forums:
https://forums.raspberrypi.com/viewtopic.php?t=315662

There has been seemingly two indenpendent attempts at submitting
(very similar) patches upstream to adress this in u-boot:
https://lists.denx.de/pipermail/u-boot/2021-November/468322.html
https://lists.denx.de/pipermail/u-boot/2021-September/462020.html
... but apparently they've never been merged.


NixOS are carrying patches:
https://github.com/NixOS/nixpkgs/tree/master/pkgs/misc/uboot
which includes some revision of Sjoerds patch.

Some info on board revisions can be found at:
https://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/

This issue probably deserves it's own separate bug report,
but since I don't have the hardware in question I'm leaving that
to who ever else cares and just share the info I have.

It might be useful to consider just include NixOS/Sjoerds patch
or documenting that RPi 4B hw rev 1.4 will not work.
(Hardware revision is visible in /proc/cpuinfo under the Revision:
field.)
However it maybe best trying to find someone who has the affected
hardware revision that can confirm the problem exists and that
the patch actually resolves it.

Regards,
Andreas Henriksson

Reply via email to