All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 1/2] imx: imx8mp_evk: fix boot issue
@ 2020-05-11  7:18 Peng Fan
  2020-05-11  7:18 ` [PATCH V2 2/2] imx8mp_evk: simplify board spl code Peng Fan
  2020-05-11 12:09 ` [PATCH V2 1/2] imx: imx8mp_evk: fix boot issue Fabio Estevam
  0 siblings, 2 replies; 6+ messages in thread
From: Peng Fan @ 2020-05-11  7:18 UTC (permalink / raw)
  To: u-boot

The u-boot-spl.bin pad with ddr firmware conflicts with the
CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten
by malloc in SPL stage and cause ddr initialization not able
to finish. So update the related addresses to fix the issue.

Reported-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---

V2:
 None

 include/configs/imx8mp_evk.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h
index 80e5738961..b90a4f6932 100644
--- a/include/configs/imx8mp_evk.h
+++ b/include/configs/imx8mp_evk.h
@@ -23,15 +23,15 @@
 #ifdef CONFIG_SPL_BUILD
 /*#define CONFIG_ENABLE_DDR_TRAINING_DEBUG*/
 #define CONFIG_SPL_LDSCRIPT		"arch/arm/cpu/armv8/u-boot-spl.lds"
-#define CONFIG_SPL_STACK		0x990000
-#define CONFIG_SPL_BSS_START_ADDR      0x0095e000
-#define CONFIG_SPL_BSS_MAX_SIZE        0x2000	/* 8 KB */
+#define CONFIG_SPL_STACK		0x98fc00
+#define CONFIG_SPL_BSS_START_ADDR      0x0098fc00
+#define CONFIG_SPL_BSS_MAX_SIZE        0x400	/* 1 KB */
 #define CONFIG_SYS_SPL_MALLOC_START    0x42200000
 #define CONFIG_SYS_SPL_MALLOC_SIZE     SZ_512K	/* 512 KB */
 #define CONFIG_SYS_ICACHE_OFF
 #define CONFIG_SYS_DCACHE_OFF
 
-#define CONFIG_MALLOC_F_ADDR		0x940000
+#define CONFIG_MALLOC_F_ADDR		0x950000
 
 #define CONFIG_SPL_ABORT_ON_RAW_IMAGE
 
-- 
2.16.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-11 12:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11  7:18 [PATCH V2 1/2] imx: imx8mp_evk: fix boot issue Peng Fan
2020-05-11  7:18 ` [PATCH V2 2/2] imx8mp_evk: simplify board spl code Peng Fan
2020-05-11 12:14   ` Fabio Estevam
2020-05-11 12:25     ` Peng Fan
2020-05-11 12:09 ` [PATCH V2 1/2] imx: imx8mp_evk: fix boot issue Fabio Estevam
2020-05-11 12:23   ` Peng Fan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.