FSConfig.py (8870:f95c4042f2d0) FSConfig.py (8894:351585c17699)
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

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

271 if bare_metal:
272 # EOT character on UART will end the simulation
273 self.realview.uart.end_on_eot = True
274 self.physmem = PhysicalMemory(range = AddrRange(Addr(mdesc.mem())),
275 zero = True)
276 else:
277 self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
278 self.machine_type = machine_type
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

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

271 if bare_metal:
272 # EOT character on UART will end the simulation
273 self.realview.uart.end_on_eot = True
274 self.physmem = PhysicalMemory(range = AddrRange(Addr(mdesc.mem())),
275 zero = True)
276 else:
277 self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
278 self.machine_type = machine_type
279 if convert.toMemorySize(mdesc.mem()) > self.realview.max_mem_size:
279 if convert.toMemorySize(mdesc.mem()) > int(self.realview.max_mem_size):
280 print "The currently selected ARM platforms doesn't support"
281 print " the amount of DRAM you've selected. Please try"
282 print " another platform"
280 print "The currently selected ARM platforms doesn't support"
281 print " the amount of DRAM you've selected. Please try"
282 print " another platform"
283 sys.exit(1)
283
284 boot_flags = 'earlyprintk console=ttyAMA0 lpj=19988480 norandmaps ' + \
285 'rw loglevel=8 mem=%s root=/dev/sda1' % mdesc.mem()
286
287 self.physmem = PhysicalMemory(range = AddrRange(self.realview.mem_start_addr,
288 size = mdesc.mem()))
289 self.realview.setupBootLoader(self.membus, self, binary)
290 self.gic_cpu_addr = self.realview.gic.cpu_addr

--- 356 unchanged lines hidden ---
284
285 boot_flags = 'earlyprintk console=ttyAMA0 lpj=19988480 norandmaps ' + \
286 'rw loglevel=8 mem=%s root=/dev/sda1' % mdesc.mem()
287
288 self.physmem = PhysicalMemory(range = AddrRange(self.realview.mem_start_addr,
289 size = mdesc.mem()))
290 self.realview.setupBootLoader(self.membus, self, binary)
291 self.gic_cpu_addr = self.realview.gic.cpu_addr

--- 356 unchanged lines hidden ---