[openwrt/openwrt] uboot-stm32: bump to 2025.07
LEDE Commits
lede-commits at lists.infradead.org
Sun Aug 17 10:03:30 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d72157f4e3bef8767be4d1c699102292361fdbd2
commit d72157f4e3bef8767be4d1c699102292361fdbd2
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Thu Aug 14 17:03:04 2025 +0200
uboot-stm32: bump to 2025.07
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 at bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/19779
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/boot/uboot-stm32/Makefile | 6 ++---
...32mp13-increase-SYS_MALLOC_F_LEN-to-0x210.patch | 27 ++++++++++++++++++++++
2 files changed, 30 insertions(+), 3 deletions(-)
diff --git a/package/boot/uboot-stm32/Makefile b/package/boot/uboot-stm32/Makefile
index 8803504095..534857c07f 100644
--- a/package/boot/uboot-stm32/Makefile
+++ b/package/boot/uboot-stm32/Makefile
@@ -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 at 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
index 0000000000..b93fb52a6f
--- /dev/null
+++ b/package/boot/uboot-stm32/patches/001-configs-stm32mp13-increase-SYS_MALLOC_F_LEN-to-0x210.patch
@@ -0,0 +1,27 @@
+From 1cdb64ad3aa9d6cd4a02adc09fcc1015f90e2fb9 Mon Sep 17 00:00:00 2001
+From: Patrice Chotard <patrice.chotard at 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 at 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"
More information about the lede-commits
mailing list