Hello - I'm new to this forum and fairly new to linux.
I have a mismatch between the kernel on my RPi4 and the latest repository version and cannot find instructions on how to resolve this.
I am asking this question in the context of a package/distro which I don't have control over, so am tracking their releases. I want to add some packages which are [currently] outside their release. One such package requires the headers.
[quote]
[alarm@[..] ~]$ uname -r
6.6.36-1-rpi
[alarm@[..] ~]$
[/quote]
[quote]
[alarm@[..] ~]$ pacman -Q linux-rpi-headers
error: package 'linux-rpi-headers' was not found
[alarm@[..] ~]$
[/quote]
[quote]
[alarm@[..] ~]$ pacman -Ss linux-rpi-headers
core/linux-rpi-headers 6.6.40-1
Headers and scripts for building modules for Linux kernel
[alarm@[..] ~]$
[/quote]
I cannot find in the RPi Documentation, or do not understand, how either to update the kernel for a non RaspberryOS distro, or to load the headers for linux 6.6.36-1-rpi.
I have looked at themake_clickable_callback(MAGIC_URL_FULL, ' ', 'http://alaa.ad24.cz/', '', ' class="postlink"') archive but unfortunately the headers for 6.6.36-1-rpi are missing. So I think my only option is to upgrade the kernel, but I can't find out how on the RPi. I'm aware it lives on /boot, but need the instructions how to get it there.
For the moment I have not done pacman -Syu (i) because the headers are not installed anyway and (ii) in case it makes things worse.
Can anybody help?
And a bonus would be how to keep kernel and headers aligned via DKMS in the future, if possible.
Tks
R