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

Raspberry Pi OS • Issue with update-initramfs on CM5 not updating correct kernel

$
0
0
Hello,

I'm working with initramfs on Raspberry Pi OS, and I've encountered an issue when compiling it on the CM5 module. The same process works fine on the Raspberry Pi 4B and CM4, but not on the CM5.

After some investigation, I found the cause: the "update-initramfs -u" command doesn't update the correct initramfs on the CM5. It updates the initramfs for the kernel version x.x.x+rpt-rpi-v8, whereas the actual running kernel is x.x.x+rpt-rpi-2712.

To work around this, I had to manually specify the kernel version using:

Code:

update-initramfs -u -k x.x.x+rpt-rpi-2712
It seems like update-initramfs may not be correctly identifying the current kernel version on the CM5. I'm not entirely sure how it determines the kernel version to update, but this behavior might indicate a small bug or mismatch in the tool's logic.

Has anyone else experienced this, or is there an official workaround?

Thanks!

Statistics: Posted by Iaca-Electronique — Wed Apr 16, 2025 10:08 am



Viewing all articles
Browse latest Browse all 2759