summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-07-27 13:55:57 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-08-01 16:15:38 +0000
commitc464f67955a131843cf232c5cd5430206e2494ab (patch)
tree8265209f319bd98b52f659eb439cccda0bb59d2b /configs/example
parentdcb9334b94d14ccdc4ce42e1082e53d6d600e570 (diff)
downloadgem5-c464f67955a131843cf232c5cd5430206e2494ab.tar.xz
arch-arm: Switch to DTOnly as the default machine type
Old ARM systems used to pass the machine type in the ATAGS list passed to the kernel. This has been largely deprecated by the introduction of device trees. Switch to the DTOnly machine type by default in gem5 since all new platforms and kernel will require this behavior. Change-Id: Icfd085e4862863b4ef495566bfddbd11591866c3 Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/4260 Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/arm/fs_bigLITTLE.py3
-rw-r--r--configs/example/arm/starter_fs.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/configs/example/arm/fs_bigLITTLE.py b/configs/example/arm/fs_bigLITTLE.py
index 2965f4757..a6110b520 100644
--- a/configs/example/arm/fs_bigLITTLE.py
+++ b/configs/example/arm/fs_bigLITTLE.py
@@ -115,8 +115,7 @@ class Ex5LittleCluster(devices.CpuCluster):
def createSystem(caches, kernel, bootscript, disks=[]):
sys = devices.SimpleSystem(caches, default_mem_size,
kernel=SysPaths.binary(kernel),
- readfile=bootscript,
- machine_type="DTOnly")
+ readfile=bootscript)
sys.mem_ctrls = SimpleMemory(range=sys._mem_range)
sys.mem_ctrls.port = sys.membus.master
diff --git a/configs/example/arm/starter_fs.py b/configs/example/arm/starter_fs.py
index 9b6f68f55..2ca1cb800 100644
--- a/configs/example/arm/starter_fs.py
+++ b/configs/example/arm/starter_fs.py
@@ -110,8 +110,7 @@ def create(args):
mem_mode=mem_mode,
dtb_filename=dtb_file,
kernel=SysPaths.binary(args.kernel),
- readfile=args.script,
- machine_type="DTOnly")
+ readfile=args.script)
MemConfig.config_mem(args, system)