mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-26 09:52:39 +00:00
This pulls together many disparate repositories into one xous-core repository. Signed-off-by: Sean Cross <sean@xobs.io>
22 lines
596 B
Text
22 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
|