From d989aefea11dcdd27a1c2e3dfd0b64fa018abf7a Mon Sep 17 00:00:00 2001 From: Andreas Gnau <andreas.gnau@iopsys.eu> Date: Mon, 7 Apr 2025 10:24:01 +0200 Subject: [PATCH] common: Increase static padding to 8 KiB In cases, where multible DTBss are included, the kernel FIT image FIT metadata can grow beyond 4 KiB. Running mkimage with a static external position of image data of 4 KiB will this cause an error. Increase the limit to 8 KiB to give enough space for more FIT metadata. Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu> --- iopsys-common/iopsys-fit-image.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iopsys-common/iopsys-fit-image.mk b/iopsys-common/iopsys-fit-image.mk index c737b2e4f..9d3ed061e 100644 --- a/iopsys-common/iopsys-fit-image.mk +++ b/iopsys-common/iopsys-fit-image.mk @@ -275,7 +275,7 @@ endef define iowrt-kernel-fit-mkimage PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage \ - $(if $(findstring external,$(word 2,$(1))), -E -B 0x1000 $(if $(findstring static,$(word 2,$(1))),-p 0x1000)) \ + $(if $(findstring external,$(word 2,$(1))), -E -B 0x1000 $(if $(findstring static,$(word 2,$(1))),-p 0x2000)) \ -r \ -f $@.its \ $@.new -- GitLab