Skip to contentSkip to conversation

configs/amarula_vyasa_rk3288_defconfig: add uboot and linux hashes

PATCH Superseded Giulio Benetti 2 participants 3 messages May 24, 2024 – May 25, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/amarula_vyasa_rk3288_defconfig: add uboot and linux hashes

Add BR2_DOWNLOAD_FORCE_CHECK_HASHES and drop defconfig entry in .checkpackageignore.

---
 .checkpackageignore                    | 1 -
 boot/uboot/uboot.hash                  | 1 +
 configs/amarula_vyasa_rk3288_defconfig | 1 +
 linux/linux.hash                       | 1 +
 4 files changed, 3 insertions(+), 1 deletion(-)
.checkpackageignore +0 -1
index ebf320c3c5..9b9e4a61f9 100644
@@ -122,7 +122,6 @@ configs/acmesystems_aria_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_128mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash
-configs/amarula_vyasa_rk3288_defconfig lib_defconfig.ForceCheckHash
 configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucp1020_defconfig lib_defconfig.ForceCheckHash
boot/uboot/uboot.hash +1 -0
index a8021fb696..b0ffd7e69d 100644
@@ -1,3 +1,4 @@
 # Locally computed:
+sha256  50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8  u-boot-2022.10.tar.bz2
 sha256  18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a  u-boot-2024.04.tar.bz2
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  Licenses/gpl-2.0.txt
configs/amarula_vyasa_rk3288_defconfig +1 -0
index 0dd47f498f..c88fb761c3 100644
@@ -5,6 +5,7 @@ BR2_ARM_FPU_NEON_VFPV4=y
 
 # Linux headers same as kernel, a 6.1 series
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 
 # Bootloader
 BR2_TARGET_UBOOT=y
linux/linux.hash +1 -0
index af82148e80..0d4de985ab 100644
@@ -2,6 +2,7 @@
 sha256  f905f1238ea7a8e85314bacf283302e8097006010d25fcea726d0de0ea5bc9b6  linux-6.8.9.tar.xz
 sha256  b66a5b863b0f8669448b74ca83bd641a856f164b29956e539bbcb5fdeeab9cc6  linux-6.6.30.tar.xz
 sha256  83a3d72e764fceda2c1fc68a4ea6b91253a28da56a688a2b61776b0d19788e1d  linux-6.1.90.tar.xz
+sha256  880ace63ca2291b8b639e9bd862cc828649d3e1e00ccfee5861473debd2e4dec  linux-6.1.91.tar.xz
 # From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
 sha256  f9071c83a4fd8b80af026b48cfc1869bfa25883f9148b92b5dc1e1e1e26dd5c6  linux-5.15.158.tar.xz
 sha256  e310588c4b23f0959614e60f007afc20e9b1a8f296d682b041fa129f96fbe151  linux-5.10.216.tar.xz
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 30 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

Add BR2_DOWNLOAD_FORCE_CHECK_HASHES and drop defconfig entry in .checkpackageignore.

---
 .checkpackageignore                    | 1 -
 boot/uboot/uboot.hash                  | 1 +
 configs/amarula_vyasa_rk3288_defconfig | 1 +
 linux/linux.hash                       | 1 +
 4 files changed, 3 insertions(+), 1 deletion(-)
.checkpackageignore +0 -1
index ebf320c3c5..9b9e4a61f9 100644
@@ -122,7 +122,6 @@ configs/acmesystems_aria_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_128mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash
-configs/amarula_vyasa_rk3288_defconfig lib_defconfig.ForceCheckHash
 configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucp1020_defconfig lib_defconfig.ForceCheckHash
boot/uboot/uboot.hash +0 -0
index a8021fb696..b0ffd7e69d 100644

boot/uboot/uboot.hash line 4

Quoted 4 lines
boot/uboot/uboot.hash +1 -0
@@ -1,3 +1,4 @@
 # Locally computed:
+sha256  50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8  u-boot-2022.10.tar.bz2
 sha256  18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a  u-boot-2024.04.tar.bz2
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  Licenses/gpl-2.0.txt

This is not right. You should add the hash to a custom board/amarula/.../patches/uboot/uboot.hash file, E.G. see commit 459c8c95c7 (configs/orangepi_r1_defconfig: add hashes for Linux/headers/u-boot) for an exmple.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 31 lines · Peter Korsgaard
Quoted 31 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

Add BR2_DOWNLOAD_FORCE_CHECK_HASHES and drop defconfig entry in .checkpackageignore.

---
 .checkpackageignore                    | 1 -
 boot/uboot/uboot.hash                  | 1 +
 configs/amarula_vyasa_rk3288_defconfig | 1 +
 linux/linux.hash                       | 1 +
 4 files changed, 3 insertions(+), 1 deletion(-)
.checkpackageignore +0 -1
index ebf320c3c5..9b9e4a61f9 100644
@@ -122,7 +122,6 @@ configs/acmesystems_aria_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_128mb_defconfig lib_defconfig.ForceCheckHash
 configs/acmesystems_arietta_g25_256mb_defconfig lib_defconfig.ForceCheckHash
 configs/am574x_idk_defconfig lib_defconfig.ForceCheckHash
-configs/amarula_vyasa_rk3288_defconfig lib_defconfig.ForceCheckHash
 configs/andes_ae350_45_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucls1012a_defconfig lib_defconfig.ForceCheckHash
 configs/arcturus_ucp1020_defconfig lib_defconfig.ForceCheckHash
boot/uboot/uboot.hash +0 -0
index a8021fb696..b0ffd7e69d 100644
@@ -1,3 +1,4 @@
 # Locally computed:
Quoted 9 lines

boot/uboot/uboot.hash line 4

Quoted 3 lines
boot/uboot/uboot.hash +1 -0
+sha256  50b4482a505bc281ba8470c399a3c26e145e29b23500bc35c50debd7fa46bdf8  u-boot-2022.10.tar.bz2
 sha256  18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a  u-boot-2024.04.tar.bz2
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  Licenses/gpl-2.0.txt

This is not right. You should add the hash to a custom board/amarula/.../patches/uboot/uboot.hash file, E.G. see commit 459c8c95c7 (configs/orangepi_r1_defconfig: add hashes for Linux/headers/u-boot) for an exmple.

Thank you for pointing, I've misunderstood. I've sent a V2:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Signature · 6 lines
Giulio Benetti
CEO&CTO@Benetti Engineering
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot