Booting RPi5B with latest git

I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi (2024.04-rc2) just fine. Yet, if I take that uSD card and place it in my RPi5B, it does not boot. I only see the "U-Boot" submarine logo in the upper right of the screen/no debug output. Any thoughts are appreciated.
I built u-boot like this:
unset CFLAGS unset CXXFLAGS unset CPPFLAGS
make rpi_arm64_config echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config make EXTRAVERSION=-2024.04rc2

On Sat, 17 Feb 2024 at 16:53, John therealgraysky@proton.me wrote:
I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi (2024.04-rc2) just fine. Yet, if I take that uSD card and place it in my RPi5B, it does not boot. I only see the "U-Boot" submarine logo in the upper right of the screen/no debug output. Any thoughts are appreciated.
I built u-boot like this:
unset CFLAGS unset CXXFLAGS unset CPPFLAGS
make rpi_arm64_config echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config make EXTRAVERSION=-2024.04rc2
Do you have a serial console to attach? The current support is very basic, I don't believe display output is supported yet, and thinks like USB for keyboard input most definitely isn't.
Peter

For RPi 5B you need bcm2712 device tree . RPi4 uses 2711.So the e rpi_arm64_confi does not work for RPi5 Also make sure that you have the changes discussed here.[GIT PULL] rpi: updates for v2024.04 (mail-archive.com)
Iwas able to get the git (https://source.denx.de/u-boot/custodians/u-boot-raspberrypi.git%C2%A0tags/rp...) and modify the config to get 2712 dts file, and able to get u-boot.
| | | | | |
|
| | | | [GIT PULL] rpi: updates for v2024.04
|
|
|
On Saturday, February 17, 2024 at 08:36:22 AM PST, John therealgraysky@proton.me wrote:
I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi (2024.04-rc2) just fine. Yet, if I take that uSD card and place it in my RPi5B, it does not boot. I only see the "U-Boot" submarine logo in the upper right of the screen/no debug output. Any thoughts are appreciated.
I built u-boot like this:
unset CFLAGS unset CXXFLAGS unset CPPFLAGS
make rpi_arm64_config echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config make EXTRAVERSION=-2024.04rc2

On Saturday, February 17th, 2024 at 1:55 PM, Jojan jjvazha@yahoo.com wrote:
For RPi 5B you need bcm2712 device tree . RPi4 uses 2711. So the e rpi_arm64_confi does not work for RPi5
Which config target did you build or did you modify rpi_arm64_config? If so, can you share the diff? You mentioned modifying "the config" in your message below.
Also make sure that you have the changes discussed here.[GIT PULL] rpi: updates for v2024.04 (mail-archive.com)
I built from the master branch of the github mirror. That should have these changes incorporate, no? https://github.com/u-boot/u-boot/commits/master/
Iwas able to get the git (https://source.denx.de/u-boot/custodians/u-boot-raspberrypi.git%C2%A0tags/rp...)
and modify the config to get 2712 dts file, and able to get u-boot. [GIT PULL] rpi: updates for v2024.04
On Saturday, February 17, 2024 at 08:36:22 AM PST, John therealgraysky@proton.me wrote:
I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi (2024.04-rc2) just fine. Yet, if I take that uSD card and place it in my RPi5B, it does not boot. I only see the "U-Boot" submarine logo in the upper right of the screen/no debug output. Any thoughts are appreciated.
I built u-boot like this:
unset CFLAGS unset CXXFLAGS unset CPPFLAGS
make rpi_arm64_config echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config make EXTRAVERSION=-2024.04rc2

yes , I created new config by renaming ' rpi_arm64_config' to rpi5_arm64_config.and edited the device tree to bcm2712-rpi-5-b.dtb. Then get get the dts files from linux/arch/arm/boot/dts/bcm2712-rpi-5-b.dts at rpi-6.1.y ) It gets booted but still need more controllers( ethernet)
On Saturday, February 17, 2024 at 11:17:12 AM PST, John therealgraysky@proton.me wrote:
On Saturday, February 17th, 2024 at 1:55 PM, Jojan jjvazha@yahoo.com wrote:
For RPi 5B you need bcm2712 device tree . RPi4 uses 2711. So the e rpi_arm64_confi does not work for RPi5
Which config target did you build or did you modify rpi_arm64_config? If so, can you share the diff? You mentioned modifying "the config" in your message below.
Also make sure that you have the changes discussed here.[GIT PULL] rpi: updates for v2024.04 (mail-archive.com)
I built from the master branch of the github mirror. That should have these changes incorporate, no? https://github.com/u-boot/u-boot/commits/master/
Iwas able to get the git (https://source.denx.de/u-boot/custodians/u-boot-raspberrypi.git%C2%A0tags/rp...)
and modify the config to get 2712 dts file, and able to get u-boot. [GIT PULL] rpi: updates for v2024.04
On Saturday, February 17, 2024 at 08:36:22 AM PST, John therealgraysky@proton.me wrote:
I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi (2024.04-rc2) just fine. Yet, if I take that uSD card and place it in my RPi5B, it does not boot. I only see the "U-Boot" submarine logo in the upper right of the screen/no debug output. Any thoughts are appreciated.
I built u-boot like this:
unset CFLAGS unset CXXFLAGS unset CPPFLAGS
make rpi_arm64_config echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config make EXTRAVERSION=-2024.04rc2

Thank you for the steps. If the NIC is non-functional, I think I will wait for official RPi5B support to come to u-boot.
On Saturday, February 17th, 2024 at 2:25 PM, Jojan jjvazha@yahoo.com wrote:
yes , I created new config by renaming ' rpi_arm64_config' to rpi5_arm64_config. and edited the device tree to bcm2712-rpi-5-b.dtb. Then get get the dts files fromlinux/arch/arm/boot/dts/bcm2712-rpi-5-b.dts at rpi-6.1.y)
It gets booted but still need more controllers( ethernet)
On Saturday, February 17, 2024 at 11:17:12 AM PST, John therealgraysky@proton.me wrote:
On Saturday, February 17th, 2024 at 1:55 PM, Jojan jjvazha@yahoo.com wrote:
For RPi 5B you need bcm2712 device tree . RPi4 uses 2711. So the e rpi_arm64_confi does not work for RPi5
Which config target did you build or did you modify rpi_arm64_config? If so, can you share the diff? You mentioned modifying "the config" in your message below.
Also make sure that you have the changes discussed here.[GIT PULL] rpi: updates for v2024.04 (mail-archive.com)
I built from the master branch of the github mirror. That should have these changes incorporate, no? https://github.com/u-boot/u-boot/commits/master/
Iwas able to get the git (https://source.denx.de/u-boot/custodians/u-boot-raspberrypi.git%C2%A0tags/rp...)
and modify the config to get 2712 dts file, and able to get u-boot. [GIT PULL] rpi: updates for v2024.04
On Saturday, February 17, 2024 at 08:36:22 AM PST, John therealgraysky@proton.me wrote:
I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi (2024.04-rc2) just fine. Yet, if I take that uSD card and place it in my RPi5B, it does not boot. I only see the "U-Boot" submarine logo in the upper right of the screen/no debug output. Any thoughts are appreciated.
I built u-boot like this:
unset CFLAGS unset CXXFLAGS unset CPPFLAGS
make rpi_arm64_config echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config make EXTRAVERSION=-2024.04rc2

You might get these build errorsError:arch/arm/dts/bcm283x-u-boot.dtsi:42.1-14 Label or path uart0_gpio14 not found Error: arch/arm/dts/bcm283x-u-boot.dtsi:46.1-14 Label or path uart1_gpio14 notfound
I just Just commented out that.
On Saturday, February 17, 2024 at 11:17:12 AM PST, John therealgraysky@proton.me wrote:
On Saturday, February 17th, 2024 at 1:55 PM, Jojan jjvazha@yahoo.com wrote:
For RPi 5B you need bcm2712 device tree . RPi4 uses 2711. So the e rpi_arm64_confi does not work for RPi5
Which config target did you build or did you modify rpi_arm64_config? If so, can you share the diff? You mentioned modifying "the config" in your message below.
Also make sure that you have the changes discussed here.[GIT PULL] rpi: updates for v2024.04 (mail-archive.com)
I built from the master branch of the github mirror. That should have these changes incorporate, no? https://github.com/u-boot/u-boot/commits/master/
Iwas able to get the git (https://source.denx.de/u-boot/custodians/u-boot-raspberrypi.git%C2%A0tags/rp...)
and modify the config to get 2712 dts file, and able to get u-boot. [GIT PULL] rpi: updates for v2024.04
On Saturday, February 17, 2024 at 08:36:22 AM PST, John therealgraysky@proton.me wrote:
I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi (2024.04-rc2) just fine. Yet, if I take that uSD card and place it in my RPi5B, it does not boot. I only see the "U-Boot" submarine logo in the upper right of the screen/no debug output. Any thoughts are appreciated.
I built u-boot like this:
unset CFLAGS unset CXXFLAGS unset CPPFLAGS
make rpi_arm64_config echo 'CONFIG_IDENT_STRING=" Arch Linux ARM"' >> .config make EXTRAVERSION=-2024.04rc2

Hi,
On 17 Feb 2024, at 20:55, Jojan jjvazha@yahoo.com wrote:
For RPi 5B you need bcm2712 device tree . RPi4 uses 2711.So the e rpi_arm64_confi does not work for RPi5 Also make sure that you have the changes discussed here.[GIT PULL] rpi: updates for v2024.04 (mail-archive.com)
You don’t have to change rip_arm64_config file. For RPi5 device you should have bcm2712-rpi-5-b.dtb in dtb directory on your boot drive.
You could get this file from "Raspberry Pi OS” or openSUSE Tumbleweed images, at least. You could compile it yourself from the vendor Linux tree too.
Regards, Ivan

Hi John,
Am 17.02.24 um 17:33 schrieb John:
I am running Arch ARM on a RPi4B and also on a RPi5B. My RPi4B can boot the vanilla kernel package (linux-aarch64) with the latest uboot-raspberrypi (2024.04-rc2) just fine.
btw the mainline kernel doesn't have any RPi 5 support yet. So you will need the vendor kernel.
Best regards
participants (5)
-
Ivan T. Ivanov
-
John
-
Jojan
-
Peter Robinson
-
Stefan Wahren