Deleted Added
sdiff udiff text old ( 9489:172dbcb74a0e ) new ( 9539:0ac00d9a8aaf )
full compact
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

--- 213 unchanged lines hidden (view full) ---

222 self.nvram_bin = binary('nvram1')
223 self.hypervisor_desc_bin = binary('1up-hv.bin')
224 self.partition_desc_bin = binary('1up-md.bin')
225
226 self.system_port = self.membus.slave
227
228 return self
229
230def makeArmSystem(mem_mode, machine_type, mdesc = None, bare_metal=False):
231 assert machine_type
232
233 if bare_metal:
234 self = ArmSystem()
235 else:
236 self = LinuxArmSystem()
237
238 if not mdesc:

--- 35 unchanged lines hidden (view full) ---

274 if bare_metal:
275 # EOT character on UART will end the simulation
276 self.realview.uart.end_on_eot = True
277 self.physmem = SimpleDDR3(range = AddrRange(Addr(mdesc.mem())),
278 zero = True)
279 self.mem_ranges = [self.physmem.range]
280 else:
281 self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
282 self.machine_type = machine_type
283 if convert.toMemorySize(mdesc.mem()) > int(self.realview.max_mem_size):
284 print "The currently selected ARM platforms doesn't support"
285 print " the amount of DRAM you've selected. Please try"
286 print " another platform"
287 sys.exit(1)
288
289 boot_flags = 'earlyprintk console=ttyAMA0 lpj=19988480 norandmaps ' + \

--- 281 unchanged lines hidden ---