mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-26 09:52:39 +00:00
23 lines
596 B
Text
23 lines
596 B
Text
|
|
using sysbus
|
||
|
|
mach create
|
||
|
|
machine LoadPlatformDescription @platonic.repl
|
||
|
|
|
||
|
|
machine StartGdbServer 3333 true
|
||
|
|
|
||
|
|
showAnalyzer uart
|
||
|
|
showAnalyzer uartkernel
|
||
|
|
|
||
|
|
# The macro `reset` gets called implicitly when running `machine Reset`
|
||
|
|
macro reset
|
||
|
|
"""
|
||
|
|
# sysbus LoadELF @../stage1/target/riscv32imac-unknown-none-elf/debug/xous-stage1
|
||
|
|
sysbus LoadELF @../stage1/target/riscv32imac-unknown-none-elf/release/xous-stage1
|
||
|
|
sysbus LoadBinary @../kernel/args.bin 0x40800000
|
||
|
|
# Set $a0 to point at the args binary
|
||
|
|
cpu SetRegisterUnsafe 10 0x40800000
|
||
|
|
# cpu PC 0x20500000
|
||
|
|
"""
|
||
|
|
|
||
|
|
runMacro $reset
|
||
|
|
start
|