coreboot-kgpe-d16/Documentation/mainboard/emulation/spike-riscv.md

719 B

Spike RISC-V emulator

Spike, also known as riscv-isa-sim, is a commonly used RISC-V emulator.

Installation

Building coreboot and running it in Spike

  • Configure coreboot and run make as usual
  • Run util/riscv/make-spike-elf.sh build/coreboot.rom build/coreboot.elf to convert coreboot to an ELF that Spike can load
  • Run spike -m1024 build/coreboot.elf