AlmaLinux 2318 Published by

Koichiro Iwao announced that AlmaLinux has now support for the Raspberry Pi 5. The project began with a significant interest in Raspberry Pi images, which are popular among DIY enthusiasts and widely used to teach computing and programming.

The release of Raspberry Pi 5 in October 2023 has boosted interest in AlmaLinux for Raspberry Pi. The author, who had previously contributed to AlmaLinux Raspberry Pi images, learned about the Raspberry Pi boot procedure and the differences between Pi 4 and Pi 5. They rebase the kernel on Raspberry Pi OS sources and update the firmware package, guaranteeing that the build scripts are ready to generate Raspberry Pi 5 images.





AlmaLinux with Raspberry Pi 5 Support!

Raspberry Pi 5 support has been much anticipated in the AlmaLinux community, and today we are very excited to share great news. AlmaLinux now has support for Raspberry Pi 5!

How it all started

When I joined the AlmaLinux Community, I had a keen interest in Raspberry Pi images. Raspberry Pi is widely known for its role in teaching computing and programming and is also a favorite among DIY enthusiasts. Living in Japan, where the  Raspberry Pi community is exceptionally active, I felt inspired to have a hand in boosting the popularity of AlmaLinux OS.

There were already existing Raspberry Pi images, so I began contributing by updating them. The release of Raspberry Pi 5 in October 2023, with its significant upgrades and improvements, brought even more interest in AlmaLinux for Raspberry Pi. As requests for updated images started to appear, I felt motivated to continue my contributions. AlmaLinux’s commitment to providing top-notch software support and user experience only fueled my enthusiasm further. This is what drives me to remain actively involved in the AlmaLinux Raspberry Pi community.

Working Process

Typically, the kernels used to build AlmaLinux Raspberry Pi images were created by  Pablo Greco from CentOS. However, the process is quite challenging and, like any open-source project, it benefits from contributions. This challenge intrigued me, so I decided to get involved.

My first step was to learn the Raspberry Pi boot process to build AlmaLinux’s kernel package based on the  Raspberry Pi kernel, which is a fork of the Linux kernel. Although I had previously contributed to AlmaLinux Raspberry Pi images, I didn’t know much about the boot process. It took considerable time and effort to successfully build a kernel on my ARM environment, overcoming failed builds and boot issues along the way. These attempts allowed me to understand the Raspberry Pi boot process more deeply and identify what was going wrong.

Another challenge was understanding the differences between Pi 4 and Pi 5. Gathering all this information helped me  rebase the kernel to  Raspberry Pi OS sources, resulting in a successfully working kernel for Raspberry Pi 5.

The final step involved updating the Raspberry Pi  firmware package. With everything in place, the  build scripts were ready to create images with Raspberry Pi 5 support.

AlmaLinux with Raspberry Pi 5 Support!