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

Gui-v2 with hardware acceleration on raspberry-pi #27

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

rvdgracht
Copy link

This PR detaches the raspberry pi platforms from the Victron kernel, updating it to 6.6.36. It also updates the bootfiles (rpi closed source binaries), and kernel firmware for wifi and bluetooth modules.

Slight changes ware made to the OS (rpi image only) so the gpu is now enabled used for GUI-v2!

This kernel is newer, well maintained and includes support for the rpi5.

Signed-off-by: Robin van der Gracht <[email protected]>
The hardware has pcie bus so why not include the tooling.

Signed-off-by: Robin van der Gracht <[email protected]>
This prevents inclusion of firmware in the os that is never used.

Signed-off-by: Robin van der Gracht <[email protected]>
Signed-off-by: Robin van der Gracht <[email protected]>
Enables the GPU on the raspberrypi4 platform.

Signed-off-by: Robin van der Gracht <[email protected]>
Signed-off-by: Robin van der Gracht <[email protected]>
@mpvader
Copy link
Contributor

mpvader commented Nov 2, 2024

Hi @rvdgracht, real nice!

Does this work on all Pis that we support (raspberrypi2 up to 4), and this adds raspberrypi5 support?

Do you have all Pis ie. did you test this?

See here.

Have you checked the venus kernel for patches that might be wanted for Pis as well?

Updating the boot files and/or kernel means all existing installs out there need to reflash their sd card? Or does swu update from v3.50 to the results of this PR work as well?

@rvdgracht
Copy link
Author

Hi mpvader,

The bootfiles and kernel should work for the rpi2 although I haven't tested it. I don't have rpi2 hardware, so feel free to try it :)
Adding support for the rpi5 is easy now but not (fully) included in this patch set.

I figured the rpi kernel should include everything required for the rpi hardware so I started there. I just checked and see some patches to slcan, a victron logo and several other small changes in the venus kernel. I can rebase those patches on the rpi kernel if applicable and required.

I'm not 100% sure, but I don't think swu updates the linux kernel and bootfiles for the rpi platform. Maybe @jhofstee can comment on that.

@nmbath
Copy link
Collaborator

nmbath commented Nov 4, 2024

@rvdgracht The SWU file is a complete image and includes updated kernel. This is installed in the /boot directory. What is not updated is the /u-boot directory which holds all the bootfiles and boot loader. If any of these files need modifying then a complete re-iamge is required.

It would probably make sense to create a new machine type for RaspberyPI5 and that way any changes to support that device would have it's own upgrade path and not require the RPI3 and RPI4 to need a complete re-image. Clearly if the boot files need updating for GUI-V2 that would drive a different need.

What would be worth testing is if the current boot files will work with a new kernel.

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

Successfully merging this pull request may close these issues.

3 participants