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