Linux Kernel upgrade request

My device running Raspberry Pi CM5 is affected by a bug in the RPi Linux kernel which has been fixed (fixup! mmc: sdhci-of-dwcmshc: define sdio timeout clocks by pelwell · Pull Request #6788 · raspberrypi/linux · GitHub), but not released yet (fixed a few days ago). Once it’s released (I assume it will be in version 6.12.23), what’s the process to request this to be pulled into the BalenaOS version? I noticed that the latest BalenaOS version 6.5.21 is using Linux Kernel 6.12.20. Since there’s no option to update the kernel in the host, I assume this is the only way to get the fix in (besides building my own BalenaOS which I’d prefer to avoid).

Hello @HakanL thanks for your message.

Honestly we don’t have a timeline for this Linux Kernel update.

Do you think you can request this creating a github issue motivating why the bump to .23 is needed? Then maybe the balenaOS team can include the bump when they are doing some other work.

In general we don’t follow every single patch bump and the kernel updates are done mostly opportunistically currently.

Let us know if you can do this! Thanks!

Thanks, I’ll do that once it’s been released. You mean here right? GitHub · Where software is built

1 Like

@HakanL it depends. Is this something that might be available for every device types or just Raspberry Pi?

If it’s just Raspberry Pi i would say here

Got it, it’s specific to Raspberry Pi 5 + CM5 as it’s a bug in the SDHC driver initialization when using the secondary GPIO pins.

1 Like

The RPi Linux kernel update has been released now. I have opened a ticket here: Update Linux kernel to 6.12.23 or later to include fix for SDHC over alternate GPIO pins on Raspberry Pi 5 / CM5 · Issue #1236 · balena-os/balena-raspberrypi · GitHub
Anything you can do to push this through is appreciated so I can continue my testing on CM5 with Balena.

1 Like

Thanks for sharing @HakanL

Now the OS team will take care and we will keep you posted once this will get merged in the newer balenaOS version!

Let’s stay connected

1 Like

Hey @HakanL , kernel 6.12.25 is now available in balenaOS v6.5.24+rev1 and later for these devices.

2 Likes

Awesome @klutchell I can confirm that it’s updated and the kernel fix is working! Thanks for addressing this quickly!

1 Like

Thanks for the confirmation @HakanL and for being active here :waving_hand:

1 Like