boot: add reset script to reload the elf file
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
74fb4b855e
commit
9a7cda70ca
11
boot.resc
11
boot.resc
@ -3,6 +3,15 @@ mach create
|
|||||||
machine LoadPlatformDescription @platonic.repl
|
machine LoadPlatformDescription @platonic.repl
|
||||||
sysbus LoadELF @../kernel/target/riscv32i-unknown-none-elf/debug/xous-kernel
|
sysbus LoadELF @../kernel/target/riscv32i-unknown-none-elf/debug/xous-kernel
|
||||||
|
|
||||||
machine StartGdbServer 3333
|
machine StartGdbServer 3333 true
|
||||||
|
|
||||||
showAnalyzer uart
|
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
|
||||||
|
"""
|
||||||
|
# cpu PC 0x20500000
|
||||||
|
|
||||||
|
runMacro $reset
|
||||||
|
Loading…
Reference in New Issue
Block a user