(28-Dec-2023, 04:44 PM)Snoopy8 Wrote: [ -> ]Can't upload tar file to Wiki. Have sent you link to access Google Docs.
Don't think I see this anywhere yet, will double check later.
(28-Dec-2023, 04:44 PM)Snoopy8 Wrote: [ -> ]I suspect that you may be able to use /boot/firmware/config.txt to reference the new kernel but I was not able to find the right fields.
https://www.raspberrypi.com/documentatio...g_txt.html
Yes, it's the kernel parameter. However the boot image is actually in /boot/firmware, and it's kernel_v8.img etc for bookworm and vmlinuz for Ubuntu. The kernel is compressed too meaning I have to decompress the image to find the version string. Kind of PITA because on PC systems the kernel version is right in the kernel image filename making it easy.
(29-Dec-2023, 09:56 AM)agent_kith Wrote: [ -> ]Don't think I see this anywhere yet, will double check later.
Please check your messages here
Following on from the previous posts with AK, this official Raspberry documentation gives some guidance on how to replace an existing kernel
https://www.raspberrypi.com/documentatio...ernel.html
Rather than overwrite the existing kernel, used the following:
PHP Code:
sudo mkdir /boot/firmware/so
sudo mkdir /boot/firmware/so/overlays-so
*
* the following files from a make
*
sudo cp arch/arm64/boot/dts/broadcom/*.dtb /boot/firmware/so/
sudo cp arch/arm64/boot/dts/overlays/*.dtb* /boot/firmware/so/overlays-so/
sudo cp arch/arm64/boot/dts/overlays/README /boot/firmware/so/overlays-so/
sudo cp arch/arm64/boot/Image.gz /boot/firmware/kernel-so.img
sudo nano /boot/firmware/config.txt * to add the following
os_prefix=so/
overlay_prefix=overlays-so/
kernel=/kernel-so.img
To copy the real time kernel to another instance, will need to tar the above make folders and files, and the folder
/usr/lib/modules/6.6.35-rt34-so+. Replace "6.6.35-rt34-so+" with the name of the RT kernel.