Skip to contentSkip to conversation

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

PATCH New Marek Vasut 1 participant 1 message Sep 2 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

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

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.

---
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]

---
 configs/imx8m_data_modul.config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/imx8m_data_modul.config +1 -1
index 18c7bb536fa..92940ddb947 100644
@@ -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
Signature · 1 line
2.53.0