FSConfig.py (11688:725fef71f376) | FSConfig.py (12026:1219d7a06a66) |
---|---|
1# Copyright (c) 2010-2012, 2015-2016 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 39 unchanged lines hidden (view full) --- 48os_types = { 'alpha' : [ 'linux' ], 49 'mips' : [ 'linux' ], 50 'sparc' : [ 'linux' ], 51 'x86' : [ 'linux' ], 52 'arm' : [ 'linux', 53 'android-gingerbread', 54 'android-ics', 55 'android-jellybean', | 1# Copyright (c) 2010-2012, 2015-2016 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 39 unchanged lines hidden (view full) --- 48os_types = { 'alpha' : [ 'linux' ], 49 'mips' : [ 'linux' ], 50 'sparc' : [ 'linux' ], 51 'x86' : [ 'linux' ], 52 'arm' : [ 'linux', 53 'android-gingerbread', 54 'android-ics', 55 'android-jellybean', |
56 'android-kitkat' ], | 56 'android-kitkat', 57 'android-nougat', ], |
57 } 58 59class CowIdeDisk(IdeDisk): 60 image = CowDiskImage(child=RawDiskImage(read_only=True), 61 read_only=False) 62 63 def childImage(self, ci): 64 self.image.child.image_file = ci --- 277 unchanged lines hidden (view full) --- 342 # android-specific tweaks 343 if 'android' in mdesc.os_type(): 344 # generic tweaks 345 cmdline += " init=/init" 346 347 # release-specific tweaks 348 if 'kitkat' in mdesc.os_type(): 349 cmdline += " androidboot.hardware=gem5 qemu=1 qemu.gles=0 " + \ | 58 } 59 60class CowIdeDisk(IdeDisk): 61 image = CowDiskImage(child=RawDiskImage(read_only=True), 62 read_only=False) 63 64 def childImage(self, ci): 65 self.image.child.image_file = ci --- 277 unchanged lines hidden (view full) --- 343 # android-specific tweaks 344 if 'android' in mdesc.os_type(): 345 # generic tweaks 346 cmdline += " init=/init" 347 348 # release-specific tweaks 349 if 'kitkat' in mdesc.os_type(): 350 cmdline += " androidboot.hardware=gem5 qemu=1 qemu.gles=0 " + \ |
350 "android.bootanim=0" | 351 "android.bootanim=0 " 352 elif 'nougat' in mdesc.os_type(): 353 cmdline += " androidboot.hardware=gem5 qemu=1 qemu.gles=0 " + \ 354 "android.bootanim=0 " + \ 355 "vmalloc=640MB " + \ 356 "android.early.fstab=/fstab.gem5 " + \ 357 "androidboot.selinux=permissive " + \ 358 "video=Virtual-1:1920x1080-16" |
351 352 self.boot_osflags = fillInCmdline(mdesc, cmdline) 353 354 if external_memory: 355 # I/O traffic enters iobus 356 self.external_io = ExternalMaster(port_data="external_io", 357 port_type=external_memory) 358 self.external_io.port = self.iobus.slave --- 365 unchanged lines hidden --- | 359 360 self.boot_osflags = fillInCmdline(mdesc, cmdline) 361 362 if external_memory: 363 # I/O traffic enters iobus 364 self.external_io = ExternalMaster(port_data="external_io", 365 port_type=external_memory) 366 self.external_io.port = self.iobus.slave --- 365 unchanged lines hidden --- |