Changes in tools/ew.py [56a3c29e:06f10ac] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
r56a3c29e r06f10ac 79 79 for termemu in emus: 80 80 try: 81 subprocess.check_output('which ' + termemu, shell = True , stderr = subprocess.STDOUT)81 subprocess.check_output('which ' + termemu, shell = True) 82 82 return termemu 83 83 except: … … 173 173 raise Exception 174 174 if processor == 'us': 175 cmdline = '-M sun4u' 176 if is_override('nographic'): 177 cmdline += ' --prom-env boot-args="console=devices/\\hw\\pci0\\01:01.0\\com1\\a"' 178 return 'system-sparc64', cmdline 175 return 'system-sparc64', '-M sun4u --prom-env boot-args="console=devices/\\hw\\pci0\\01:01.0\\com1\\a"' 179 176 180 177 # processor = 'sun4v' … … 288 285 if (is_override('nographic')): 289 286 cmdline += ' -nographic' 290 console = True291 287 292 288 if (not console and (not is_override('nographic')) and not is_override('noserial')): … … 331 327 def msim_run(platform, machine, processor): 332 328 hdisk_mk() 333 run_in_console('msim - n -c ' + TOOLS_DIR + '/conf/msim.conf', 'HelenOS/mips32 on msim')329 run_in_console('msim -c ' + TOOLS_DIR + '/conf/msim.conf', 'HelenOS/mips32 on msim') 334 330 335 331 def spike_run(platform, machine, processor): … … 414 410 'image' : 'image.iso', 415 411 'audio' : False, 416 'console' : False,412 'console' : True, 417 413 'net' : False, 418 414 'usb' : False, … … 422 418 'sun4v' : { 423 419 'run' : qemu_run, 424 # QEMU 8.0.0 ignores the 'file' argument and instead uses 'id', 425 # which defaults to 'pflash0', but can be changed to the same value 426 # as 'file' 427 'image' : '-drive if=pflash,id=image.iso,readonly=on,file=image.iso', 420 'image' : '-drive if=pflash,readonly=on,file=image.iso', 428 421 'audio' : False, 429 422 'console' : True,
Note:
See TracChangeset
for help on using the changeset viewer.