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 if mdesc.disk().lower().count('android'):
290 cmdline += " init=/init "
291 self.boot_osflags = fillInCmdline(mdesc, cmdline)
292 self.realview.attachOnChipIO(self.membus, self.bridge)
293 self.realview.attachIO(self.iobus)
294 self.intrctrl = IntrControl()
295 self.terminal = Terminal()
296 self.vncserver = VncServer()
297
--- 291 unchanged lines hidden ---
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 if mdesc.disk().lower().count('android'):
290 cmdline += " init=/init "
291 self.boot_osflags = fillInCmdline(mdesc, cmdline)
292 self.realview.attachOnChipIO(self.membus, self.bridge)
293 self.realview.attachIO(self.iobus)
294 self.intrctrl = IntrControl()
295 self.terminal = Terminal()
296 self.vncserver = VncServer()
297
--- 291 unchanged lines hidden ---