This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new e82d69533c riscv qemu-rv: fix kernel mapping by enabling 
CONFIG_MM_KMAP in knsh defconfig
e82d69533c is described below

commit e82d69533cec8267f7705d28399e75d8f237895e
Author: Anthony Tran <anthony.t...@motec.com.au>
AuthorDate: Wed Jun 11 10:46:30 2025 +1000

    riscv qemu-rv: fix kernel mapping by enabling CONFIG_MM_KMAP in knsh 
defconfig
---
 boards/risc-v/qemu-rv/rv-virt/configs/knsh/defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/boards/risc-v/qemu-rv/rv-virt/configs/knsh/defconfig 
b/boards/risc-v/qemu-rv/rv-virt/configs/knsh/defconfig
index da49a7dc6b..592c03cb39 100644
--- a/boards/risc-v/qemu-rv/rv-virt/configs/knsh/defconfig
+++ b/boards/risc-v/qemu-rv/rv-virt/configs/knsh/defconfig
@@ -30,6 +30,8 @@ CONFIG_ARCH_HEAP_NPAGES=128
 CONFIG_ARCH_HEAP_VBASE=0xC0800000
 CONFIG_ARCH_INTERRUPTSTACK=2048
 CONFIG_ARCH_KERNEL_STACKSIZE=3072
+CONFIG_ARCH_KMAP_NPAGES=256
+CONFIG_ARCH_KMAP_VBASE=0x42000000
 CONFIG_ARCH_PGPOOL_MAPPING=y
 CONFIG_ARCH_PGPOOL_PBASE=0x80a00000
 CONFIG_ARCH_PGPOOL_SIZE=4194304
@@ -67,6 +69,7 @@ CONFIG_LIBC_EXECFUNCS=y
 CONFIG_LIBC_PERROR_STDOUT=y
 CONFIG_LIBC_STRERROR=y
 CONFIG_LIBM=y
+CONFIG_MM_KMAP=y
 CONFIG_MM_PGALLOC=y
 CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6
 CONFIG_NSH_ARCHINIT=y

Reply via email to