Changeset 7f0580d in mainline for tools/ew.py


Ignore:
Timestamp:
2016-06-05T21:22:47Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
36df4109
Parents:
8ad7dd1
Message:

gem5: Use expect to enter 'boot' after the 'ok' prompt in ew.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    r8ad7dd1 r7f0580d  
    193193        term = os.environ['M5_PATH'] + '/gem5/util/term/m5term'
    194194        port = 3457
    195         run_in_console(term + ' %d' % port, 'HelenOS/sun4v on gem5')
     195        run_in_console('expect -c \'spawn %s %d; expect "ok " { send "boot\n" } timeout exp_continue; interact\'' % (term, port), 'HelenOS/sun4v on gem5')
    196196
    197197def gem5_run(platform, machine, processor):
Note: See TracChangeset for help on using the changeset viewer.