This project started as an attempt to package the Raspberry Pi Foundation official fork of the Linux kernel into a set of RPMS, therefore Linux4RPi. The approach to package the kernel then shifted to using the Red Hat Linux Kernel with some patches that add missing drivers and configurations. The repository also includes other useful tools for the Raspberry Pi such as rpi-eeprom-update.

Right now have been added several packages that are not included in the official repositories.

Advanced users only

Disclaimer: While the packages provided by this project allow to use many functions of a Raspberry Pi 4 on RHEL9 it might be trivial to make everything work correctly with the right configurations. The owner of this project cannot guarantee the quality of the software and might release software with changes that break certain functionalities or even prevent the system from booting. Use at your own risk! Advice, bug reports and requests are welcome and can be done on the companion discussion topic.

Installation Instructions

  • First enable this repo, for example: dnf copr enable lucamagrone27/Linux4RPi
  • Then install a package: dnf install <package>

Note: packages take for granted that the Raspberry Pi boot partition, where you usually find files such as bcm2711-rpi-4-b.dtb and config.txt, is mounted at /boot/efi instead of the usual /boot

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

* Total number of packages downloaded in the last seven days.

Modified centos-stream-9-aarch64:

  • Build time repositories:$basearch/
  • Mock options: --with upstream_tarball --with all_codecs --without bootstrap

Modified epel-9-aarch64:

  • Build time repositories: copr://lucamagrone27/epel-9-extended
  • Mock options: --with upstream_tarball --with all_codecs --without bootstrap

Modified fedora-36-aarch64:

  • Mock options: --with upstream_tarball --with all_codecs --without bootstrap

This is a companion discussion topic for the original entry at