From 660438d0f123d87c04dea1eef26a4167123e3390 Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Tue, 12 Dec 2023 22:22:28 +0000 Subject: Added notes how to update kernel for raspi4. Usermode helper ready --- md/writeup/compile_linux_kernel.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'md/writeup/compile_linux_kernel.md') diff --git a/md/writeup/compile_linux_kernel.md b/md/writeup/compile_linux_kernel.md index bb6d746..7dc20d8 100644 --- a/md/writeup/compile_linux_kernel.md +++ b/md/writeup/compile_linux_kernel.md @@ -147,6 +147,17 @@ All of this should be enought to run kernel with qemu ## Compile module --> +### Raspberry Pi 4 + +```sh +make -j4 Image.gz modules dtbs +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/kernel8.img +``` + ## Linux patches -- cgit v1.2.3