mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-14 08:03:34 +00:00
Quick fix a build break in ticktimer-server by copying the WDT from the SoC into the emulator so that it can reference utra::wdt::WATCHDOG_RESET_CODE . Signed-off-by: Andrew Shen <Andrew.Y.Shen@jacobs.ucsd.edu> |
||
|---|---|---|
| .. | ||
| peripherals | ||
| betrusted.repl | ||
| build-renode.ps1 | ||
| csr.csv | ||
| LICENSE | ||
| README.md | ||
| renode.svd | ||
| xous-release.resc | ||
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