Skip to contentSkip to conversation

configs/kontron_smarc_sal28: use U-Boot 2022.10

PATCH Applied Heiko Thiery 2 participants 2 messages Oct 18, 2022 – Nov 1, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
 board/kontron/smarc-sal28/genimage.cfg | 2 +-
 configs/kontron_smarc_sal28_defconfig  | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
board/kontron/smarc-sal28/genimage.cfg +1 -1
index c885cd51a6..82bab26fec 100644
@@ -17,7 +17,7 @@ image sdcard-emmc.img {
 	}
 
 	partition rootfs {
-		offset = 2M
+		offset = 4M
 		image = rootfs.ext4
 		partition-uuid = %PARTUUID%
 	}
configs/kontron_smarc_sal28_defconfig +3 -1
index 877903a1fe..25846c8cbd 100644
@@ -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"
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · On Tue, 18 Oct 2022 20:37:24 +0200 Heiko Thiery <[email protected]> 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.

Quoted 6 lines
---
 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

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot