summaryrefslogtreecommitdiff
path: root/src/arch/arm/ArmSystem.py
diff options
context:
space:
mode:
authorDam Sunwoo <dam.sunwoo@arm.com>2012-09-25 11:49:41 -0500
committerDam Sunwoo <dam.sunwoo@arm.com>2012-09-25 11:49:41 -0500
commitacbb7a2eed15258061e038254469197ae3831165 (patch)
tree30bccf3e2f0ede2e050abfad2e87d7fb1c57379c /src/arch/arm/ArmSystem.py
parent5adb4ddc126385567f602568c5ddbaa1d6fe1d6f (diff)
downloadgem5-acbb7a2eed15258061e038254469197ae3831165.tar.xz
ARM: added support for flattened device tree blobs
Newer Linux kernels require DTB (device tree blobs) to specify platform configurations. The input DTB filename can be specified through gem5 parameters in LinuxArmSystem.
Diffstat (limited to 'src/arch/arm/ArmSystem.py')
-rw-r--r--src/arch/arm/ArmSystem.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/arch/arm/ArmSystem.py b/src/arch/arm/ArmSystem.py
index 54bf99e90..db0febe18 100644
--- a/src/arch/arm/ArmSystem.py
+++ b/src/arch/arm/ArmSystem.py
@@ -65,5 +65,9 @@ class LinuxArmSystem(ArmSystem):
load_addr_mask = 0x0fffffff
machine_type = Param.ArmMachineType('RealView_PBX',
"Machine id from http://www.arm.linux.org.uk/developer/machines/")
- atags_addr = Param.Addr(0x100, "Address where default atags structure should be written")
- early_kernel_symbols = Param.Bool(False, "enable early kernel symbol tables before MMU")
+ atags_addr = Param.Addr(0x100,
+ "Address where default atags structure should be written")
+ dtb_filename = Param.String("",
+ "File that contains the Device Tree Blob. Don't use DTB if empty.")
+ early_kernel_symbols = Param.Bool(False,
+ "enable early kernel symbol tables before MMU")