Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] configs/at91sam9x5ek_dev_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot
@ 2024-05-27 16:03 Dario Binacchi
  2024-05-29  6:43 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Dario Binacchi @ 2024-05-27 16:03 UTC (permalink / raw)
  To: buildroot; +Cc: Ludovic Desroches, michael, linux-amarula, Dario Binacchi

And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
 .checkpackageignore                                             | 1 -
 .../at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash | 2 ++
 .../at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash   | 1 +
 board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash           | 2 ++
 board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash           | 2 ++
 configs/at91sam9x5ek_dev_defconfig                              | 1 +
 6 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 board/atmel/at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash
 create mode 120000 board/atmel/at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash
 create mode 100644 board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash
 create mode 100644 board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash

diff --git a/.checkpackageignore b/.checkpackageignore
index 68c0ea83dd73..9c78786e3f4a 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -135,7 +135,6 @@ configs/at91sam9g20dfc_defconfig lib_defconfig.ForceCheckHash
 configs/at91sam9g45m10ek_defconfig lib_defconfig.ForceCheckHash
 configs/at91sam9rlek_defconfig lib_defconfig.ForceCheckHash
 configs/at91sam9x5ek_defconfig lib_defconfig.ForceCheckHash
-configs/at91sam9x5ek_dev_defconfig lib_defconfig.ForceCheckHash
 configs/at91sam9x5ek_mmc_defconfig lib_defconfig.ForceCheckHash
 configs/at91sam9x5ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash
 configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig lib_defconfig.ForceCheckHash
diff --git a/board/atmel/at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash b/board/atmel/at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash
new file mode 100644
index 000000000000..6edf3d3345ec
--- /dev/null
+++ b/board/atmel/at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256  5ea2a8fed1ba0024229c6f6d77176679e1b24791bdbce8e285634013d4a93551  at91bootstrap3-v3.10.3-git4.tar.gz
diff --git a/board/atmel/at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash b/board/atmel/at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash
new file mode 120000
index 000000000000..5808d92afe89
--- /dev/null
+++ b/board/atmel/at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash b/board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash
new file mode 100644
index 000000000000..baf48c8a64b6
--- /dev/null
+++ b/board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256  6cc67b3d2d550c3f0b201d7850bdb25503bc6a51e41b98d2c0fbd531b56f3a20  linux-linux4sam_6.1.tar.gz
diff --git a/board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash b/board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash
new file mode 100644
index 000000000000..f6d9f29bc8db
--- /dev/null
+++ b/board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256  cc72d6a36ebf5f0970e18788b1e1dc9b76ba9237ec6745c6f16f1b2e1d8fb3a0  uboot-linux4sam_6.1-git4.tar.gz
diff --git a/configs/at91sam9x5ek_dev_defconfig b/configs/at91sam9x5ek_dev_defconfig
index bc034019b441..b381fe279715 100644
--- a/configs/at91sam9x5ek_dev_defconfig
+++ b/configs/at91sam9x5ek_dev_defconfig
@@ -9,6 +9,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
 
 # System Configuration
 BR2_GLOBAL_PATCH_DIR="board/atmel/at91sam9x5ek_dev/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 # Needed for usb-utils
 BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
 
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] configs/at91sam9x5ek_dev_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot
  2024-05-27 16:03 [Buildroot] [PATCH 1/1] configs/at91sam9x5ek_dev_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot Dario Binacchi
@ 2024-05-29  6:43 ` Peter Korsgaard
  2024-05-29  6:48   ` Dario Binacchi
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2024-05-29  6:43 UTC (permalink / raw)
  To: Dario Binacchi; +Cc: Ludovic Desroches, michael, linux-amarula, buildroot

>>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes:

 > And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
 > defconfig from .checkpackageignore.

 > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
 > ---
 >  .checkpackageignore                                             | 1 -
 >  .../at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash | 2 ++
 >  .../at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash   | 1 +
 >  board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash           | 2 ++
 >  board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash           | 2 ++
 >  configs/at91sam9x5ek_dev_defconfig                              | 1 +
 >  6 files changed, 8 insertions(+), 1 deletion(-)
 >  create mode 100644 board/atmel/at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash
 >  create mode 120000 board/atmel/at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash
 >  create mode 100644 board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash
 >  create mode 100644 board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash

We have 4 at91sam9x5ek defconfigs all using the same
at91bootstrap/Linux/U-Boot, so it IMHO would make more sense to put the
patches under board/atmel/at91sam9x5ek/patches and use them from all 4
defconfigs.

Care to send an update doing that? Thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] configs/at91sam9x5ek_dev_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot
  2024-05-29  6:43 ` Peter Korsgaard
@ 2024-05-29  6:48   ` Dario Binacchi
  0 siblings, 0 replies; 3+ messages in thread
From: Dario Binacchi @ 2024-05-29  6:48 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: Ludovic Desroches, michael, linux-amarula, buildroot

Hi Peter,

On Wed, May 29, 2024 at 8:43 AM Peter Korsgaard <peter@korsgaard.com> wrote:
>
> >>>>> "Dario" == Dario Binacchi <dario.binacchi@amarulasolutions.com> writes:
>
>  > And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the
>  > defconfig from .checkpackageignore.
>
>  > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
>  > ---
>  >  .checkpackageignore                                             | 1 -
>  >  .../at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash | 2 ++
>  >  .../at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash   | 1 +
>  >  board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash           | 2 ++
>  >  board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash           | 2 ++
>  >  configs/at91sam9x5ek_dev_defconfig                              | 1 +
>  >  6 files changed, 8 insertions(+), 1 deletion(-)
>  >  create mode 100644 board/atmel/at91sam9x5ek_dev/patches/at91bootstrap3/at91bootstrap3.hash
>  >  create mode 120000 board/atmel/at91sam9x5ek_dev/patches/linux-headers/linux-headers.hash
>  >  create mode 100644 board/atmel/at91sam9x5ek_dev/patches/linux/linux.hash
>  >  create mode 100644 board/atmel/at91sam9x5ek_dev/patches/uboot/uboot.hash
>
> We have 4 at91sam9x5ek defconfigs all using the same
> at91bootstrap/Linux/U-Boot, so it IMHO would make more sense to put the
> patches under board/atmel/at91sam9x5ek/patches and use them from all 4
> defconfigs.
>
> Care to send an update doing that? Thanks.

Yes, I'll do it

Thanks and regards
Dario
>
> --
> Bye, Peter Korsgaard



-- 

Dario Binacchi

Senior Embedded Linux Developer

dario.binacchi@amarulasolutions.com

__________________________________


Amarula Solutions SRL

Via Le Canevare 30, 31100 Treviso, Veneto, IT

T. +39 042 243 5310
info@amarulasolutions.com

www.amarulasolutions.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-29  6:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27 16:03 [Buildroot] [PATCH 1/1] configs/at91sam9x5ek_dev_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot Dario Binacchi
2024-05-29  6:43 ` Peter Korsgaard
2024-05-29  6:48   ` Dario Binacchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox