Changes in tools/ew.py [56a3c29e:06f10ac] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    r56a3c29e r06f10ac  
    7979        for termemu in emus:
    8080                try:
    81                         subprocess.check_output('which ' + termemu, shell = True, stderr = subprocess.STDOUT)
     81                        subprocess.check_output('which ' + termemu, shell = True)
    8282                        return termemu
    8383                except:
     
    173173                        raise Exception
    174174                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"'
    179176
    180177                # processor = 'sun4v'
     
    288285        if (is_override('nographic')):
    289286                cmdline += ' -nographic'
    290                 console = True
    291287
    292288        if (not console and (not is_override('nographic')) and not is_override('noserial')):
     
    331327def msim_run(platform, machine, processor):
    332328        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')
    334330
    335331def spike_run(platform, machine, processor):
     
    414410                                'image' : 'image.iso',
    415411                                'audio' : False,
    416                                 'console' : False,
     412                                'console' : True,
    417413                                'net' : False,
    418414                                'usb' : False,
     
    422418                        'sun4v' : {
    423419                                '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',
    428421                                'audio' : False,
    429422                                'console' : True,
Note: See TracChangeset for help on using the changeset viewer.