summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2014-10-29 23:18:27 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2014-10-29 23:18:27 -0500
commitf2db2a96d181f796e6e475121f10230b9d1d007f (patch)
treee4a98f593cd5f3fc2c695a543723f5e6ee4def39 /configs
parent5bfa521c46e489c06ac3ae44b97421f5ccb30bb7 (diff)
downloadgem5-f2db2a96d181f796e6e475121f10230b9d1d007f.tar.xz
arm, tests: Update config files to more recent kernels and create 64-bit regressions.
This changes the default ARM system to a Versatile Express-like system that supports 2GB of memory and PCI devices and updates the default kernels/file-systems for AArch64 ARM systems (64-bit) to support up to 32GB of memory and PCI devices. Some platforms that are no longer supported have been pruned from the configuration files. In addition a set of 64-bit ARM regressions have been added to the regression system.
Diffstat (limited to 'configs')
-rw-r--r--configs/common/Benchmarks.py2
-rw-r--r--configs/common/FSConfig.py15
-rw-r--r--configs/common/Options.py2
-rw-r--r--configs/example/fs.py4
4 files changed, 14 insertions, 9 deletions
diff --git a/configs/common/Benchmarks.py b/configs/common/Benchmarks.py
index 41d5435f9..44cbef976 100644
--- a/configs/common/Benchmarks.py
+++ b/configs/common/Benchmarks.py
@@ -56,7 +56,7 @@ class SysConfig:
elif buildEnv['TARGET_ISA'] == 'x86':
return env.get('LINUX_IMAGE', disk('x86root.img'))
elif buildEnv['TARGET_ISA'] == 'arm':
- return env.get('LINUX_IMAGE', disk('linux-arm-ael.img'))
+ return env.get('LINUX_IMAGE', disk('linux-aarch32-ael.img'))
else:
print "Don't know what default disk image to use for %s ISA" % \
buildEnv['TARGET_ISA']
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index ab8a9e8fa..b94a7394a 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -182,7 +182,7 @@ def makeSparcSystem(mem_mode, mdesc = None):
return self
-def makeArmSystem(mem_mode, machine_type, mdesc = None,
+def makeArmSystem(mem_mode, machine_type, num_cpus = 1, mdesc = None,
dtb_filename = None, bare_metal=False):
assert machine_type
@@ -209,12 +209,17 @@ def makeArmSystem(mem_mode, machine_type, mdesc = None,
self.realview = RealViewPBX()
elif machine_type == "RealView_EB":
self.realview = RealViewEB()
- elif machine_type == "VExpress_ELT":
- self.realview = VExpress_ELT()
elif machine_type == "VExpress_EMM":
self.realview = VExpress_EMM()
+ if not dtb_filename:
+ dtb_filename = 'vexpress.aarch32.ll_20131205.0-gem5.%dcpu.dtb' % num_cpus
elif machine_type == "VExpress_EMM64":
self.realview = VExpress_EMM64()
+ if os.path.split(mdesc.disk())[-1] == 'linux-aarch32-ael.img':
+ print "Selected 64-bit ARM architecture, updating default disk image..."
+ mdesc.diskname = 'linaro-minimal-aarch64.img'
+ if not dtb_filename:
+ dtb_filename = 'vexpress.aarch64.20140821.dtb'
else:
print "Unknown Machine Type"
sys.exit(1)
@@ -253,9 +258,9 @@ def makeArmSystem(mem_mode, machine_type, mdesc = None,
self.realview.uart.end_on_eot = True
else:
if machine_type == "VExpress_EMM64":
- self.kernel = binary('vmlinux-3.16-aarch64-vexpress-emm64-pcie')
+ self.kernel = binary('vmlinux.aarch64.20140821')
elif machine_type == "VExpress_EMM":
- self.kernel = binary('vmlinux-3.3-arm-vexpress-emm-pcie')
+ self.kernel = binary('vmlinux.aarch32.ll_20131205.0-gem5')
else:
self.kernel = binary('vmlinux.arm.smp.fb.2.6.38.8')
diff --git a/configs/common/Options.py b/configs/common/Options.py
index 39355293d..19c504d97 100644
--- a/configs/common/Options.py
+++ b/configs/common/Options.py
@@ -241,7 +241,7 @@ def addFSOptions(parser):
parser.add_option("--bare-metal", action="store_true",
help="Provide the raw system without the linux specific bits")
parser.add_option("--machine-type", action="store", type="choice",
- choices=ArmMachineType.map.keys(), default="RealView_PBX")
+ choices=ArmMachineType.map.keys(), default="VExpress_EMM")
parser.add_option("--dtb-filename", action="store", type="string",
help="Specifies device tree blob file to use with device-tree-"\
"enabled kernels")
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 584748299..19a2bd358 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -82,8 +82,8 @@ def build_test_system(np):
test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0],
options.ruby)
elif buildEnv['TARGET_ISA'] == "arm":
- test_sys = makeArmSystem(test_mem_mode, options.machine_type, bm[0],
- options.dtb_filename,
+ test_sys = makeArmSystem(test_mem_mode, options.machine_type,
+ options.num_cpus, bm[0], options.dtb_filename,
bare_metal=options.bare_metal)
if options.enable_context_switch_stats_dump:
test_sys.enable_context_switch_stats_dump = True