xous-platonic/boot.resc
Sean Cross b322cad510 boot: start simulation immediately on load
Signed-off-by: Sean Cross <sean@xobs.io>
2020-02-01 13:36:12 +08:00

18 lines
399 B
Plaintext

using sysbus
mach create
machine LoadPlatformDescription @platonic.repl
sysbus LoadELF @../kernel/target/riscv32i-unknown-none-elf/debug/xous-kernel
machine StartGdbServer 3333 true
showAnalyzer uart
# The macro `reset` gets called implicitly when running `machine Reset`
macro reset
"""
sysbus LoadELF @../kernel/target/riscv32i-unknown-none-elf/debug/xous-kernel
"""
runMacro $reset
start