run.sh shortcut, m5 executable userland

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-03-14 00:00:00 +00:00
parent 5d08bfeeb2
commit a1b312891f
4 changed files with 42 additions and 8 deletions

3
run
View File

@@ -577,7 +577,7 @@ Extra options to append at the end of the emulator command line.
if dtb is not None:
cmd.extend(['--dtb-filename', dtb, LF])
if self.env['baremetal'] is None:
cmd.extend(['--param', 'system.panic_on_panic = True', LF])
cmd.extend(['--param', 'system.workload.panic_on_panic = True', LF])
else:
cmd.extend([
'--bare-metal', LF,
@@ -847,6 +847,7 @@ Extra options to append at the end of the emulator command line.
show_stdout=show_stdout,
stdin_path=self.env['stdin_file'],
)
self.sh.cp(self.env['run_cmd_file'], self.env['out_dir'], quiet=True)
if self.env['debug_vm_rr']:
rr_cmd = ['rr', 'replay', LF, '-o', '-q', LF]
for arg in shlex.split(self.env['debug_vm_args']):