From e9b5479547b25c5d1a2541c4f10914551265f5a4 Mon Sep 17 00:00:00 2001 From: Sergey Matyukevich Date: Sun, 15 Dec 2024 13:12:56 +0300 Subject: [PATCH] configs/linksprite_pcduino: bump BSP versions Switch to the new Linux LTS release 6.12.3 and to U-Boot 2024.10. Force check of hashes for Linux kernel, headers, U-Boot. Finally, add BR2_TARGET_UBOOT_NEEDS_GNUTLS option required by new U-Boot. Signed-off-by: Sergey Matyukevich Signed-off-by: Julien Olivain --- .checkpackageignore | 1 - .../pcduino/patches/linux-headers/linux-headers.hash | 1 + board/linksprite/pcduino/patches/linux/linux.hash | 2 ++ board/linksprite/pcduino/patches/uboot/uboot.hash | 2 ++ configs/linksprite_pcduino_defconfig | 9 ++++++--- 5 files changed, 11 insertions(+), 4 deletions(-) create mode 120000 board/linksprite/pcduino/patches/linux-headers/linux-headers.hash create mode 100644 board/linksprite/pcduino/patches/linux/linux.hash create mode 100644 board/linksprite/pcduino/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 8a9afcd6aec8..f723ad6987ea 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -167,7 +167,6 @@ configs/khadas_vim3_defconfig lib_defconfig.ForceCheckHash configs/kontron_bl_imx8mm_defconfig lib_defconfig.ForceCheckHash configs/kontron_pitx_imx8m_defconfig lib_defconfig.ForceCheckHash configs/kontron_smarc_sal28_defconfig lib_defconfig.ForceCheckHash -configs/linksprite_pcduino_defconfig lib_defconfig.ForceCheckHash configs/mangopi_mq1rdw2_defconfig lib_defconfig.ForceCheckHash configs/mender_x86_64_efi_defconfig lib_defconfig.ForceCheckHash configs/microchip_sam9x60ek_mmc_defconfig lib_defconfig.ForceCheckHash diff --git a/board/linksprite/pcduino/patches/linux-headers/linux-headers.hash b/board/linksprite/pcduino/patches/linux-headers/linux-headers.hash new file mode 120000 index 000000000000..5808d92afe89 --- /dev/null +++ b/board/linksprite/pcduino/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/linksprite/pcduino/patches/linux/linux.hash b/board/linksprite/pcduino/patches/linux/linux.hash new file mode 100644 index 000000000000..aea771e7bf51 --- /dev/null +++ b/board/linksprite/pcduino/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc +sha256 c89809cc777d50f1ea484a118630281a26383707a0e752c96fd834f6e765deae linux-6.12.3.tar.xz diff --git a/board/linksprite/pcduino/patches/uboot/uboot.hash b/board/linksprite/pcduino/patches/uboot/uboot.hash new file mode 100644 index 000000000000..904fa56c02a3 --- /dev/null +++ b/board/linksprite/pcduino/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2 diff --git a/configs/linksprite_pcduino_defconfig b/configs/linksprite_pcduino_defconfig index 69663e0c3e00..a9fe21991f12 100644 --- a/configs/linksprite_pcduino_defconfig +++ b/configs/linksprite_pcduino_defconfig @@ -1,6 +1,8 @@ BR2_arm=y BR2_cortex_a8=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y +BR2_GLOBAL_PATCH_DIR="board/linksprite/pcduino/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="pcduino" BR2_TARGET_GENERIC_ISSUE="pcDuino buildroot is ready" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y @@ -10,7 +12,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.3" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.3" BR2_LINUX_KERNEL_DEFCONFIG="sunxi" BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/linksprite/pcduino/linux-extras.config" BR2_LINUX_KERNEL_DTS_SUPPORT=y @@ -29,11 +31,12 @@ BR2_TARGET_ROOTFS_EXT2_4=y BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2023.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Linksprite_pcDuino" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_GNUTLS=y BR2_TARGET_UBOOT_SPL=y BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" BR2_PACKAGE_HOST_GENIMAGE=y