summaryrefslogtreecommitdiff
path: root/md/writeup
diff options
context:
space:
mode:
authorArturs Artamonovs <dos21h@gmail.com>2023-12-12 22:22:28 +0000
committerArturs Artamonovs <dos21h@gmail.com>2023-12-12 22:22:28 +0000
commit660438d0f123d87c04dea1eef26a4167123e3390 (patch)
tree467d79ebd5370bdab3af6e0cf7ea02fd520ad341 /md/writeup
parente746da43ea7271f44933571e78c8f89fc9a992a4 (diff)
downloadmd-content-660438d0f123d87c04dea1eef26a4167123e3390.tar.gz
md-content-660438d0f123d87c04dea1eef26a4167123e3390.zip
Added notes how to update kernel for raspi4. Usermode helper ready
Diffstat (limited to 'md/writeup')
-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