Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for rpi_5 #7978

Open
etenzy opened this issue Nov 22, 2023 · 17 comments
Open

Support for rpi_5 #7978

etenzy opened this issue Nov 22, 2023 · 17 comments

Comments

@etenzy
Copy link

etenzy commented Nov 22, 2023

When i try to start the rpi_generic version i get the following output:

Raspberry Pi 5 - 8GB
bootloader: 30de0ba5 2023/10/30
update-ts: 1699955031

board: d04170 797932e d8:3a:dd:xx:xx:xx
boot: mode USB-MSD 4 order f41 retry 0/128 restart 0/-1
SD: card detected 00035344534433324785594c22760176
part: 0 mbr [Oxee:00000001 0x00:00000000 0x00:00000000 0x00:000000001
power: supply: USB-PD 3000 mA CC1 PHIC: reset normal 0x0 usb_over_current=0
net: down ip: 0.0.0.0 sn: 0.0.0.0 gw: 0.0.0.0
tftp: 0.0.0.0 00:00:00:00:00:00
display: DISPO: HDMI HPD=1 EDID=ok #2 DISP1: HPD=0 EDID=none #0

usb_max_current_enable default 0 max-current 3000
Device-tree file "bcm2712-rpi-5-b.dtb" not found.

The installed operating system (OS) does not indicate support for Raspberry Pi 5
Update the OS or set os_check=0 in config.txt to skip this check.
Trying partition: 0
type: 32 1ba: 2048 'mkfs.fat' ' EFI • clusters 201618 (1)
Trying partition: 0
type: 32 1ba: 2048 'mkfs.fat' • EFI • clusters 201618 (1)
Read config.txt bytes 576 hnd 0x19759
usb_max_current_enable default 0 max-current 3000
Device-tree file "bcm2712-rpi-5-b.dtb" not found.

The installed operating system (OS) does not indicate support for Raspberry Pi 5
Update the OS or set os_check=0 in config.txt to skip this check.
Boot mode: USB-MSD (04) order f
@wurmr
Copy link

wurmr commented Dec 9, 2023

In the latest beta build v1.6.0-beta.1 it doesn't even get this far.

On a 4GB Pi 5 it never gets to the step of reading config.txt and keeps looping forever on the line type: 32 1ba: 2048 'mkfs.fat' • EFI • clusters 201618 (1)

@rothgar
Copy link
Member

rothgar commented Feb 6, 2024

I just booted 1.6.4 and get the same error about os_check=0.

Based on the post here it might have to wait for 6.8 kernel to be supported.

@AlexanderSkrock
Copy link

AlexanderSkrock commented Mar 19, 2024

Hi there,

as the mentioned Linux version 6.8 is released now, I would like to take the opportunity to ask whether there are any plans to support the Rasberry Pi 5 in the near future. I would be excited to get my newly purchased Rasberry Pi 5 up and running using Talos.

Kind regards
Alexander Skrock

@frezbo
Copy link
Member

frezbo commented Mar 19, 2024

There is no u-boot support yet, so it seems way far ahead

@Toasterson
Copy link

Any updates since? I am going with k3s at the moment but would love to testdrive Talos once it's ready.

@rothgar
Copy link
Member

rothgar commented May 31, 2024

Based on some email list conversations I read it looks like uboot 2024.04 adds support for raspberry pi 5 booting from SD card (no USB or nvme)

If someone wants to try it out you would have to update the uboot version here https://github.com/siderolabs/sbc-raspberrypi/blob/main/Pkgfile#L12-L14 and build a docker image and push it to a registry

Then you can follow these steps to use imager to create a custom image that you should be able to dd to an SD card. https://www.talos.dev/v1.7/talos-guides/install/boot-assets/#example-raspberry-pi-overlay-with-imager

I'm leaving for vacation soon so I don't have time to try it but would love to hear back from anyone that does.

@githubcdr
Copy link

I tried compiling u-boot but it didn't work, the nvme patches seem to be required for compiling.

@rothgar
Copy link
Member

rothgar commented Jun 13, 2024

The uboot patch says it only supports sd card right now. Did you try that?

@githubcdr
Copy link

I tried compiling without any patch and with patches, both failed for me.

@githubcdr
Copy link

38.13 make[1]: *** [scripts/Makefile.host:112: tools/image-sig-host.o] Segmentation fault (core dumped)
38.13 make[1]: *** Deleting file 'tools/image-sig-host.o'
38.13 make[1]: *** Waiting for unfinished jobs....
41.22 make[1]: *** [scripts/Makefile.host:112: tools/imx8image.o] Error 139
41.22 make[1]: *** Deleting file 'tools/imx8image.o'
41.22 make: *** [Makefile:1859: tools] Error 2

@githubcdr
Copy link

Good news! I have been able to boot Talos on rpi 5 using manually compiled uboot 2024.4, the ethernet port does not seem to be detected, probably some config.txt issues..

@ruryx00
Copy link

ruryx00 commented Jun 18, 2024

Good news! I have been able to boot Talos on rpi 5 using manually compiled uboot 2024.4, the ethernet port does not seem to be detected, probably some config.txt issues..

I'm trying also could you explain better how you were able to do it. thanks

@githubcdr
Copy link

githubcdr commented Jun 19, 2024

I first tried to build it via the bldr tool, but for some reason that gave me segfaults. What I did instead was manually compile uboot 2024.4 from source on a arm64 machine (rpi4) and then just place u-boot.bin file in the /boot partition :)

But as mentioned this will not work since the rpi firmware and the talos kernel must match if I understand correctly..

@Maikusan
Copy link

Maikusan commented Jul 31, 2024

Are there any news regarding raspi 5 support?

@pocket-pc
Copy link

Should this be moved to siderolabs/sbc-raspberrypi for task tracking?

@mooneydude
Copy link

Good news! I have been able to boot Talos on rpi 5 using manually compiled uboot 2024.4, the ethernet port does not seem to be detected, probably some config.txt issues..

i also just got Talos to boot on Pi 5 but hangs on 'talos failed looking up time.cloudflare.com'? Any progress with the ethernet port?

@philipgeraldtaylor
Copy link

A couple of Kiwis with @mooneydude same issue bump this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests