[PATCH 4/5] bsp/lpc32xx: Increase SDRAM size to 64MiB

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 7 07:02:19 UTC 2023


Increase stage 2 bootloader size to 16MiB.
---
 bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx         | 2 +-
 bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx
index 3c7a0bce08..b0d2ecd8a6 100644
--- a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx
+++ b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx
@@ -18,7 +18,7 @@ MEMORY {
 	RAM_INT : ORIGIN = 0x08000000, LENGTH = 256k
 	RAM_MMU : ORIGIN = 0x80000000, LENGTH = 16k /* SDRAM on DYCS0 */
 	RAM_SCRATCH : ORIGIN = 0x80004000, LENGTH = 4k /* SDRAM on DYCS0 */
-	RAM_EXT : ORIGIN = 0x80005000, LENGTH = 32M - 20k /* SDRAM on DYCS0 */
+	RAM_EXT : ORIGIN = 0x80005000, LENGTH = 64M - 20k /* SDRAM on DYCS0 */
 }
 
 REGION_ALIAS ("REGION_START", RAM_EXT);
diff --git a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2 b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2
index b32e0f0a45..4950ce735e 100644
--- a/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2
+++ b/bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2
@@ -19,7 +19,7 @@ MEMORY {
 	RAM_FAST : ORIGIN = 0x0803c000, LENGTH = 16k
 	RAM_MMU : ORIGIN = 0x80000000, LENGTH = 16k /* SDRAM on DYCS0 */
 	RAM_SCRATCH : ORIGIN = 0x80004000, LENGTH = 4k /* SDRAM on DYCS0 */
-	RAM_EXT : ORIGIN = 0x81c00000, LENGTH = 4M /* SDRAM on DYCS0 */
+	RAM_EXT : ORIGIN = 0x83000000, LENGTH = 16M /* SDRAM on DYCS0 */
 }
 
 REGION_ALIAS ("REGION_START", RAM_EXT);
-- 
2.35.3



More information about the devel mailing list