10000 Merge pull request #3326 from pelwell/patch-25 · peterharperuk/documentation@fba0e45 · GitHub
[go: up one dir, main page]

Skip to content

Commit fba0e45

Browse files
author
Alasdair Allan
authored
Merge pull request raspberrypi#3326 from pelwell/patch-25
Update building instructions for kernel 6.5 and later
2 parents e5d4ad8 + b2ab3db commit fba0e45

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

documentation/asciidoc/computers/linux_kernel/building.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,11 @@ Build and install the kernel, modules, and Device Tree blobs; this step can take
118118
----
119119
make -j4 zImage modules dtbs
120120
sudo make modules_install
121-
sudo cp arch/arm/boot/dts/*.dtb /boot/firmware/
121+
# Choose one of the following based on the kernel version
122+
# For kernels up to 6.4:
123+
sudo cp arch/arm/boot/dts/*.dtb /boot/firmware/
124+
# For kernel 6.5 and above:
125+
sudo cp arch/arm/boot/dts/broadcom/*.dtb /boot/firmware/
122126
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/firmware/overlays/
123127
sudo cp arch/arm/boot/dts/overlays/README /boot/firmware/overlays/
124128
sudo cp arch/arm/boot/zImage /boot/firmware/$KERNEL.img
@@ -308,7 +312,11 @@ Finally, copy the kernel and Device Tree blobs onto the SD card, making sure to
308312
----
309313
sudo cp mnt/fat32/$KERNEL.img mnt/fat32/$KERNEL-backup.img
310314
sudo cp arch/arm/boot/zImage mnt/fat32/$KERNEL.img
311-
sudo cp arch/arm/boot/dts/*.dtb mnt/fat32/
315+
# Choose one of the following based on the kernel version
316+
# For kernels up to 6.4:
317+
sudo cp arch/arm/boot/dts/*.dtb mnt/fat32/
318+
# For kernel 6.5 and above:
319+
sudo cp arch/arm/boot/dts/broadcom/*.dtb mnt/fat32/
312320
sudo cp arch/arm/boot/dts/overlays/*.dtb* mnt/fat32/overlays/
313321
sudo cp arch/arm/boot/dts/overlays/README mnt/fat32/overlays/
314322
sudo umount mnt/fat32

0 commit comments

Comments
 (0)
0