Changeset abf8bd8 in mainline for tools/ew.py


Ignore:
Timestamp:
2018-06-14T18:43:49Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f7d77c6
Parents:
0ceeac3
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-14 18:41:32)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-06-14 18:43:49)
Message:

tools/ew.py: Add -bigmem option for RAM-hungry configurations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    r0ceeac3 rabf8bd8  
    212212                cmdline += ' -nographic'
    213213
     214        if (is_override('bigmem')):
     215                cmdline += ' -m 4G'
     216
    214217        if cfg['image'] == 'image.iso':
    215218                cmdline += ' -boot d -cdrom image.iso'
     
    334337        print("-noxhci\tDisable XHCI support, if applicable.")
    335338        print("-notablet\tDisable USB tablet (use only relative-position PS/2 mouse instead), if applicable.")
     339        print("-nographic\tDisable graphical output. Serial port output must be enabled for this to be useful.")
     340        print("-bigmem\tSets maximum RAM size to 4GB.")
    336341
    337342def fail(platform, machine):
     
    387392                elif sys.argv[i] == '-nographic':
    388393                        overrides['nographic'] = True
     394                elif sys.argv[i] == '-bigmem':
     395                        overrides['bigmem'] = True
    389396                elif sys.argv[i] == '-qemu_path' and i < len(sys.argv) - 1:
    390397                        expect_qemu = True
Note: See TracChangeset for help on using the changeset viewer.