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

Raspberry Pi 5 support #79

Closed
matthiasklein opened this issue Jan 26, 2024 · 9 comments
Closed

Raspberry Pi 5 support #79

matthiasklein opened this issue Jan 26, 2024 · 9 comments

Comments

@matthiasklein
Copy link
Contributor

Is anyone working on support for the Raspberry Pi 5?

Yocto support exists in the meantime. But no U-Boot.
A good summary can be found here in the Mender forum: https://hub.mender.io/t/raspberry-pi-5-support/6412

I think it would be interesting to do without U-Boot altogether and use the "tryboot" feature instead, which exists since the Raspberry Pi 4.

@leon-anavi
Copy link
Collaborator

Hi @matthiasklein,

Yes, it is kind of work in progress:

  • Yesterday the GitHub pull request for Raspberry Pi 5 support was merged in meta-raspberrypi: Add Raspberry Pi 5 agherzan/meta-raspberrypi#1237

  • Today I opened a GitHub pull request to port Raspberry Pi 5 from the main branch to kirkstone: Kirkstone: Add Raspberry Pi 5 agherzan/meta-raspberrypi#1271

  • Previously I got mender working on Raspberry Pi 5 using unstable U-Boot patches from the mailing lists that haven't been merged in U-Boot yet. The process for RAUC integration is similar. So it is a work in progress and it depends on the other 2 GitHub pull requests mentioned above.

Best regards,
Leon

@m4salem
Copy link

m4salem commented Feb 15, 2024

Thanks for the work on this, I was wondering if this issue is still being considered

@leon-anavi
Copy link
Collaborator

Thanks for the work on this, I was wondering if this issue is still being considered

Yes, in general but it is not on top of my priority list. Actually the mentioned GitHub pull request to port Raspberry Pi 5 from the main branch to branch kirkstone in meta-raspberrypi was merged: agherzan/meta-raspberrypi#1271

@m4salem
Copy link

m4salem commented Feb 15, 2024

Yeah I have been following those, and the RPI5 works fine. The problem now is that RAUC can't be built for RPI5.

@leon-anavi
Copy link
Collaborator

Yeah I have been following those, and the RPI5 works fine. The problem now is that RAUC can't be built for RPI5.

Yes, because RAUC integration in meta-rauc-raspberrypi relies on U-Boot and as I mentioned in the previous comments the U-Boot support for rpi5 is still work in progress.

@moto-timo
Copy link
Contributor

I have working branches which will be submitted as soon as the meta-lts-mixins scarthgap/u-boot branch is created. But for now you can play around and give me feedback (good or bad). I have had a little bit of issue with needing the UART probe installed to get u-boot to boot completely, and also some framebuffer transition issues (the four raspberrypi logos for the 4 cores stay on screen). Your mileage may vary.

  1. https://github.com/moto-timo/meta-lts-mixins/tree/scarthgap/u-boot
  2. https://github.com/moto-timo/meta-raspberrypi/tree/scarthgap/raspberrypi5_u-boot
  3. https://github.com/moto-timo/meta-rauc-community/tree/scarthgap/raspberrypi5_u-boot

@moto-timo
Copy link
Contributor

Any feedback is helpful. Even if it is "this doesn't work at all and here is what I saw". Reproducers for failures (or fixes) are much appreciated.

@moto-timo
Copy link
Contributor

FWIW, I had zero issue with yoe-simple-image YoeDistro/yoe-distro#912 but that is not using u-boot at all.

@leon-anavi
Copy link
Collaborator

Hi,

Recently @AtanasBunchev tested Poky with Raspberry Pi 5 based on @moto-timo work. Atanas updated the README with details: #100

RAUC is now compatible with the Raspberry Pi 5, so I will be closing this issue. A huge thanks to Tim for his work on U-Boot and to everyone who contributed to this task.

Best regards, Leon

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

4 participants