summaryrefslogtreecommitdiff
path: root/md/writeup/compile_linux_kernel.md
diff options
context:
space:
mode:
authorArturs Artamonovs <dos21h@gmail.com>2023-12-12 22:23:07 +0000
committerArturs Artamonovs <dos21h@gmail.com>2023-12-12 22:23:07 +0000
commitabd86a19625c94610cfca5be6b9c5e74d4e60e58 (patch)
tree476377e3f40a98f5fe68e03b0b56dcb29cb10b0c /md/writeup/compile_linux_kernel.md
parent23d6ca6cc18ca5c27d6d6b249842f90a39d753aa (diff)
parent660438d0f123d87c04dea1eef26a4167123e3390 (diff)
downloadmd-content-abd86a19625c94610cfca5be6b9c5e74d4e60e58.tar.gz
md-content-abd86a19625c94610cfca5be6b9c5e74d4e60e58.zip
Merge branch 'new/kernel_notes'
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