On 06-09-2025 01:20, Jonas Kvinge wrote:
On Thu, 2025-08-28 at 12:05 +0100, Peter Robinson wrote:
Hi,
I'm using a Raspberry Pi 5 Compute Module with a sourcekit.io
board.
I'm not getting any output from u-boot to the console, I get this
with
CM4 with the same setup.
Do I need to change anything to get console output on RPI5?
Well at least on the RPi5 the console has moved to ttyAMA10 from
ttyS0
so you'll likely have to update something, it will depend on how that
carrier board pins out the UART, but it works fine for me on the RPi5
so I suspect it's something config based.
I've added the following patch for RPI5 which I found on the list:
https://github.com/jonaski/u-boot/commit/2f60b5d80b3a08d480074e8230ada543bfa42401
The rpi5 is supported with the rpi_arm64_defconfig so that's not
needed.
You also don't report what version of U-Boot you're using. There was
an issue with the serial console on rpi5 producing gunk on the output
but that was fixed with 2025.07 release.
My config is here:
https://raw.githubusercontent.com/jonaski/u-boot/refs/heads/rpi5/.config
Jonas
The series of patches for Raspberry Pi 5 support
fromĀ https://lists.denx.de/pipermail/u-boot/2025-February/579540.html
aren't in the master branch, are you saying RPI5 is supported without
them? Does the GPIO and console work for you without any patches?
UART console (on the debug UART, not the GPIO works), at least on my
CM5. Anything living on the RP1 chip (USB3, GPIO, Ethernet) doesn't
inside of U-Boot.
I believe PCI-E also doesn't work (i.e. NVME), but I'm not sure on that.
For my own testing I've rebased the patches to v2025.01, which enabled
GPIO en Ethernet for me (haven't tested beyond that), you shouldn't need
it though if you want to just boot from the sdcard.
I used the latest version of u-boot from git master at the time of
testing.
Jonas