Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5035

Troubleshooting • Failed to install new local compiled kernel

$
0
0
Hi,

I would like to compile the kernel locally with some change, I follow the guide to compile and install kernel.

deconfig

Code:

KERNEL=kernel_2712make bcm2712_defconfig

Code:

make -j4 Image.gz modules dtbssudo make modules_installsudo cp arch/arm64/boot/dts/broadcom/*.dtb /boot/firmware/sudo cp arch/arm64/boot/dts/overlays/*.dtb* /boot/firmware/overlays/sudo cp arch/arm64/boot/dts/overlays/README /boot/firmware/overlays/sudo cp arch/arm64/boot/Image.gz /boot/firmware/$KERNEL.img
While after reboot, the kernel version is not changed.

Code:

adm@raspberrypi:~/linux $ uname -r6.1.0-rpi7-rpi-2712
While the version I compiled is

Code:

6.1.63-v8-16k+
The issue is not happening every time, sometimes it can upgrade correctly, sometimes not. Any one meet the similar issue before.

Statistics: Posted by joshuajxy — Fri Feb 02, 2024 7:22 am



Viewing all articles
Browse latest Browse all 5035

Trending Articles