projekte:sekwai:rt_kernel
This is an old revision of the document!
Table of Contents
RealTime (RT) Kernel
Compilieren
sudo apt install git bc bison flex libssl-dev make libncurses5-dev #I think this is all the tools requiredmkdir kernel && cd kernel/git clone --depth=1 --branch rpi-6.12.y https://github.com/raspberrypi/linuxcd linux/zcat ../patch-6.12.39-rt11.patch.gz | patch -p1 --dry-run#check the patch fitszcat ../patch-6.12.39-rt11.patch.gz | patch -p1KERNEL=kernel8make ARCH=arm64 bcm2711_defconfigmake ARCH=arm64 menuconfigGeneral setup --->
Preemption Model (Preemptible Kernel (Low-Latency Desktop)) ---> [*] Fully Preemptible Kernel (Real-Time) [ ] Preemption behaviour defined on boot- Beim Exit Config Save → Yes
nano .config
CONFIG_LOCALVERSION="-V8_DrKlipper_RT"Hier auf gar keinen Fall Leerzeichen einbauen. Gibt sonst am Ende Compile und Kopierfehler!
time make -j4 ARCH=arm64 Image.gz modules dtbs
echo $KERNEL sudo make modules_install sudo cp arch/arm64/boot/dts/broadcom/*.dtb /boot/ sudo cp arch/arm64/boot/dts/overlays/*.dtb* /boot/overlays/ sudo cp arch/arm64/boot/dts/overlays/README /boot/overlays/ sudo cp arch/arm64/boot/Image.gz /boot/$KERNEL.img
Links
projekte/sekwai/rt_kernel.1753515558.txt.gz · Last modified: by dominik
