FSConfig.py (10118:5e1f04b4d5e4) FSConfig.py (10161:ae43fc4d78cb)
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

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

232 self.realview.cf_ctrl.disks = [self.cf0]
233
234 if bare_metal:
235 # EOT character on UART will end the simulation
236 self.realview.uart.end_on_eot = True
237 self.mem_ranges = [AddrRange(self.realview.mem_start_addr,
238 size = mdesc.mem())]
239 else:
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

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

232 self.realview.cf_ctrl.disks = [self.cf0]
233
234 if bare_metal:
235 # EOT character on UART will end the simulation
236 self.realview.uart.end_on_eot = True
237 self.mem_ranges = [AddrRange(self.realview.mem_start_addr,
238 size = mdesc.mem())]
239 else:
240 self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
240 if machine_type == "VExpress_EMM64":
241 self.kernel = binary('vmlinux-3.14-aarch64-vexpress-emm64')
242 elif machine_type == "VExpress_EMM":
243 self.kernel = binary('vmlinux-3.3-arm-vexpress-emm-pcie')
244 else:
245 self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
246
241 if dtb_filename:
242 self.dtb_filename = binary(dtb_filename)
243 self.machine_type = machine_type
244 if convert.toMemorySize(mdesc.mem()) > int(self.realview.max_mem_size):
245 print "The currently selected ARM platforms doesn't support"
246 print " the amount of DRAM you've selected. Please try"
247 print " another platform"
248 sys.exit(1)

--- 300 unchanged lines hidden ---
247 if dtb_filename:
248 self.dtb_filename = binary(dtb_filename)
249 self.machine_type = machine_type
250 if convert.toMemorySize(mdesc.mem()) > int(self.realview.max_mem_size):
251 print "The currently selected ARM platforms doesn't support"
252 print " the amount of DRAM you've selected. Please try"
253 print " another platform"
254 sys.exit(1)

--- 300 unchanged lines hidden ---