masayuki2009 commented on PR #13561:
URL: https://github.com/apache/nuttx/pull/13561#issuecomment-2364611876
@hujun260 @xiaoxiang781216
I noticed that rv-virt:knsh crashes now.
```
$ /home/ishikawa/opensource/QEMU/qemu-9.0.0/build/qemu-system-riscv32
-semihosting -nographic -cpu rv32 -M virt,aclint=on -kernel nuttx
OpenSBI v1.4
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
\____/| .__/ \___|_| |_|_____/|____/_____|
| |
|_|
Platform Name : riscv-virtio,qemu
Platform Features : medeleg
Platform HART Count : 1
Platform IPI Device : aclint-mswi
Platform Timer Device : aclint-mtimer @ 10000000Hz
Platform Console Device : semihosting
Platform HSM Device : ---
Platform PMU Device : ---
Platform Reboot Device : syscon-reboot
Platform Shutdown Device : syscon-poweroff
Platform Suspend Device : ---
Platform CPPC Device : ---
Firmware Base : 0x80000000
Firmware Size : 319 KB
Firmware RW Offset : 0x40000
Firmware RW Size : 63 KB
Firmware Heap Offset : 0x47000
Firmware Heap Size : 35 KB (total), 2 KB (reserved), 9 KB (used), 24
KB (free)
Firmware Scratch Size : 4096 B (total), 184 B (used), 3912 B (free)
Runtime SBI Version : 2.0
Domain0 Name : root
Domain0 Boot HART : 0
Domain0 HARTs : 0*
Domain0 Region00 : 0x00100000-0x00100fff M: (I,R,W) S/U: (R,W)
Domain0 Region01 : 0x02000000-0x0200ffff M: (I,R,W) S/U: ()
Domain0 Region02 : 0x80040000-0x8004ffff M: (R,W) S/U: ()
Domain0 Region03 : 0x80000000-0x8003ffff M: (R,X) S/U: ()
Domain0 Region04 : 0x0c400000-0x0c5fffff M: (I,R,W) S/U: (R,W)
Domain0 Region05 : 0x0c000000-0x0c3fffff M: (I,R,W) S/U: (R,W)
Domain0 Region06 : 0x00000000-0xffffffff M: () S/U: (R,W,X)
Domain0 Next Address : 0x80200000
Domain0 Next Arg1 : 0x87e00000
Domain0 Next Mode : S-mode
Domain0 SysReset : yes
Domain0 SysSuspend : yes
Boot HART ID : 0
Boot HART Domain : root
Boot HART Priv Version : v1.12
Boot HART Base ISA : rv32imafdch
Boot HART ISA Extensions : sstc,zicntr,zihpm,zicboz,zicbom
Boot HART PMP Count : 16
Boot HART PMP Granularity : 2 bits
Boot HART PMP Address Bits: 32
Boot HART MHPM Info : 16 (0x0007fff8)
Boot HART MIDELEG : 0x00001666
Boot HART MEDELEG : 0x00f0b509
ABC[ 0.018000] riscv_exception: EXCEPTION: Store/AMO page fault. MCAUSE:
0000000f, EPC: 80200120, MTVAL: c08810f1
[ 0.018000] riscv_exception: Segmentation fault in PID 2: /system/bin/init
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]