From e974a2c2e696fa43305ad159067817609b1dfb3c Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 5 Feb 2021 18:09:03 +0100 Subject: [PATCH] linux-raspberrypi: add recipe for 5.10 version * 5.10.11 is now considered stable: https://github.com/raspberrypi/firmware/blob/stable/extra/uname_string7 https://github.com/raspberrypi/firmware/commit/8572bb50bf24a9ffef949ced69776e66559f4afe Gatesgarth specific: - Use KERNEL_EXTRA_ARG instead of KERNEL_DTC_FLAGS Signed-off-by: Martin Jansa (cherry picked from commit dd163e0856dbc035456e4e9f675e4383e6cb2437) Signed-off-by: Ricardo Salveti --- .../linux/linux-raspberrypi_5.10.bb | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 recipes-kernel/linux/linux-raspberrypi_5.10.bb diff --git a/recipes-kernel/linux/linux-raspberrypi_5.10.bb b/recipes-kernel/linux/linux-raspberrypi_5.10.bb new file mode 100644 index 0000000..25dbedd --- /dev/null +++ b/recipes-kernel/linux/linux-raspberrypi_5.10.bb @@ -0,0 +1,20 @@ +LINUX_VERSION ?= "5.10.13" +LINUX_RPI_BRANCH ?= "rpi-5.10.y" + +SRCREV_machine = "34263dc81a12862c66e2593bb26c09d5fd20f46d" +SRCREV_meta = "5833ca701711d487c9094bd1efc671e8ef7d001e" + +KMETA = "kernel-meta" + +SRC_URI = " \ + git://github.com/raspberrypi/linux.git;name=machine;branch=${LINUX_RPI_BRANCH} \ + git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.10;destsuffix=${KMETA} \ + file://powersave.cfg \ + file://android-drivers.cfg \ + " + +require linux-raspberrypi.inc + +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" + +KERNEL_EXTRA_ARGS += "DTC_FLAGS='-@ -H epapr'"