rv-virt/knsh: Set correct RAM_START and RAM_SIZE

Also, set RAM_VSTART, because we have vaddr=paddr mapping. Otherwise
RAM_VSTART gets its default value which is 0.
This commit is contained in:
Ville Juven 2023-11-24 12:19:11 +02:00 committed by Xiang Xiao
parent 00121f9812
commit 20eb1831b1
4 changed files with 12 additions and 8 deletions

View file

@ -113,8 +113,9 @@ CONFIG_NSH_FILE_APPS=y
CONFIG_NSH_READLINE=y
CONFIG_OPENAMP=y
CONFIG_PATH_INITIAL="/system/bin"
CONFIG_RAM_SIZE=1048576
CONFIG_RAM_START=0x80100000
CONFIG_RAM_SIZE=2097152
CONFIG_RAM_START=0x80200000
CONFIG_RAM_VSTART=0x80200000
CONFIG_READLINE_CMD_HISTORY=y
CONFIG_RISCV_SEMIHOSTING_HOSTFS=y
CONFIG_RR_INTERVAL=200

View file

@ -116,8 +116,9 @@ CONFIG_NSH_FILE_APPS=y
CONFIG_NSH_READLINE=y
CONFIG_OPENAMP=y
CONFIG_PATH_INITIAL="/system/bin"
CONFIG_RAM_SIZE=1048576
CONFIG_RAM_START=0x80100000
CONFIG_RAM_SIZE=2097152
CONFIG_RAM_START=0x80200000
CONFIG_RAM_VSTART=0x80200000
CONFIG_READLINE_CMD_HISTORY=y
CONFIG_RISCV_SEMIHOSTING_HOSTFS=y
CONFIG_RR_INTERVAL=200

View file

@ -75,8 +75,9 @@ CONFIG_NSH_FILEIOSIZE=512
CONFIG_NSH_FILE_APPS=y
CONFIG_NSH_READLINE=y
CONFIG_PATH_INITIAL="/system/bin"
CONFIG_RAM_SIZE=1048576
CONFIG_RAM_START=0x80100000
CONFIG_RAM_SIZE=2097152
CONFIG_RAM_START=0x80200000
CONFIG_RAM_VSTART=0x80200000
CONFIG_READLINE_CMD_HISTORY=y
CONFIG_RISCV_SEMIHOSTING_HOSTFS=y
CONFIG_RR_INTERVAL=200

View file

@ -74,8 +74,9 @@ CONFIG_NSH_FILEIOSIZE=512
CONFIG_NSH_FILE_APPS=y
CONFIG_NSH_READLINE=y
CONFIG_PATH_INITIAL="/system/bin"
CONFIG_RAM_SIZE=1048576
CONFIG_RAM_START=0x80100000
CONFIG_RAM_SIZE=2097152
CONFIG_RAM_START=0x80200000
CONFIG_RAM_VSTART=0x80200000
CONFIG_READLINE_CMD_HISTORY=y
CONFIG_RISCV_SEMIHOSTING_HOSTFS=y
CONFIG_RR_INTERVAL=200