From a58e5181d813d7a394f64fc434f0be04c4f67e95 Mon Sep 17 00:00:00 2001 From: Adrian Herrera Date: Thu, 24 Oct 2019 12:36:09 +0100 Subject: [PATCH] dev-arm: VExpress_GEM5_Base, fix daughterboard reference VExpress_GEM5_Base states that its memory map is based on CoreTile Express A15x2 A7x3, while the model used for the Daughterboard Configuration Controller (DCC) is based on Coretile Express A15x2. These two daughterboard specifications differ in both on-chip memory map and DCC clocks as of the TRMs. This patch makes the reference consistent to Coretile Express A15x2 and adds several non-confidential references to aid in understanding the platform and adding new peripherals. Change-Id: Ia55e7362bdc9ed6509f8eff4cbd7eb38e538d774 Reviewed-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24203 Maintainer: Giacomo Travaglini Tested-by: kokoro --- src/dev/arm/RealView.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index d1ef6c4a9..38c0ac446 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -796,7 +796,7 @@ model in the future. Such devices should normally have interrupts in the gem5-specific SPI range. On-chip peripherals are loosely modeled after the ARM CoreTile Express -A15x2 A7x3 memory and interrupt map. In particular, the GIC and +A15x2 memory and interrupt map. In particular, the GIC and Generic Timer have the same interrupt lines and base addresses. Other on-chip devices are gem5 specific. @@ -804,6 +804,28 @@ Unlike the original Versatile Express RS2 extended platform, gem5 implements a large contigious DRAM space, without aliases or holes, starting at the 2GiB boundary. This means that PCI memory is limited to 1GiB. +References: + + Technical Reference Manuals: + Arm Motherboard Express uATX (V2M-P1) - ARM DUI 0447J + Arm CoreTile Express A15x2 (V2P-CA15) - ARM DUI 0604E + + Official Linux device tree specifications: + V2M-P1 - arch/arm/boot/dts/vexpress-v2m-rs1.dtsi + V2P-CA15 - arch/arm/boot/dts/vexpress-v2p-ca15-tc1.dts + + Memory map: + Arm CoreTile Express A15x2 (V2P-CA15) - ARM DUI 0604E + Daughterboard (global) + Section 3.2.1 - Table 3-1 - Daughterboard memory map + On-chip + Section 3.2.3 - Table 3-2 - Cortex-A15 MPCore on-chip peripheral + memory map + + Interrupts: + Arm CoreTile Express A15x2 (V2P-CA15) - ARM DUI 0604E + Section 2.8.2 - Test chip interrupts + Memory map: 0x00000000-0x03ffffff: Boot memory (CS0) 0x04000000-0x07ffffff: Reserved -- 2.30.2