xous-core/emulation/README.md
Sean Cross f50ec67553 initial commit
This pulls together many disparate repositories into one xous-core
repository.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-10 12:13:05 +08:00

15 lines
620 B
Markdown

# Platonic RISC-V Device
Platonic is an ideal system useful for developing an operating system. It does not represent any sort of real hardware, though differences between platforms is minimal.
## Usage
It is recommended to use Renode.
## Debugging
$bin=@../../Xous/kernel/target/riscv32i-unknown-none-elf/debug/xous-kernel; i @scripts/single-node/litex_vexriscv.resc; machine StartGdbServer 3333
# qemu
$(QEMU) -machine $(MACH) -cpu $(CPU) -smp $(CPUS) -m $(MEM) -nographic -serial mon:stdio -bios none -kernel $(OUT) -drive if=none,format=raw,file=$(DRIVE),id=foo -device virtio-blk-device,scsi=off,drive=foo