Skip to contentSkip to conversation

configs: icore: Fix U-Boot proper loading from nand

PATCH New Shyam Saini 2 participants 2 messages Jun 3, 2019 – Jul 20, 2019 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: icore: Fix U-Boot proper loading from nand

SPL on Engicam i.Core M6 boards enabled DM, so it would require some malloc() pool before relocation in order to load U-Boot proper properly.

So, enable SPL malloc() pool of 0x2000 size similarly like what we have used for icore mmc defconfigs.

---
 configs/imx6qdl_icore_nand_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/imx6qdl_icore_nand_defconfig +1 -0
index ad4b930a39..630ad30491 100644
@@ -8,6 +8,7 @@ CONFIG_TARGET_MX6Q_ENGICAM=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_SPL=y
+CONFIG_SYS_MALLOC_F_LEN=0x2000
 # CONFIG_CMD_BMODE is not set
 CONFIG_FIT=y
 CONFIG_FIT_SIGNATURE=y
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 configs: icore: Fix U-Boot proper loading from nand

Quoted 5 lines

SPL on Engicam i.Core M6 boards enabled DM, so it would require some malloc() pool before relocation in order to load U-Boot proper properly. So, enable SPL malloc() pool of 0x2000 size similarly like what we have used for icore mmc defconfigs.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================