]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
uboot-stm32: bump to 2025.07 main master 19779/head
authorThomas Richard <thomas.richard@bootlin.com>
Thu, 14 Aug 2025 15:03:04 +0000 (17:03 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 17 Aug 2025 17:02:33 +0000 (19:02 +0200)
Now devicetrees imported from Linux kernel release are used, so update
DEVICE_TREE to use correct path. A patch was backported to increase
SYS_MALLOC_F_LEN for stm32mp13 (more alloc space is needed due to SCMI
update to protocol v2.0).

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/19779
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-stm32/Makefile
package/boot/uboot-stm32/patches/001-configs-stm32mp13-increase-SYS_MALLOC_F_LEN-to-0x210.patch [new file with mode: 0644]

index 8803504095a57428c8f18d01b1d6ec7121af32fe..534857c07f6e67daa5fc628b07be98f8fa7f46f0 100644 (file)
@@ -7,10 +7,10 @@
 
 include $(TOPDIR)/rules.mk
 
-PKG_VERSION:=2025.04
+PKG_VERSION:=2025.07
 PKG_RELEASE:=1
 
-PKG_HASH:=439d3bef296effd54130be6a731c5b118be7fddd7fcc663ccbc5fb18294d8718
+PKG_HASH:=0f933f6c5a426895bf306e93e6ac53c60870e4b54cda56d95211bec99e63bec7
 PKG_MAINTAINER:=Thomas Richard <thomas.richard@bootlin.com>
 
 UBOOT_USE_INTREE_DTC:=1
@@ -56,7 +56,7 @@ UBOOT_TARGETS := \
                 stm32mp157c-dk2 \
                 stm32mp157c-dk2-scmi
 
-UBOOT_MAKE_FLAGS += DEVICE_TREE=$(DEVICE_TREE)
+UBOOT_MAKE_FLAGS += DEVICE_TREE=st/$(DEVICE_TREE)
 
 UBOOT_CUSTOMIZE_CONFIG := \
        --disable TOOLS_MKEFICAPSULE
diff --git a/package/boot/uboot-stm32/patches/001-configs-stm32mp13-increase-SYS_MALLOC_F_LEN-to-0x210.patch b/package/boot/uboot-stm32/patches/001-configs-stm32mp13-increase-SYS_MALLOC_F_LEN-to-0x210.patch
new file mode 100644 (file)
index 0000000..b93fb52
--- /dev/null
@@ -0,0 +1,27 @@
+From 1cdb64ad3aa9d6cd4a02adc09fcc1015f90e2fb9 Mon Sep 17 00:00:00 2001
+From: Patrice Chotard <patrice.chotard@foss.st.com>
+Date: Mon, 9 Jun 2025 14:53:13 +0200
+Subject: [PATCH] configs: stm32mp13: increase SYS_MALLOC_F_LEN to 0x210000
+
+Due SCMI update to protocol v2.0, we need to increase
+SYS_MALLOC_F_LEN value to avoid following message:
+alloc space exhausted ptr 200040 limit 200000
+
+Set SYS_MALLOC_F_LEN to 0x210000 to fix this issue.
+
+Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
+---
+ configs/stm32mp13_defconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/configs/stm32mp13_defconfig
++++ b/configs/stm32mp13_defconfig
+@@ -1,7 +1,7 @@
+ CONFIG_ARM=y
+ CONFIG_ARCH_STM32MP=y
+ CONFIG_TFABOOT=y
+-CONFIG_SYS_MALLOC_F_LEN=0x180000
++CONFIG_SYS_MALLOC_F_LEN=0x210000
+ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xc0400000
+ CONFIG_ENV_OFFSET=0x900000
+ CONFIG_DEFAULT_DEVICE_TREE="st/stm32mp135f-dk"