-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
At this moment the RPi5 image does not build properly, and CM5 and RPi500 are not supported at all. This patch does several things: * Bumps kernel to 6.6 on the Pi5 image * Bumps the balena bootloader kernel to 6.6 * Adds CM5 and RPi500 device trees to the RPi5 image It was necessary to backport the 6.6 recipe from meta-raspberrypi, as 6.6 is only available from scarthgap up, and balena-raspberrypi is still on kirkstone. RPi5, RPi500 and CM5 are therefore supported by a single device type. Change-type: minor Signed-off-by: Michal Toman <michalt@balena.io>
- Loading branch information
Showing
4 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
33 changes: 33 additions & 0 deletions
33
layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_6.6.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
FILESEXTRAPATHS:prepend := "${THISDIR}/../../../meta-raspberrypi/recipes-kernel/linux/files:" | ||
|
||
LINUX_VERSION ?= "6.6.69" | ||
LINUX_RPI_BRANCH ?= "rpi-6.6.y" | ||
LINUX_RPI_KMETA_BRANCH ?= "yocto-6.6" | ||
|
||
SRCREV_machine = "de92e4b5ffe3b30e0e4156b3424e90ddb95a50ff" | ||
SRCREV_meta = "dff911ce87fe7b9944c6058907f079ddb0f3e840" | ||
|
||
KMETA = "kernel-meta" | ||
|
||
SRC_URI = " \ | ||
git://github.com/raspberrypi/linux.git;name=machine;branch=${LINUX_RPI_BRANCH};protocol=https \ | ||
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${LINUX_RPI_KMETA_BRANCH};destsuffix=${KMETA} \ | ||
file://powersave.cfg \ | ||
file://android-drivers.cfg \ | ||
" | ||
|
||
require recipes-kernel/linux/linux-raspberrypi.inc | ||
|
||
KERNEL_DTC_FLAGS += "-@ -H epapr" | ||
|
||
RDEPENDS:${KERNEL_PACKAGE_NAME}:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}" | ||
RDEPENDS:${KERNEL_PACKAGE_NAME}-base:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-base" | ||
RDEPENDS:${KERNEL_PACKAGE_NAME}-image:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-image" | ||
RDEPENDS:${KERNEL_PACKAGE_NAME}-dev:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-dev" | ||
RDEPENDS:${KERNEL_PACKAGE_NAME}-vmlinux:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-vmlinux" | ||
RDEPENDS:${KERNEL_PACKAGE_NAME}-modules:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-modules" | ||
RDEPENDS:${KERNEL_PACKAGE_NAME}-dbg:raspberrypi-armv7:append = " ${RASPBERRYPI_v7_KERNEL_PACKAGE_NAME}-dbg" | ||
|
||
DEPLOYDEP = "" | ||
DEPLOYDEP:raspberrypi-armv7 = "${RASPBERRYPI_v7_KERNEL}:do_deploy" | ||
do_deploy[depends] += "${DEPLOYDEP}" |