RealView.py (11898:cada5b68fb12) RealView.py (12006:aebe66ac7a3d)
1# Copyright (c) 2009-2017 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

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

812
813Memory map:
814 0x00000000-0x03ffffff: Boot memory (CS0)
815 0x04000000-0x07ffffff: Reserved
816 0x08000000-0x0bffffff: Reserved (CS0 alias)
817 0x0c000000-0x0fffffff: Reserved (Off-chip, CS4)
818 0x10000000-0x13ffffff: gem5-specific peripherals (Off-chip, CS5)
819 0x10000000-0x1000ffff: gem5 energy controller
1# Copyright (c) 2009-2017 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

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

812
813Memory map:
814 0x00000000-0x03ffffff: Boot memory (CS0)
815 0x04000000-0x07ffffff: Reserved
816 0x08000000-0x0bffffff: Reserved (CS0 alias)
817 0x0c000000-0x0fffffff: Reserved (Off-chip, CS4)
818 0x10000000-0x13ffffff: gem5-specific peripherals (Off-chip, CS5)
819 0x10000000-0x1000ffff: gem5 energy controller
820 0x10010000-0x1001ffff: gem5 pseudo-ops
820
821 0x14000000-0x17ffffff: Reserved (Off-chip, PSRAM, CS1)
822 0x18000000-0x1bffffff: Reserved (Off-chip, Peripherals, CS2)
823 0x1c000000-0x1fffffff: Peripheral block 1 (Off-chip, CS3):
824 0x1c010000-0x1c01ffff: realview_io (VE system control regs.)
825 0x1c060000-0x1c06ffff: KMI0 (keyboard)
826 0x1c070000-0x1c07ffff: KMI1 (mouse)
827 0x1c090000-0x1c09ffff: UART0

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

951 def setupBootLoader(self, mem_bus, cur_sys, loc):
952 self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB'),
953 conf_table_reported=False)
954 self.nvmem.port = mem_bus.master
955 cur_sys.boot_loader = [ loc('boot_emm.arm64'), loc('boot_emm.arm') ]
956 cur_sys.atags_addr = 0x8000000
957 cur_sys.load_addr_mask = 0xfffffff
958 cur_sys.load_offset = 0x80000000
821
822 0x14000000-0x17ffffff: Reserved (Off-chip, PSRAM, CS1)
823 0x18000000-0x1bffffff: Reserved (Off-chip, Peripherals, CS2)
824 0x1c000000-0x1fffffff: Peripheral block 1 (Off-chip, CS3):
825 0x1c010000-0x1c01ffff: realview_io (VE system control regs.)
826 0x1c060000-0x1c06ffff: KMI0 (keyboard)
827 0x1c070000-0x1c07ffff: KMI1 (mouse)
828 0x1c090000-0x1c09ffff: UART0

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

952 def setupBootLoader(self, mem_bus, cur_sys, loc):
953 self.nvmem = SimpleMemory(range=AddrRange(0, size='64MB'),
954 conf_table_reported=False)
955 self.nvmem.port = mem_bus.master
956 cur_sys.boot_loader = [ loc('boot_emm.arm64'), loc('boot_emm.arm') ]
957 cur_sys.atags_addr = 0x8000000
958 cur_sys.load_addr_mask = 0xfffffff
959 cur_sys.load_offset = 0x80000000
960
961 # Setup m5ops. It's technically not a part of the boot
962 # loader, but this is the only place we can configure the
963 # system.
964 cur_sys.m5ops_base = 0x10010000