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:
parent
00121f9812
commit
20eb1831b1
4 changed files with 12 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue