summaryrefslogtreecommitdiffstats
path: root/md/writeup/compile_linux_kernel.md
diff options
context:
space:
mode:
Diffstat (limited to 'md/writeup/compile_linux_kernel.md')
-rw-r--r--md/writeup/compile_linux_kernel.md11
1 files changed, 11 insertions, 0 deletions
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