No console output on Raspberry Pi Compute Module 5
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?
I've added the following patch for RPI5 which I found on the list:
https://github.com/jonaski/u-boot/commit/2f60b5d80b3a08d480074e8230ada543bfa42401
My config is here:
https://raw.githubusercontent.com/jonaski/u-boot/refs/heads/rpi5/.config
Jonas
Hi,
Quoted 4 lines
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.
Quoted 2 lines
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.
Quoted 4 lines
My config is here:
https://raw.githubusercontent.com/jonaski/u-boot/refs/heads/rpi5/.configJonas
Quoted 18 lines · Peter Robinson
Hi,
Quoted 6 lines
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.Quoted 2 lines
I've added the following patch for RPI5 which I found on the list:
https://github.com/jonaski/u-boot/commit/2f60b5d80b3a08d480074e8230ada543bfa42401
Quoted 11 lines
The rpi5 is supported with the
rpi_arm64_defconfigso 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.
Quoted 4 lines
My config is here:
https://raw.githubusercontent.com/jonaski/u-boot/refs/heads/rpi5/.configJonas
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?
I used the latest version of u-boot from git master at the time of testing.
Jonas
Quoted 24 lines · Jonas Kvinge
Quoted 23 lines · Peter Robinson
Hi,
Quoted 6 lines
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.Quoted 2 lines
I've added the following patch for RPI5 which I found on the list:
https://github.com/jonaski/u-boot/commit/2f60b5d80b3a08d480074e8230ada543bfa42401The rpi5 is supported with the
rpi_arm64_defconfigso 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.
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
My config is here:
https://raw.githubusercontent.com/jonaski/u-boot/refs/heads/rpi5/.configJonas
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.
Quoted 4 lines
I used the latest version of u-boot from git master at the time of testing.
Jonas