riscv-isa-sim
riscv-isa-sim copied to clipboard
Store/AMO access fault!
I am running a simple hello world program using the following command:
$RISCV/bin/riscv64-unknown-elf-gcc -o hello hello.c
<path_to_spike>/spike <path_to_pk>/bin/pk hello
On doing so, I get the following output:
:23.39-27.9: Warning (interrupt_provider): /cpus/cpu@0/interrupt-controller: Missing #address-cells in interrupt provider bbl loader =================WARNING: access out of range!================= Detect access on symbol root_page_table at addr 0x8001a070 with len = 0x12, expected len <= 0x8. PC = 80001bbc z 0000000000000000 ra ffffffc000001d6e sp ffffffc00041ed60 gp 0000000000000000 tp 0000000000000000 t0 0000000000000000 t1 0000000000000000 t2 0000000100000000 s0 0000003ffffffc00 s1 0000000000000400 a0 0000003ffffffc00 a1 ffffffc000010078 a2 0000000000000400 a3 0000000470000003 a4 ffffffc000010080 a5 0000003ffffffc08 a6 0000003ffffffff9 a7 000000000007fbdc s2 8000000200006000 s3 ffffffc000010078 s4 ffffffc00041f000 s5 0000000000000001 s6 0000000000000001 s7 ffffffc00001a040 s8 ffffffc000010480 s9 ffffffc000010488 sA 0000000000000001 sB 0000000000000000 t3 0000000000000001 t4 0000000000000004 t5 0000000000000000 t6 0000000000000005 pc ffffffc0000091a6 va/inst 0000003ffffffc00 sr 8000000200046100 Store/AMO access fault!
Background: Running this on Ubuntu 22 Installed Linux and Newlib installation, both. Spike seems to have been cleanly installed, and so does PK and riscv-gnu-toolchain. But I did not use the riscv-tools repo to install the packages.
Not sure if this is a problem with my software installation, or the spike/pk commands.