diff mbox series

[1/1] configs/freescale_imx6ullevk: bump BSP components to lf-6.6.23-2.0.0

Message ID 20240803111855.1726141-1-ju.o@free.fr
State Accepted
Headers show
Series [1/1] configs/freescale_imx6ullevk: bump BSP components to lf-6.6.23-2.0.0 | expand

Commit Message

Julien Olivain Aug. 3, 2024, 11:18 a.m. UTC
Bump ATF, U-Boot and Linux kernel to the NXP BSP lf-6.6.23-2.0.0
versions.

This commit also adds the custom version package hashes. Therefore,
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y is added in the defconfig, a
BR2_GLOBAL_PATCH_DIR is also added in the board specific directory and
the hash files are added. The corresponding ".checkpackageignore"
entry is also removed.

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.

[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/imx6ullevk/patches/linux/linux.hash    |  2 ++
 board/freescale/imx6ullevk/patches/uboot/uboot.hash    |  2 ++
 configs/freescale_imx6ullevk_defconfig                 | 10 ++++++----
 5 files changed, 11 insertions(+), 5 deletions(-)
 create mode 120000 board/freescale/imx6ullevk/patches/linux-headers/linux-headers.hash
 create mode 100644 board/freescale/imx6ullevk/patches/linux/linux.hash
 create mode 100644 board/freescale/imx6ullevk/patches/uboot/uboot.hash

Comments

Fabio Estevam Aug. 3, 2024, 4:38 p.m. UTC | #1
Hi Julien,

Thanks for your patches that update the components for the NXP boards.

On Sat, Aug 3, 2024 at 8:19 AM Julien Olivain <ju.o@free.fr> wrote:
>
> Bump ATF, U-Boot and Linux kernel to the NXP BSP lf-6.6.23-2.0.0
> versions.

Nit: the imx6ul SoC does not use ATF.
Julien Olivain Aug. 3, 2024, 8:16 p.m. UTC | #2
Hi Fabio, All,

On 03/08/2024 18:38, Fabio Estevam wrote:
> Hi Julien,
> 
> Thanks for your patches that update the components for the NXP boards.
> 
> On Sat, Aug 3, 2024 at 8:19 AM Julien Olivain <ju.o@free.fr> wrote:
>> 
>> Bump ATF, U-Boot and Linux kernel to the NXP BSP lf-6.6.23-2.0.0
>> versions.
> 
> Nit: the imx6ul SoC does not use ATF.

Thanks!  I've cut/pasted message from other i.MX8 too quickly.
I'll send a v2.

Best regards,

Julien.
Thomas Petazzoni Aug. 3, 2024, 8:30 p.m. UTC | #3
On Sat,  3 Aug 2024 13:18:55 +0200
Julien Olivain <ju.o@free.fr> wrote:

> Bump ATF, U-Boot and Linux kernel to the NXP BSP lf-6.6.23-2.0.0
> versions.
> 
> This commit also adds the custom version package hashes. Therefore,
> BR2_DOWNLOAD_FORCE_CHECK_HASHES=y is added in the defconfig, a
> BR2_GLOBAL_PATCH_DIR is also added in the board specific directory and
> the hash files are added. The corresponding ".checkpackageignore"
> entry is also removed.
> 
> 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.
> 
> [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/imx6ullevk/patches/linux/linux.hash    |  2 ++
>  board/freescale/imx6ullevk/patches/uboot/uboot.hash    |  2 ++
>  configs/freescale_imx6ullevk_defconfig                 | 10 ++++++----
>  5 files changed, 11 insertions(+), 5 deletions(-)
>  create mode 120000 board/freescale/imx6ullevk/patches/linux-headers/linux-headers.hash
>  create mode 100644 board/freescale/imx6ullevk/patches/linux/linux.hash
>  create mode 100644 board/freescale/imx6ullevk/patches/uboot/uboot.hash

Applied to master, thanks.

Thomas
Thomas Petazzoni Aug. 3, 2024, 8:31 p.m. UTC | #4
On Sat, 3 Aug 2024 13:38:32 -0300
Fabio Estevam <festevam@gmail.com> wrote:

> > Bump ATF, U-Boot and Linux kernel to the NXP BSP lf-6.6.23-2.0.0
> > versions.  
> 
> Nit: the imx6ul SoC does not use ATF.

Indeed, thanks for noticing. I fixed that up when applying the patch.

Thomas
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index 10662bb11e..9335dca0e7 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -151,7 +151,6 @@  configs/engicam_imx6qdl_icore_rqs_defconfig lib_defconfig.ForceCheckHash
 configs/engicam_imx6ul_geam_defconfig lib_defconfig.ForceCheckHash
 configs/engicam_imx6ul_isiot_defconfig lib_defconfig.ForceCheckHash
 configs/freescale_imx28evk_defconfig lib_defconfig.ForceCheckHash
-configs/freescale_imx6ullevk_defconfig lib_defconfig.ForceCheckHash
 configs/freescale_imx93evk_defconfig lib_defconfig.ForceCheckHash
 configs/freescale_p1025twr_defconfig lib_defconfig.ForceCheckHash
 configs/freescale_t1040d4rdb_defconfig lib_defconfig.ForceCheckHash
diff --git a/board/freescale/imx6ullevk/patches/linux-headers/linux-headers.hash b/board/freescale/imx6ullevk/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/freescale/imx6ullevk/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/freescale/imx6ullevk/patches/linux/linux.hash b/board/freescale/imx6ullevk/patches/linux/linux.hash
new file mode 100644
index 0000000000..3c4223976b
--- /dev/null
+++ b/board/freescale/imx6ullevk/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/imx6ullevk/patches/uboot/uboot.hash b/board/freescale/imx6ullevk/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..4e0d729ca0
--- /dev/null
+++ b/board/freescale/imx6ullevk/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_imx6ullevk_defconfig b/configs/freescale_imx6ullevk_defconfig
index fd4254edbf..e29a9898fc 100644
--- a/configs/freescale_imx6ullevk_defconfig
+++ b/configs/freescale_imx6ullevk_defconfig
@@ -1,16 +1,18 @@ 
 BR2_arm=y
 BR2_cortex_a7=y
-BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
+BR2_GLOBAL_PATCH_DIR="board/freescale/imx6ullevk/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
 BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,linux-imx,lf-6.1.36-2.1.0)/linux-imx-lf-6.1.36-2.1.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_CONFIG_FRAGMENT_FILES="board/freescale/imx6ullevk/linux_sdma.fragment"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ull-14x14-evk"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="nxp/imx/imx6ull-14x14-evk"
 BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
 BR2_PACKAGE_FREESCALE_IMX=y
 BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL=y
@@ -20,7 +22,7 @@  BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BOARDNAME="mx6ull_14x14_evk"
 BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
-BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,nxp-imx,uboot-imx,lf-6.1.36-2.1.0)/uboot-imx-lf-6.1.36-2.1.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_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_FORMAT_IMX=y