- RT kernel
- arm64/aarch64
- minimalized kernel modules/features for high quality audio playback
- only support Raspberry Pi 3B/3B+/4B
- only support ext2/3/4/vfat/xfs filesystem
# 1. prepare a Ubuntu 16.04 x86_64 install, upgrade, and get build tools.
sudo apt update && sudo apt upgrade -y
sudo reboot
sudo apt install -y libncurses5-dev bc build-essential gcc-aarch64-linux-gnu git unzip ccache
# 2. build kernel
git clone https://github.com/jesset/RPi-audio-kernel-build.git
cd RPi-audio-kernel-build
./kbuild.sh
# or, add a localversion
LOCALVERSION=-my-r1 ./kbuild.sh
# 3. install kernel tarball
# copy kernel tarball to RPi ...
sudo -i
cd / && tar --no-same-owner -xf /path/to/kernelbuild-XYZ.tar.xz
# 4. upgrade firmware (optional)
git clone --depth 1 https://github.com/raspberrypi/firmware.git
cd firmware
sudo cp -v start*.elf fixup*.dat bootcode.bin LICENCE.broadcom /boot/
https://isojed.nl/blog/2017/10/25/raspberry-pi-rt-preempt/
https://www.raspberrypi.org/documentation/linux/kernel/building.md
https://devsidestory.com/build-a-64-bit-kernel-for-your-raspberry-pi-3/