* [Buildroot] [PATCH 1/1] configs/freescale_imx7dsabresd: bump BSP components to lf-6.6.23-2.0.0
@ 2024-07-28 17:37 Julien Olivain
2024-07-29 18:20 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Julien Olivain @ 2024-07-28 17:37 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain, Fabio Estevam
This commit bumps U-Boot and Linux kernel to the NXP BSP
lf-6.6.23-2.0.0 versions.
While bumping those BSP components, this commit also adds the custom
hashes by enabling BR2_DOWNLOAD_FORCE_CHECK_HASHES=y in this
defconfig. A _PATCH_DIR is added for that purpose and hash files are
added in it. The ".checkpackageignore" entry for this defconfig is
also removed.
Also, since commit dc0f721 "package/gcc: switch to 13.x as default",
this freescale_imx7dsabresd_defconfig is failing to build the Kernel
with output:
drivers/ata/libahci.c: In function 'ahci_led_store':
././include/linux/compiler_types.h:315:45: error: call to '__compiletime_assert_340' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
315 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
This commit fixes the issue by bumping components which includes the
needed gcc-13 fixes.
The Kernel DTS name is also updated by adding the new "nxp/imx/"
prefix, to follow the upstream reorganization in [1], first included
in v6.5.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7423016459
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=724ba6751532055db75992fc6ae21c3e322e94a7
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
.checkpackageignore | 1 -
| 1 +
board/freescale/imx7dsdb/patches/linux/linux.hash | 2 ++
board/freescale/imx7dsdb/patches/uboot/uboot.hash | 2 ++
configs/freescale_imx7dsabresd_defconfig | 14 +++++++++-----
5 files changed, 14 insertions(+), 6 deletions(-)
create mode 120000 board/freescale/imx7dsdb/patches/linux-headers/linux-headers.hash
create mode 100644 board/freescale/imx7dsdb/patches/linux/linux.hash
create mode 100644 board/freescale/imx7dsdb/patches/uboot/uboot.hash
diff --git a/.checkpackageignore b/.checkpackageignore
index 0f054c9a30..537684ac5c 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -159,7 +159,6 @@ configs/freescale_imx6qsabreauto_defconfig lib_defconfig.ForceCheckHash
configs/freescale_imx6qsabresd_defconfig lib_defconfig.ForceCheckHash
configs/freescale_imx6sxsabresd_defconfig lib_defconfig.ForceCheckHash
configs/freescale_imx6ullevk_defconfig lib_defconfig.ForceCheckHash
-configs/freescale_imx7dsabresd_defconfig lib_defconfig.ForceCheckHash
configs/freescale_imx8dxlevk_defconfig lib_defconfig.ForceCheckHash
configs/freescale_imx8mmevk_defconfig lib_defconfig.ForceCheckHash
configs/freescale_imx8mnevk_defconfig lib_defconfig.ForceCheckHash
--git a/board/freescale/imx7dsdb/patches/linux-headers/linux-headers.hash b/board/freescale/imx7dsdb/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/freescale/imx7dsdb/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/freescale/imx7dsdb/patches/linux/linux.hash b/board/freescale/imx7dsdb/patches/linux/linux.hash
new file mode 100644
index 0000000000..3c4223976b
--- /dev/null
+++ b/board/freescale/imx7dsdb/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 c70adedadce88f8685cb26d9703b930292c1349138e2c55ed9b4cd6e277de3bd linux-imx-lf-6.6.23-2.0.0.tar.gz
diff --git a/board/freescale/imx7dsdb/patches/uboot/uboot.hash b/board/freescale/imx7dsdb/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..4e0d729ca0
--- /dev/null
+++ b/board/freescale/imx7dsdb/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 179b6531ef1d4ce681d139741ac7b4144220c90b7223297df28b61e98e8d37fc uboot-imx-lf-6.6.23-2.0.0.tar.gz
diff --git a/configs/freescale_imx7dsabresd_defconfig b/configs/freescale_imx7dsabresd_defconfig
index d337865831..f00144239e 100644
--- a/configs/freescale_imx7dsabresd_defconfig
+++ b/configs/freescale_imx7dsabresd_defconfig
@@ -2,8 +2,12 @@
BR2_arm=y
BR2_cortex_a7=y
-# Linux headers same as kernel, a 5.10 series
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y
+# patches
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx7dsdb/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
+
+# Linux headers same as kernel, a 6.6 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
# system
BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
@@ -11,10 +15,10 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-5.10.y-1.0.0)/linux-imx-lf-5.10.y-1.0.0.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.6.23-2.0.0)/linux-imx-lf-6.6.23-2.0.0.tar.gz"
BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-sdb"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imx7d-sdb"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
# filesystem
@@ -25,7 +29,7 @@ BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="mx7dsabresd"
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-5.10.y-1.0.0)/uboot-imx-lf-5.10.y-1.0.0.tar.gz"
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.6.23-2.0.0)/uboot-imx-lf-6.6.23-2.0.0.tar.gz"
BR2_TARGET_UBOOT_FORMAT_IMX=y
BR2_TARGET_UBOOT_NEEDS_DTC=y
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [Buildroot] [PATCH 1/1] configs/freescale_imx7dsabresd: bump BSP components to lf-6.6.23-2.0.0
2024-07-28 17:37 [Buildroot] [PATCH 1/1] configs/freescale_imx7dsabresd: bump BSP components to lf-6.6.23-2.0.0 Julien Olivain
@ 2024-07-29 18:20 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-29 18:20 UTC (permalink / raw)
To: Julien Olivain; +Cc: Fabio Estevam, buildroot
On Sun, 28 Jul 2024 19:37:20 +0200
Julien Olivain <ju.o@free.fr> wrote:
> This commit bumps U-Boot and Linux kernel to the NXP BSP
> lf-6.6.23-2.0.0 versions.
>
> While bumping those BSP components, this commit also adds the custom
> hashes by enabling BR2_DOWNLOAD_FORCE_CHECK_HASHES=y in this
> defconfig. A _PATCH_DIR is added for that purpose and hash files are
> added in it. The ".checkpackageignore" entry for this defconfig is
> also removed.
>
> Also, since commit dc0f721 "package/gcc: switch to 13.x as default",
> this freescale_imx7dsabresd_defconfig is failing to build the Kernel
> with output:
>
> drivers/ata/libahci.c: In function 'ahci_led_store':
> ././include/linux/compiler_types.h:315:45: error: call to '__compiletime_assert_340' declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
> 315 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
> | ^
>
> This commit fixes the issue by bumping components which includes the
> needed gcc-13 fixes.
>
> The Kernel DTS name is also updated by adding the new "nxp/imx/"
> prefix, to follow the upstream reorganization in [1], first included
> in v6.5.
>
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/7423016459
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=724ba6751532055db75992fc6ae21c3e322e94a7
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> ---
> .checkpackageignore | 1 -
> .../patches/linux-headers/linux-headers.hash | 1 +
> board/freescale/imx7dsdb/patches/linux/linux.hash | 2 ++
> board/freescale/imx7dsdb/patches/uboot/uboot.hash | 2 ++
> configs/freescale_imx7dsabresd_defconfig | 14 +++++++++-----
> 5 files changed, 14 insertions(+), 6 deletions(-)
> create mode 120000 board/freescale/imx7dsdb/patches/linux-headers/linux-headers.hash
> create mode 100644 board/freescale/imx7dsdb/patches/linux/linux.hash
> create mode 100644 board/freescale/imx7dsdb/patches/uboot/uboot.hash
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-29 18:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-28 17:37 [Buildroot] [PATCH 1/1] configs/freescale_imx7dsabresd: bump BSP components to lf-6.6.23-2.0.0 Julien Olivain
2024-07-29 18:20 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox