[rtems commit] bsp/lpc32xx: Increase SDRAM size to 64MiB

Sebastian Huber sebh at rtems.org
Wed Aug 9 04:59:26 UTC 2023


Module:    rtems
Branch:    master
Commit:    6cef96b1ab1302a32b4c4ba51b5bfc957af163ed
Changeset: http://git.rtems.org/rtems/commit/?id=6cef96b1ab1302a32b4c4ba51b5bfc957af163ed

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Sep  6 09:25:10 2022 +0200

bsp/lpc32xx: Increase SDRAM size to 64MiB

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);



More information about the vc mailing list