mpfs/ld-kernel: Increase size of kflash and ksram to 2MB

This commit is contained in:
Ville Juven 2022-11-18 13:42:47 +02:00 committed by Xiang Xiao
parent ce95db46b9
commit 603992fc5f
2 changed files with 7 additions and 7 deletions

View File

@ -23,9 +23,9 @@ CONFIG_ARCH_HEAP_VBASE=0x00000000
CONFIG_ARCH_INTERRUPTSTACK=2048
CONFIG_ARCH_KERNEL_STACKSIZE=2048
CONFIG_ARCH_PGPOOL_MAPPING=y
CONFIG_ARCH_PGPOOL_PBASE=0x80200000
CONFIG_ARCH_PGPOOL_PBASE=0x80400000
CONFIG_ARCH_PGPOOL_SIZE=4194304
CONFIG_ARCH_PGPOOL_VBASE=0x80200000
CONFIG_ARCH_PGPOOL_VBASE=0x80400000
CONFIG_ARCH_RISCV=y
CONFIG_ARCH_STACKDUMP=y
CONFIG_ARCH_TEXT_NPAGES=0
@ -78,8 +78,8 @@ CONFIG_NSH_FILE_APPS=y
CONFIG_NSH_LINELEN=160
CONFIG_NSH_STRERROR=y
CONFIG_PREALLOC_TIMERS=4
CONFIG_RAM_SIZE=1048576
CONFIG_RAM_START=0x80100000
CONFIG_RAM_SIZE=2097152
CONFIG_RAM_START=0x80200000
CONFIG_RAW_BINARY=y
CONFIG_READLINE_CMD_HISTORY=y
CONFIG_RR_INTERVAL=200

View File

@ -25,9 +25,9 @@
MEMORY
{
kflash (rx) : ORIGIN = 0x80000000, LENGTH = 1024K /* w/ cache */
ksram (rwx) : ORIGIN = 0x80100000, LENGTH = 1024K /* w/ cache */
pgram (rwx) : ORIGIN = 0x80200000, LENGTH = 4096K /* w/ cache */
kflash (rx) : ORIGIN = 0x80000000, LENGTH = 2048K /* w/ cache */
ksram (rwx) : ORIGIN = 0x80200000, LENGTH = 2048K /* w/ cache */
pgram (rwx) : ORIGIN = 0x80400000, LENGTH = 4096K /* w/ cache */
}
OUTPUT_ARCH("riscv")