From 8a8b6a3a2f9774bae073aefdbd35e3127ea15f51 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Fri, 21 Feb 2025 23:55:28 +0100 Subject: [PATCH] configs/acmesystems_acqua_a5_*: switch to BR2_LINUX_KERNEL_CUSTOM_DTS_DIR Before updating the kernel to 6.12 version, use the newly introduced BR2_LINUX_KERNEL_CUSTOM_DTS_DIR option to provide the Out-of-tree Device Tree Source file with its vendor subdirectory that is needed since kernel 6.12 [1]. Revert the sama5d31.dtsi include path update added by the previous kernel version bump 6.6.12 [2]. As noticed by Michael Walle, newer OOT device trees should use the same #include directives as the in-tree device trees to ease sharing the files between u-boot, linux and OOT external trees [3]. [1] https://lists.buildroot.org/pipermail/buildroot/2024-October/765463.html [2] 8fb5209885 ("configs/acmesystems_acqua_a5_*: bump to Linux 6.6.12") [3] https://lore.kernel.org/buildroot/D6UG5Z1HUN9N.GWVHB4L823ZC@kernel.org/ Cc: Edgar Bonet Acked-by: Edgar Bonet Tested-by: Edgar Bonet Signed-off-by: Romain Naour Reviewed-by: Niklas Cassel Signed-off-by: Romain Naour Signed-off-by: Julien Olivain --- .../acqua-a5/{ => dts/microchip}/at91-sama5d3_acqua.dts | 2 +- configs/acmesystems_acqua_a5_256mb_defconfig | 2 +- configs/acmesystems_acqua_a5_512mb_defconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename board/acmesystems/acqua-a5/{ => dts/microchip}/at91-sama5d3_acqua.dts (99%) diff --git a/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts b/board/acmesystems/acqua-a5/dts/microchip/at91-sama5d3_acqua.dts similarity index 99% rename from board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts rename to board/acmesystems/acqua-a5/dts/microchip/at91-sama5d3_acqua.dts index 411d1942f5..60be8a67cd 100644 --- a/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts +++ b/board/acmesystems/acqua-a5/dts/microchip/at91-sama5d3_acqua.dts @@ -9,7 +9,7 @@ * Licensed under GPLv2 or later. */ /dts-v1/; -#include "microchip/sama5d31.dtsi" +#include "sama5d31.dtsi" / { model = "Acme Systems Acqua SOM"; diff --git a/configs/acmesystems_acqua_a5_256mb_defconfig b/configs/acmesystems_acqua_a5_256mb_defconfig index b102dde0ba..d21ff97216 100644 --- a/configs/acmesystems_acqua_a5_256mb_defconfig +++ b/configs/acmesystems_acqua_a5_256mb_defconfig @@ -13,7 +13,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.30" BR2_LINUX_KERNEL_DEFCONFIG="sama5" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts" +BR2_LINUX_KERNEL_CUSTOM_DTS_DIR="board/acmesystems/acqua-a5/dts" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/configs/acmesystems_acqua_a5_512mb_defconfig b/configs/acmesystems_acqua_a5_512mb_defconfig index da54eaf620..d83a058537 100644 --- a/configs/acmesystems_acqua_a5_512mb_defconfig +++ b/configs/acmesystems_acqua_a5_512mb_defconfig @@ -13,7 +13,7 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.30" BR2_LINUX_KERNEL_DEFCONFIG="sama5" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts" +BR2_LINUX_KERNEL_CUSTOM_DTS_DIR="board/acmesystems/acqua-a5/dts" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_TARGET_ROOTFS_EXT2=y BR2_TARGET_ROOTFS_EXT2_4=y