configs/at91sam9x5ek*_defconfig: add hashes for at91bootstrap3/Linux/headers/u-boot

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

Furthermore, the use of the directory board/atmel/at91sam9x5ek/patches
for all 4 at91sam9x5ek*_defconfig configurations automatically fixes the
Linux compilation failure for the at91sam9x5ek_defconfig,
at91sam9x5ek_mmc_defconfig, and at91sam9x5ek_mmc_dev_defconfig
configurations as well.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
[Peter: fix u-boot hash]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Dario Binacchi 2024-05-29 23:37:51 +02:00 committed by Peter Korsgaard
parent 14bb97ff9d
commit 84a9ab91d3
10 changed files with 17 additions and 5 deletions

View File

@ -134,10 +134,6 @@ configs/at91sam9260eknf_defconfig lib_defconfig.ForceCheckHash
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
configs/atmel_sama5d2_xplained_mmc_defconfig lib_defconfig.ForceCheckHash
configs/atmel_sama5d2_xplained_mmc_dev_defconfig lib_defconfig.ForceCheckHash

View File

@ -0,0 +1,2 @@
# Locally calculated
sha256 5ea2a8fed1ba0024229c6f6d77176679e1b24791bdbce8e285634013d4a93551 at91bootstrap3-v3.10.3-git4.tar.gz

View File

@ -0,0 +1 @@
../linux/linux.hash

View File

@ -0,0 +1,2 @@
# Locally calculated
sha256 6cc67b3d2d550c3f0b201d7850bdb25503bc6a51e41b98d2c0fbd531b56f3a20 linux-linux4sam_6.1.tar.gz

View File

@ -0,0 +1,2 @@
# Locally calculated
sha256 c7c08f44487c97ade41966ed6cd639258d124e781580ea0a82d96b6b5ca230a5 uboot-linux4sam_6.1-git4.tar.gz

View File

@ -2,6 +2,8 @@ BR2_arm=y
BR2_arm926t=y
# Linux headers same as kernel, a 4.4 series
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
BR2_GLOBAL_PATCH_DIR="board/atmel/at91sam9x5ek/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz"

View File

@ -8,7 +8,8 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
# System Configuration
BR2_GLOBAL_PATCH_DIR="board/atmel/at91sam9x5ek_dev/patches"
BR2_GLOBAL_PATCH_DIR="board/atmel/at91sam9x5ek/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
# Needed for usb-utils
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y

View File

@ -9,6 +9,10 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/at91sam9x5ek_mmc/genimage.cfg"
# System Configuration
BR2_GLOBAL_PATCH_DIR="board/atmel/at91sam9x5ek/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_TARBALL=y

View File

@ -8,6 +8,8 @@ BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
# System Configuration
BR2_GLOBAL_PATCH_DIR="board/atmel/at91sam9x5ek/patches"
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
# Needed for usb-utils
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
# Creation of the SD card image