diff mbox series

[2/2] configs/mx6sx_udoo_neo_defconfig: add hashes

Message ID 20240731145504.365492-3-philip-dylan@gleonec.bzh
State Superseded
Headers show
Series Udoo Neo kernel update | expand

Commit Message

Philip-Dylan Gleonec July 31, 2024, 2:55 p.m. UTC
Add hashes for uboot and linux, and enable
BR2_DOWNLOAD_FORCE_CHECK_HASHES.
Modify .checkpackageignore to enable the hash check for the Udoo Neo
config.

Signed-off-by: Philip-Dylan Gleonec <philip-dylan@gleonec.bzh>
---
 .checkpackageignore                                     | 1 -
 board/udoo/neo/patches/linux-headers/linux-headers.hash | 1 +
 board/udoo/neo/patches/linux/linux.hash                 | 2 ++
 board/udoo/neo/patches/uboot/uboot.hash                 | 2 ++
 configs/mx6sx_udoo_neo_defconfig                        | 2 ++
 5 files changed, 7 insertions(+), 1 deletion(-)
 create mode 120000 board/udoo/neo/patches/linux-headers/linux-headers.hash
 create mode 100644 board/udoo/neo/patches/linux/linux.hash
 create mode 100644 board/udoo/neo/patches/uboot/uboot.hash

Comments

Fabio Estevam July 31, 2024, 5:01 p.m. UTC | #1
On Wed, Jul 31, 2024 at 11:55 AM Philip-Dylan Gleonec
<philip-dylan@gleonec.bzh> wrote:

> +# Locally calculated
> +sha256  5c3a3c03c055b8d601a6d7f80d1465ada6b83a12299f6ace2027b47f0baff538  linux-6.6.40.tar.xz

6.6.40? The previous patch updates to 6.6.43 instead.
Philip-Dylan Gleonec July 31, 2024, 7:51 p.m. UTC | #2
On 31/07/2024 19:01, Fabio Estevam wrote:
> On Wed, Jul 31, 2024 at 11:55 AM Philip-Dylan Gleonec
> <philip-dylan@gleonec.bzh> wrote:
> 
>> +# Locally calculated
>> +sha256  5c3a3c03c055b8d601a6d7f80d1465ada6b83a12299f6ace2027b47f0baff538  linux-6.6.40.tar.xz
> 
> 6.6.40? The previous patch updates to 6.6.43 instead.

You're right. I messed up a rebase when bumping from 6.6.40 to 6.6.43.
I'll send a new patchset to fix this, including the wifi fix if needed.

Regards,
Philip-Dylan Gleonec
Fabio Estevam July 31, 2024, 7:57 p.m. UTC | #3
On Wed, Jul 31, 2024 at 4:51 PM Philip-Dylan Gleonec
<philip-dylan@gleonec.bzh> wrote:

> You're right. I messed up a rebase when bumping from 6.6.40 to 6.6.43.
> I'll send a new patchset to fix this, including the wifi fix if needed.

Yes, please submit a v2 of the series by changing the hash from 6.6.40
to 6.6.43.

Thanks
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index 028b63b4d3..fe5d2618c6 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -202,7 +202,6 @@  configs/microchip_sama7g5ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash
 configs/minnowboard_max_defconfig lib_defconfig.ForceCheckHash
 configs/mx25pdk_defconfig lib_defconfig.ForceCheckHash
 configs/mx53loco_defconfig lib_defconfig.ForceCheckHash
-configs/mx6sx_udoo_neo_defconfig lib_defconfig.ForceCheckHash
 configs/mx6udoo_defconfig lib_defconfig.ForceCheckHash
 configs/nexbox_a95x_defconfig lib_defconfig.ForceCheckHash
 configs/nitrogen6sx_defconfig lib_defconfig.ForceCheckHash
diff --git a/board/udoo/neo/patches/linux-headers/linux-headers.hash b/board/udoo/neo/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/udoo/neo/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/udoo/neo/patches/linux/linux.hash b/board/udoo/neo/patches/linux/linux.hash
new file mode 100644
index 0000000000..68677589fe
--- /dev/null
+++ b/board/udoo/neo/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  5c3a3c03c055b8d601a6d7f80d1465ada6b83a12299f6ace2027b47f0baff538  linux-6.6.40.tar.xz
diff --git a/board/udoo/neo/patches/uboot/uboot.hash b/board/udoo/neo/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..0bfbf306ff
--- /dev/null
+++ b/board/udoo/neo/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  81b4543227db228c03f8a1bf5ddbc813b0bb8f6555ce46064ef721a6fc680413  u-boot-2022.01.tar.bz2
diff --git a/configs/mx6sx_udoo_neo_defconfig b/configs/mx6sx_udoo_neo_defconfig
index 71a7473307..adcd7aeb4e 100644
--- a/configs/mx6sx_udoo_neo_defconfig
+++ b/configs/mx6sx_udoo_neo_defconfig
@@ -1,5 +1,7 @@ 
 BR2_arm=y
 BR2_cortex_a9=y
+BR2_GLOBAL_PATCH_DIR="board/udoo/neo/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_ARM_ENABLE_NEON=y
 BR2_ARM_ENABLE_VFP=y
 BR2_ARM_FPU_VFPV3=y