From 2e9697fd754475218c8408f2366b6d09dc608f9f Mon Sep 17 00:00:00 2001 From: Wojciech Sipak Date: Wed, 21 Aug 2024 16:44:13 +0200 Subject: [PATCH] add veer_el2_sim board Signed-off-by: Wojciech Sipak --- tockloader/board_interface.py | 6 ++++++ tockloader/tockloader.py | 1 + 2 files changed, 7 insertions(+) diff --git a/tockloader/board_interface.py b/tockloader/board_interface.py index 6f63c1d..744079a 100644 --- a/tockloader/board_interface.py +++ b/tockloader/board_interface.py @@ -162,6 +162,12 @@ class BoardInterface: "max_size": 0x00100000, }, }, + "veer_el2_sim": { + "description": "VeeR EL2 running on Verilated simulation", + "arch": "rv32imc", + "no_attribute_table": True, + "address_translator": lambda addr: addr - 0x20000000, + }, "qemu_rv32_virt": { "description": "QEMU RISC-V 32 bit virt Platform", "arch": "rv32imac", diff --git a/tockloader/tockloader.py b/tockloader/tockloader.py index 1acc162..bf0f9a8 100644 --- a/tockloader/tockloader.py +++ b/tockloader/tockloader.py @@ -108,6 +108,7 @@ class TockLoader: "hifive1b": {"start_address": 0x20040000}, "litex_arty": {"start_address": 0x41000000}, "litex_sim": {"start_address": 0x00080000}, + "veer_el2_sim": {"start_address": 0x20300000}, "nrf52dk": { "start_address": 0x40000, "app_ram_address": 0x20008000,