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:
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!
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
Has anyone else experienced this, or is there an official workaround?
Thanks!
Statistics: Posted by Iaca-Electronique — Wed Apr 16, 2025 10:08 am