forked from raspberrypi/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
notcarbide edited this page Oct 28, 2021
·
8 revisions
This wiki contains useful information regarding the ZapPi Linux kernel.
Contents:
- Linux 5.10.y 32-bit kernel (until 64-bit RasPiOS release)
- Based on Raspberry Pi release tags for stability
- 300Hz timer frequency
- Link Time Optimization
- Compiled using Clang "Nightlies"
- Compiler optimizations (-O3, -mtune to cpu, -ffp-model=fast)
- Disabled debugging options to help performance
- Multigenerational LRU (Disabled/Untested on ARMv6)
- Rockchip Linux boot time optimizations
- BBRv2 TCP congestion control
- Mainline scheduler backports
- Rockchip Linux scheduler performance patch
- Scheduler task-based CPUFreq boosting (no-op on ARMv6)
- Misc enhancements from Android, Tizen, Linux
- Tons of inspiration (+patches) from Zen Kernel
- Full list of changes compared to upstream RPi
Zap Kernel is intended to be a "drag-and-drop" replacement for Raspberry Pi OS.
Backup your kernel:
- RPi0/1:
sudo cp /boot/kernel.img /boot/kernel-bck.img
- RPi2/3:
sudo cp /boot/kernel7.img /boot/kernel7-bck.img
- RPi4:
sudo cp /boot/kernel7l.img /boot/kernel7l-bck.img
Unzip the package into a directory:
unzip zappi*-kernel-202X-XX-XX.zip -d out
Run the install script within the extracted directory:
cd out
./install.sh
The backup kernel can be booted by adding, for example, the following to /boot/config.txt:
kernel=kernel7l-bck.img
Use whichever *-bck.img
name referenced above.
Currently builds are served through Jenkins. (Sorted by level of support.)
RPi4:
RPi2/3:
RPi0/1: