This is an automated email from the ASF dual-hosted git repository. GUIDINGLI pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 6dacf3dc521da1662b450176daf6ad6fb2d931b2 Author: buxiasen <[email protected]> AuthorDate: Mon Mar 9 14:57:31 2026 +0800 imx95-a55-evk: expand NuttX RAM from 128MB to 512MB Increase available DRAM for NuttX on i.MX95 from 128MB to 512MB by expanding MMU mapping range and relocating PCI DMA region. Isolate RAMBANK1_SIZE per chip so imx93 remains at 128MB. - chip.h: set CONFIG_RAMBANK1_SIZE to MB(512) for imx95, keep MB(128) for imx93 - chip.h: move CONFIG_PCI_DMA_ADDR from 0xa8100000 to 0xc0100000 - dramboot.ld: extend linker memory region to 512M, update comment - defconfig (nsh_smp, nsh): update CONFIG_RAM_SIZE to 536870912 Signed-off-by: buxiasen <[email protected]> --- arch/arm64/include/imx9/chip.h | 5 +++-- boards/arm64/imx9/imx95-a55-evk/configs/nsh/defconfig | 2 +- boards/arm64/imx9/imx95-a55-evk/configs/nsh_smp/defconfig | 2 +- boards/arm64/imx9/imx95-a55-evk/scripts/dramboot.ld | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm64/include/imx9/chip.h b/arch/arm64/include/imx9/chip.h index 82fdcfb4267..84fcea33606 100644 --- a/arch/arm64/include/imx9/chip.h +++ b/arch/arm64/include/imx9/chip.h @@ -62,13 +62,14 @@ #if defined(CONFIG_ARCH_CHIP_IMX93) #define CONFIG_RAMBANK1_ADDR 0x80000000 +#define CONFIG_RAMBANK1_SIZE MB(128) #elif defined(CONFIG_ARCH_CHIP_IMX95) #define CONFIG_RAMBANK1_ADDR 0xa0100000 +#define CONFIG_RAMBANK1_SIZE MB(512) #endif -#define CONFIG_RAMBANK1_SIZE MB(128) #if defined(CONFIG_ARCH_CHIP_IMX95) -#define CONFIG_PCI_DMA_ADDR 0xa8100000 +#define CONFIG_PCI_DMA_ADDR 0xc0100000 #define CONFIG_PCI_DMA_SIZE MB(32) #define CONFIG_PCI_OB_ADDR 0xa00000000 diff --git a/boards/arm64/imx9/imx95-a55-evk/configs/nsh/defconfig b/boards/arm64/imx9/imx95-a55-evk/configs/nsh/defconfig index 89c643468cf..f4e3b7900d6 100644 --- a/boards/arm64/imx9/imx95-a55-evk/configs/nsh/defconfig +++ b/boards/arm64/imx9/imx95-a55-evk/configs/nsh/defconfig @@ -46,7 +46,7 @@ CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_READLINE=y CONFIG_PREALLOC_TIMERS=4 CONFIG_RAMLOG=y -CONFIG_RAM_SIZE=134217728 +CONFIG_RAM_SIZE=536870912 CONFIG_RAM_START=0xa0100000 CONFIG_RAW_BINARY=y CONFIG_READLINE_CMD_HISTORY=y diff --git a/boards/arm64/imx9/imx95-a55-evk/configs/nsh_smp/defconfig b/boards/arm64/imx9/imx95-a55-evk/configs/nsh_smp/defconfig index b8a21a1e083..1bd87653b8b 100644 --- a/boards/arm64/imx9/imx95-a55-evk/configs/nsh_smp/defconfig +++ b/boards/arm64/imx9/imx95-a55-evk/configs/nsh_smp/defconfig @@ -47,7 +47,7 @@ CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_READLINE=y CONFIG_PREALLOC_TIMERS=4 CONFIG_RAMLOG=y -CONFIG_RAM_SIZE=134217728 +CONFIG_RAM_SIZE=536870912 CONFIG_RAM_START=0xa0100000 CONFIG_RAW_BINARY=y CONFIG_READLINE_CMD_HISTORY=y diff --git a/boards/arm64/imx9/imx95-a55-evk/scripts/dramboot.ld b/boards/arm64/imx9/imx95-a55-evk/scripts/dramboot.ld index 96f88ce91e1..d14fe11e3aa 100644 --- a/boards/arm64/imx9/imx95-a55-evk/scripts/dramboot.ld +++ b/boards/arm64/imx9/imx95-a55-evk/scripts/dramboot.ld @@ -29,13 +29,13 @@ EXTERN(__start) * - Uboot reserved area is 0x00000000 - 0x00a00000 * - NuttX is loaded to 0xa0100000, u-boot expects us here * - NuttX ROM and RAM are one continuous region, starting from 0xa0100000 - with a size of 128MB + with a size of 512MB * - Heap memory is allocated from dram end to idlestack top */ MEMORY { - dram (rwx) : ORIGIN = 0xa0100000, LENGTH = 128M + dram (rwx) : ORIGIN = 0xa0100000, LENGTH = 512M } PHDRS
