1# Copyright (c) 2010-2012 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 --- 272 unchanged lines hidden (view full) --- 281 cmdline = 'earlyprintk=pl011,0x1c090000 console=ttyAMA0 ' + \ 282 'lpj=19988480 norandmaps rw loglevel=8 ' + \ 283 'mem=%(mem)s root=%(rootdev)s' 284 285 self.realview.setupBootLoader(self.membus, self, binary) 286 self.gic_cpu_addr = self.realview.gic.cpu_addr 287 self.flags_addr = self.realview.realview_io.pio_addr + 0x30 288 |
289 # Android disk images must have 'android' keyword in the disk name 290 # Look for 'android' in disk name and append /init to boot_osflags 291 if (os.path.split(mdesc.disk())[-1]).lower().count('android'): |
292 cmdline += " init=/init " 293 self.boot_osflags = fillInCmdline(mdesc, cmdline) 294 self.realview.attachOnChipIO(self.membus, self.bridge) 295 self.realview.attachIO(self.iobus) 296 self.intrctrl = IntrControl() 297 self.terminal = Terminal() 298 self.vncserver = VncServer() 299 --- 291 unchanged lines hidden --- |