From 7cc2d8b183fdd3fd52454d916ea8eac6f1136925 Mon Sep 17 00:00:00 2001 From: Scott Fan Date: Fri, 6 Dec 2024 11:04:17 +0800 Subject: [PATCH] configs/cubieboard2: bump Linux to 6.11.11 and U-Boot to 2024.10 The boot.vfat image size is not enough now. The new zImage file is over 10M, so it is expanded to 16M. This commit also adds the custom version package hashes, and the corresponding ".checkpackageignore" entry is also removed. Signed-off-by: Scott Fan Signed-off-by: Romain Naour --- .checkpackageignore | 1 - board/cubietech/cubieboard2/genimage.cfg | 2 +- .../patches/linux-headers/linux-headers.hash | 1 + board/cubietech/cubieboard2/patches/linux/linux.hash | 2 ++ board/cubietech/cubieboard2/patches/uboot/uboot.hash | 2 ++ configs/cubieboard2_defconfig | 10 ++++++---- 6 files changed, 12 insertions(+), 6 deletions(-) create mode 120000 board/cubietech/cubieboard2/patches/linux-headers/linux-headers.hash create mode 100644 board/cubietech/cubieboard2/patches/linux/linux.hash create mode 100644 board/cubietech/cubieboard2/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 2b63d235f3..42efd60b50 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -137,7 +137,6 @@ configs/beelink_gs1_defconfig lib_defconfig.ForceCheckHash configs/broadcom_northstar_defconfig lib_defconfig.ForceCheckHash configs/canaan_kd233_defconfig lib_defconfig.ForceCheckHash configs/ci20_defconfig lib_defconfig.ForceCheckHash -configs/cubieboard2_defconfig lib_defconfig.ForceCheckHash configs/engicam_imx6qdl_icore_defconfig lib_defconfig.ForceCheckHash configs/engicam_imx6qdl_icore_qt5_defconfig lib_defconfig.ForceCheckHash configs/engicam_imx6qdl_icore_rqs_defconfig lib_defconfig.ForceCheckHash diff --git a/board/cubietech/cubieboard2/genimage.cfg b/board/cubietech/cubieboard2/genimage.cfg index 0ba74d6be3..f8a8ec05c8 100644 --- a/board/cubietech/cubieboard2/genimage.cfg +++ b/board/cubietech/cubieboard2/genimage.cfg @@ -10,7 +10,7 @@ image boot.vfat { } } - size = 10M + size = 16M } image sdcard.img { diff --git a/board/cubietech/cubieboard2/patches/linux-headers/linux-headers.hash b/board/cubietech/cubieboard2/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/cubietech/cubieboard2/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/cubietech/cubieboard2/patches/linux/linux.hash b/board/cubietech/cubieboard2/patches/linux/linux.hash new file mode 100644 index 0000000000..4759f8354e --- /dev/null +++ b/board/cubietech/cubieboard2/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 62148e7e17f54c4a5ab5e75ad4882682c54bee818948be61a5963234fc0849fc linux-6.11.11.tar.xz diff --git a/board/cubietech/cubieboard2/patches/uboot/uboot.hash b/board/cubietech/cubieboard2/patches/uboot/uboot.hash new file mode 100644 index 0000000000..904fa56c02 --- /dev/null +++ b/board/cubietech/cubieboard2/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0 u-boot-2024.10.tar.bz2 diff --git a/configs/cubieboard2_defconfig b/configs/cubieboard2_defconfig index 14d080d2d4..42344eaf9e 100644 --- a/configs/cubieboard2_defconfig +++ b/configs/cubieboard2_defconfig @@ -1,23 +1,25 @@ BR2_arm=y BR2_cortex_a7=y BR2_ARM_FPU_NEON_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_11=y +BR2_GLOBAL_PATCH_DIR="board/cubietech/cubieboard2/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="Cubieboard2" BR2_TARGET_GENERIC_ISSUE="Welcome to Cubieboard2!" BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" BR2_ROOTFS_POST_IMAGE_SCRIPT="board/cubietech/cubieboard2/post-image.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.11.11" BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-cubieboard2" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun7i-a20-cubieboard2" BR2_TARGET_ROOTFS_EXT2=y 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="2021.10" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Cubieboard2" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y