Message ID | 20221018183724.2377-1-heiko.thiery@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [v2] configs/kontron_smarc_sal28: use U-Boot 2022.10 | expand |
On Tue, 18 Oct 2022 20:37:24 +0200 Heiko Thiery <heiko.thiery@gmail.com> wrote: > 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 <michael@walle.cc> > Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> > --- > board/kontron/smarc-sal28/genimage.cfg | 2 +- > configs/kontron_smarc_sal28_defconfig | 4 +++- > 2 files changed, 4 insertions(+), 2 deletions(-) Applied to master, thanks. Thomas
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"
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 <michael@walle.cc> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> --- board/kontron/smarc-sal28/genimage.cfg | 2 +- configs/kontron_smarc_sal28_defconfig | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)