meta-raspberrypi
meta-raspberrypi copied to clipboard
scarthgap branch needs kernel rev bump to handle Compute Module 5
Hi,
For the past month or two I've been trying to get our yocto build to run on the CM5. I encountered two issues with this:
- On the 'full' version of the CM5 with eMMC, the kernel either panics or the eMMC device simply does not show up (issue #1411 looks similar to what I saw--I debugged further and there simply were no
mmcblkXdevices present). I have only tested with a single unit so I don't know if this is true for all of them or if it's tied to a particular eMMC part and maybe some variants of the CM5 work fine. - The dtb files for the "lite" version of the CM5 (no eMMC) appear to be missing--these are
bcm2712-rpi-cm5l-cm5ioandbcm2712-rpi-cm5l-cm4io
It seems like I have fixed both issues by changing to a newer kernel. I'm not sure what this repo's policies are when it comes to bumping kernel versions, but as scarthgap is the latest LTS release, it would likely be a boon to many to be able to use it with the CM5.
Here's the diff:
index b4d9953..7aaf3bc 100644
--- a/recipes-kernel/linux/linux-raspberrypi_6.6.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_6.6.bb
@@ -1,8 +1,8 @@
-LINUX_VERSION ?= "6.6.22"
+LINUX_VERSION ?= "6.6.74"
LINUX_RPI_BRANCH ?= "rpi-6.6.y"
LINUX_RPI_KMETA_BRANCH ?= "yocto-6.6"
-SRCREV_machine = "c04af98514c26014a4f29ec87b3ece95626059bd"
+SRCREV_machine = "a18d9ced4965462cb7b3b4252ada440395105308"
SRCREV_meta = "6a24861d6504575a4a9f92366285332d47c7e111"
KMETA = "kernel-meta"
I have not done much testing nor do I know which would be the best kernel version to bump to--I simply went for the newest "stable" tag on the kernel repo in the 6.6.y line.
As of commit e124d82 this appears to be fixed. Thank you!