@@ -118,7 +118,11 @@ Build and install the kernel, modules, and Device Tree blobs; this step can take
118
118
----
119
119
make -j4 zImage modules dtbs
120
120
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/
122
126
sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/firmware/overlays/
123
127
sudo cp arch/arm/boot/dts/overlays/README /boot/firmware/overlays/
124
128
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
308
312
----
309
313
sudo cp mnt/fat32/$KERNEL.img mnt/fat32/$KERNEL-backup.img
310
314
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/
312
320
sudo cp arch/arm/boot/dts/overlays/*.dtb* mnt/fat32/overlays/
313
321
sudo cp arch/arm/boot/dts/overlays/README mnt/fat32/overlays/
314
322
sudo umount mnt/fat32
0 commit comments