raspberry-pi icon indicating copy to clipboard operation
raspberry-pi copied to clipboard

Raspberry Pi 5

Open dpst999 opened this issue 1 year ago • 2 comments

Unable to run alamlinux on raspberry pi 5. It is not booting at all

dpst999 avatar Jan 03 '24 14:01 dpst999

There's no images available for Raspberry Pi 5 now. Work in progress. Hold on.

metalefty avatar Jan 05 '24 02:01 metalefty

I couldn't find a RPi 5 AL8 image several weeks ago (March 2024) and tried using the Raspberry Pi OS kernel and modules to replace the AL8 equivalents on the RPi 4 AL8 image. Boots ok, and updates fine. The kernel is 6.6.x not the AL8 aarch64 native 6.1 but doesn't seem to matter. Haven't tried with Gnome yet as I have been busy. I think I got all the details in https://github.com/pellucida/almalinux8-on-raspberry-pi5 but have to return to it soon to automate the process. Hopefully official images will appear and no such skulduggery will then be required.

pellucida avatar May 02 '24 13:05 pellucida

Thanks!

Anyway, what we should do is to update raspberrypi2 package that contains files for Pi 5 such as *.dtb and bootcode.

metalefty avatar May 15 '24 09:05 metalefty

I could boot RPi 5 successfully. There are still several things to do though. There's no scheduled release right now but surely approaching!

WIN_20240527_16_28_39_Pro

metalefty avatar May 27 '24 13:05 metalefty

Thanks metalefty, I notice that this for AL9.4. Is AL8 being worked on? Or is the plan to get 9.4 (kernel 6.6) working and back porting the fixes to AL8 (kernel 6.1)?

pellucida avatar May 28 '24 03:05 pellucida

It might happen after I finish my work on AL9/RPi5 but I have no plan for AL8/RPi5 at the moment.

metalefty avatar May 28 '24 06:05 metalefty

RPi5 is supported in AlmaLinux 8 images as well

andrewlukoshko avatar Jun 07 '24 11:06 andrewlukoshko

Many thanks Andrew. Al8.10 works a treat on a 8G RPi5. I am probably a bit dense but its not obvious to me where the AL8 RPi specific kernel sources are kept. The kernel version for AL8 etc on x86_64 is 4.18.0 but on RPi its 6.6.28 so must be different source trees. I wish to build the ZFS kmods but I am not sure whether I can do this on the RPi (slow) or whether all the kernel stuff is done in a cross development environment (PITA to set up.) Thanks again.

pellucida avatar Jun 09 '24 04:06 pellucida

@pellucida RPi kernel source for AL8 is here: https://git.almalinux.org/rpms/raspberrypi2/src/branch/a8 Or you can download src.rpm here: https://vault.almalinux.org/8/raspberrypi/Source/Packages/raspberrypi2-6.6.28-20240423.v8.1.el8.src.rpm

andrewlukoshko avatar Jun 13 '24 21:06 andrewlukoshko

Closing. Raise a new issue if you still have an issue.

metalefty avatar Jun 14 '24 08:06 metalefty