Edit Info Other
Login

RaspberryPi"

Differences between revisions 7 and 8
Revision 7 as of 2021-02-07 17:40:07
Size: 1906
Comment:
Revision 8 as of 2021-04-11 19:34:59
Size: 2051
Comment:
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:

== Configurations ==
=== Sysctl ===
# set vm.min_free_kbytes for rpi
cat>/etc/sysctl.d/98-rpi.conf<<EOF
vm.min_free_kbytes = 16384
EOF

About this Howto

This documentation is about using Raspberry Pi Foundation "downstream kernel" and components on a Fedora (or CentOS) userspace. As with Fedora, this process is compatible with Raspberry Pi 2 and later model (No original Raspberry Pi or Pi Zero support is planned). Unless using a Raspberry Pi 4 with 8Gio of RAM. It's recommended to use the 32bit version over the 64bit. For graphics usage, it's really recommended to have a Raspberry Pi 4 which default to the vc4/v3d driver.

It's possible to use a Fedora official image as a base, then install additional repositories and adjust configuration. Or use the dedicated images.

Using downstream kernel on Fedora

  • For Fedora 32+ and CentOS 8: (available as aarch64 only)

sudo dnf copr enable dwrobel/kernel-rpi 
sudo dnf install kernel #you might need to mention the extact kernel to use
sudo dnf install kernel-rpi4 # for the raspberry-pi 4

Using RPM Fusion RPI Repositories on Fedora

  • For Fedora 32 and later: (available as armv7hl and aarch64).

sudo dnf config-manager --add-repo=https://mirrors.rpmfusion.org/free/fedora/rpi/rpmfusion-rpi.repo
sudo dnf install raspberrypi-vc-utils raspberrypi-vc-libs

Using dedicated RPI Images

Updating the eeprom on RPI4

sudo ./rpi-eeprom-update 

Configurations

Sysctl

# set vm.min_free_kbytes for rpi cat>/etc/sysctl.d/98-rpi.conf<<EOF vm.min_free_kbytes = 16384 EOF

Known issues

  • There is a CMA memory allocation issue with graphics on the Pi3 using vc4, best is to disable vc4 (will be un-accelerated).

Bug Report


CategoryHowto

Howto/RaspberryPi (last edited 2024-04-24 07:23:36 by DamianWrobel)