Open kovalexpro opened 4 years ago
BTW, I tried to disable MMU by instantiating all mmu_t() objects with proc=NULL.
This did not help as well and I guess the reason is the same - bus.find_device() finds single object mapped at zero address and it's not mem_t
(memory).
Hi, I'm trying to run simple ELF payload on Spike without PK desirably without any MMU. I'm using rv32i ISA and built gnu-toolchain, pk and spike locally. All tests with PK works fine.
Now, minimal test (i.e. echo "void _start(void) {}" compiled with -nostdlib can't start even:
Looks like then running without PK the device map has no memory object mapped and thus
sim_t::addr_to_mem()
fails to translate 0x10000 (start of ELF payload I guess) to the host memory.