From 40ca964d190f2eaf81655402e140ffa4c73ef70b Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 14 May 2024 13:46:17 +0200 Subject: [PATCH 1/2] linux: drop unused rpi4-64-kernel-misc.cfg * it was used only for linux-raspberrypi_4.19.inc dropped in: https://github.com/agherzan/meta-raspberrypi/commit/2afeee9b82f670b8a3d24a66d31381131555b5d4#diff-7460e33493167fc60e3c40dcb0b3b9298e0bac97d5945414349c89cecc1cf3f1 Signed-off-by: Martin Jansa --- .../linux/files/raspberrypi4-64/rpi4-64-kernel-misc.cfg | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 recipes-kernel/linux/files/raspberrypi4-64/rpi4-64-kernel-misc.cfg diff --git a/recipes-kernel/linux/files/raspberrypi4-64/rpi4-64-kernel-misc.cfg b/recipes-kernel/linux/files/raspberrypi4-64/rpi4-64-kernel-misc.cfg deleted file mode 100644 index fd97ed71f..000000000 --- a/recipes-kernel/linux/files/raspberrypi4-64/rpi4-64-kernel-misc.cfg +++ /dev/null @@ -1,2 +0,0 @@ -# see emmc node -CONFIG_MMC_SDHCI_IPROC=y From f4d59017cce82fd367baec33b009aba9cb2013ed Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 14 May 2024 13:48:23 +0200 Subject: [PATCH 2/2] linux: drop unused 5.15 version * 6.1 version was used by default since mickledore: https://github.com/agherzan/meta-raspberrypi/commit/12a1187b01644cb444106f7c8f498fbf519be276 and kirkstone for rpi5 MACHINEs since: https://github.com/agherzan/meta-raspberrypi/commit/9dc6673d41044f1174551120ce63501421dbcd85 * scarthgap uses 6.6 by default since: https://github.com/agherzan/meta-raspberrypi/commit/1cf3dd5e5ef86c5196c8544853857ab1561c748b * nobody is probably using 5.15 with newer release and there are issues with "iw reg" since wireless-regdb upgrade in oe-core as well as shown in: https://github.com/agherzan/meta-raspberrypi/pull/1317 so better to drop it from master/scarthgap together with rpi.scc used only for 5.15 and 0001-gcc-plugins-Reorganize-gimple-includes-for-GCC-13.patch used only by rpi.scc Signed-off-by: Martin Jansa --- ...eorganize-gimple-includes-for-GCC-13.patch | 50 ------------------- recipes-kernel/linux/files/rpi.scc | 1 - .../linux/linux-raspberrypi-v7_5.15.bb | 6 --- .../linux/linux-raspberrypi_5.15.bb | 32 ------------ 4 files changed, 89 deletions(-) delete mode 100644 recipes-kernel/linux/files/0001-gcc-plugins-Reorganize-gimple-includes-for-GCC-13.patch delete mode 100644 recipes-kernel/linux/files/rpi.scc delete mode 100644 recipes-kernel/linux/linux-raspberrypi-v7_5.15.bb delete mode 100644 recipes-kernel/linux/linux-raspberrypi_5.15.bb diff --git a/recipes-kernel/linux/files/0001-gcc-plugins-Reorganize-gimple-includes-for-GCC-13.patch b/recipes-kernel/linux/files/0001-gcc-plugins-Reorganize-gimple-includes-for-GCC-13.patch deleted file mode 100644 index 4f6468761..000000000 --- a/recipes-kernel/linux/files/0001-gcc-plugins-Reorganize-gimple-includes-for-GCC-13.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 32f53700aeef2f5c7797ddda66348fc0b29e1047 Mon Sep 17 00:00:00 2001 -From: Kees Cook -Date: Wed, 18 Jan 2023 12:21:35 -0800 -Subject: [PATCH] gcc-plugins: Reorganize gimple includes for GCC 13 - -The gimple-iterator.h header must be included before gimple-fold.h -starting with GCC 13. Reorganize gimple headers to work for all GCC -versions. - -Reported-by: Palmer Dabbelt -Acked-by: Palmer Dabbelt -Link: https://lore.kernel.org/all/20230113173033.4380-1-palmer@rivosinc.com/ -Cc: linux-hardening@vger.kernel.org -Signed-off-by: Kees Cook ---- -Upstream-Status: Pending - - scripts/gcc-plugins/gcc-common.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h -index 0c087614fc3e..27770c31214c 100644 ---- a/scripts/gcc-plugins/gcc-common.h -+++ b/scripts/gcc-plugins/gcc-common.h -@@ -77,8 +77,10 @@ - #include "varasm.h" - #include "stor-layout.h" - #include "internal-fn.h" -+#include "gimple.h" - #include "gimple-expr.h" - #include "gimple-fold.h" -+#include "gimple-iterator.h" - #include "context.h" - #include "tree-ssa-alias.h" - #include "tree-ssa.h" -@@ -91,11 +93,9 @@ - #include "tree-eh.h" - #include "stmt.h" - #include "gimplify.h" --#include "gimple.h" - #include "tree-ssa-operands.h" - #include "tree-phinodes.h" - #include "tree-cfg.h" --#include "gimple-iterator.h" - #include "gimple-ssa.h" - #include "ssa-iterators.h" - --- -2.39.1 - diff --git a/recipes-kernel/linux/files/rpi.scc b/recipes-kernel/linux/files/rpi.scc deleted file mode 100644 index bb6fffd97..000000000 --- a/recipes-kernel/linux/files/rpi.scc +++ /dev/null @@ -1 +0,0 @@ -patch 0001-gcc-plugins-Reorganize-gimple-includes-for-GCC-13.patch diff --git a/recipes-kernel/linux/linux-raspberrypi-v7_5.15.bb b/recipes-kernel/linux/linux-raspberrypi-v7_5.15.bb deleted file mode 100644 index 788398514..000000000 --- a/recipes-kernel/linux/linux-raspberrypi-v7_5.15.bb +++ /dev/null @@ -1,6 +0,0 @@ -# SPDX-FileCopyrightText: Andrei Gherzan -# -# SPDX-License-Identifier: MIT - -require linux-raspberrypi-v7.inc -require linux-raspberrypi_5.15.bb diff --git a/recipes-kernel/linux/linux-raspberrypi_5.15.bb b/recipes-kernel/linux/linux-raspberrypi_5.15.bb deleted file mode 100644 index 3f167bb29..000000000 --- a/recipes-kernel/linux/linux-raspberrypi_5.15.bb +++ /dev/null @@ -1,32 +0,0 @@ -LINUX_VERSION ?= "5.15.92" -LINUX_RPI_BRANCH ?= "rpi-5.15.y" -LINUX_RPI_KMETA_BRANCH ?= "yocto-5.15" - -SRCREV_machine = "14b35093ca68bf2c81bbc90aace5007142b40b40" -SRCREV_meta = "509f4b9d68337f103633d48b621c1c9aa0dc975d" - -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://rpi.scc \ - file://powersave.cfg \ - file://android-drivers.cfg \ - " - -require 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}"