mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +00:00
emulation: connect kernel uart to port 9999
This port is used to attach a debugger. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
f1041f6f6e
commit
7371ac7bd5
1 changed files with 5 additions and 0 deletions
|
|
@ -45,6 +45,11 @@ macro reset
|
||||||
cpu SetRegisterUnsafe 10 0x40800000
|
cpu SetRegisterUnsafe 10 0x40800000
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# Connect the serial port to an Ethernet port
|
||||||
|
mach set 0
|
||||||
|
emulation CreateServerSocketTerminal 9999 "kernel" False
|
||||||
|
connector Connect sysbus.uart kernel
|
||||||
|
|
||||||
runMacro $reset
|
runMacro $reset
|
||||||
sysbus.cpu InstallCustomInstructionHandlerFromFile "00ss0fdbbbbbaaaaa000ddddd0001011" @vexriscv-aes.py
|
sysbus.cpu InstallCustomInstructionHandlerFromFile "00ss0fdbbbbbaaaaa000ddddd0001011" @vexriscv-aes.py
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue