summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-10-01 02:47:29 -0600
committerAlejandro Soto <alejandro@34project.org>2023-10-01 02:47:29 -0600
commit58dd2e9725b7ba05238f12a4432a83740eff7511 (patch)
tree54d82efa29944d3e8ac2b676410d8944a0eb6f0b /sim
parentcb5e68ec47d71c36788ea2da0a060c5ea7623667 (diff)
Makefile: set proper paths for linux boot
Diffstat (limited to 'sim')
-rw-r--r--sim/gdbstub.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/sim/gdbstub.py b/sim/gdbstub.py
index e7791bc..3bd078c 100644
--- a/sim/gdbstub.py
+++ b/sim/gdbstub.py
@@ -1,7 +1,12 @@
import sys, socket, traceback
+loads = {0x0100000: 'build/uImage',
+ 0x1000000: 'build/initrd.img',
+ }
+
cycles = None
enable_tty = True
+enable_video = True
start_halted = True
sock, client = None, None
@@ -23,10 +28,7 @@ def fatal():
def do_output(text):
if text is None:
return not is_halted()
-
- print(text, file=sys.stderr, end='')
-
- if not client:
+ elif not client:
return False
reply(b'O' + hexout(text.encode('ascii')))