diff mbox series

arm64: dts: imx: Increase malloc area size on Data Modul i.MX8M eDM SBC

Message ID 20260902155048.801588-1-marex@nabladev.com
State Accepted
Delegated to: Fabio Estevam
Headers show
Series arm64: dts: imx: Increase malloc area size on Data Modul i.MX8M eDM SBC | expand

Commit Message

Marek Vasut Sept. 2, 2026, 3:50 p.m. UTC
The malloc area size may run out during DFU usage for bootloader update
with "dfu_get_buf: Could not memalign 0x800000 bytes" error message.
Increase the malloc area size to prevent this problem.

Signed-off-by: Marek Vasut <marex@nabladev.com>
---
Cc: "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Stefano Babic <sbabic@nabladev.com>
Cc: Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.u-boot-project.org
---
 configs/imx8m_data_modul.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/configs/imx8m_data_modul.config b/configs/imx8m_data_modul.config
index 18c7bb536fa..92940ddb947 100644
--- a/configs/imx8m_data_modul.config
+++ b/configs/imx8m_data_modul.config
@@ -196,7 +196,7 @@  CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=20
 CONFIG_SYS_EEPROM_SIZE=16384
 CONFIG_SYS_I2C_EEPROM_ADDR=0x50
 CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
-CONFIG_SYS_MALLOC_LEN=0x1000000
+CONFIG_SYS_MALLOC_LEN=0x2000000
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
 CONFIG_ENV_MMC_EMMC_HW_PARTITION=1
 CONFIG_SYS_MONITOR_LEN=1048576