From de17165fd5f94766aef1f51d09d0998fee8096b3 Mon Sep 17 00:00:00 2001 From: Heiko Thiery Date: Tue, 18 Oct 2022 20:37:24 +0200 Subject: [PATCH] configs/kontron_smarc_sal28: use U-Boot 2022.10 Add BR2_TARGET_UBOOT_NEEDS_GNUTLS=y and BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX=y since this are dependencies for building mkeficapsule u-boot tool. Change the offset of the rootfs to left enough space for the U-Boot that has increased. Cc: Michael Walle Signed-off-by: Heiko Thiery Signed-off-by: Thomas Petazzoni --- board/kontron/smarc-sal28/genimage.cfg | 2 +- configs/kontron_smarc_sal28_defconfig | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/board/kontron/smarc-sal28/genimage.cfg b/board/kontron/smarc-sal28/genimage.cfg index c885cd51a6..82bab26fec 100644 --- a/board/kontron/smarc-sal28/genimage.cfg +++ b/board/kontron/smarc-sal28/genimage.cfg @@ -17,7 +17,7 @@ image sdcard-emmc.img { } partition rootfs { - offset = 2M + offset = 4M image = rootfs.ext4 partition-uuid = %PARTUUID% } diff --git a/configs/kontron_smarc_sal28_defconfig b/configs/kontron_smarc_sal28_defconfig index 877903a1fe..25846c8cbd 100644 --- a/configs/kontron_smarc_sal28_defconfig +++ b/configs/kontron_smarc_sal28_defconfig @@ -22,11 +22,13 @@ BR2_TARGET_ROOTFS_EXT2_SIZE="128M" BR2_TARGET_UBOOT=y BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01" +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.10" BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron_sl28" BR2_TARGET_UBOOT_NEEDS_DTC=y BR2_TARGET_UBOOT_NEEDS_PYTHON3=y BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_UTIL_LINUX=y +BR2_TARGET_UBOOT_NEEDS_GNUTLS=y # BR2_TARGET_UBOOT_FORMAT_BIN is not set BR2_TARGET_UBOOT_FORMAT_CUSTOM=y BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.rom"