Install this package:
emerge -a sys-kernel/rpi-kernel
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask sys-kernel/rpi-kernel
Or alternatively:
emerge --autounmask-write -a sys-kernel/rpi-kernel
<pkgmetadata> <use> <flag name="initramfs">Builds an initramfs with Dracut. Untested</flag> <flag name="pi1">Builds the kernel for the Original Pi</flag> <flag name="pi2">Builds the kernel for the Pi 2</flag> <flag name="pi3">Builds the kernel for the Pi 3</flag> <flag name="pi4">Builds the kernel for the Pi 4</flag> <flag name="pi5">Builds the kernel for the Pi 5</flag> </use> <upstream> <remote-id type="github">raspberrypi/linux</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p sys-kernel/rpi-kernel |
euse -E <flag> -p sys-kernel/rpi-kernel |
euse -D <flag> -p sys-kernel/rpi-kernel
| Flag | Description | 6.18.9999 | 6.12.9999 |
|---|---|---|---|
| debug | ⚠️ | ✓ | ✓ |
| pi1 | Builds the kernel for the Original Pi | ✓ | ✓ |
| pi2 | Builds the kernel for the Pi 2 | ✓ | ✓ |
| pi3 | Builds the kernel for the Pi 3 | ✓ | ✓ |
| pi4 | Builds the kernel for the Pi 4 | ✓ | ✓ |
| pi5 | Builds the kernel for the Pi 5 | ✓ | ✓ |