Skip to contentSkip to conversation

tricore: added triboard with tc27x_soc

PATCH Superseded David Brenken 2 participants 3 messages Jul 6, 2020 – Jul 7, 2020

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v4 cover tricore: added triboard with tc27x_soc

From: Andreas Konopik <[email protected]>

Hello everyone,

this patch adds the AURIX TC277 D-Step TriBoard as QEMU machine (-M AURIX_TriBoard_TC277D). Memory maps are implemented according to the "AURIX TC27x D-Step User's Manual V2.2 2014-12". AURIX memory layouts are specified by the processor, that is why this patch has been reworked as a SoC-implementation for v2. Patch v3 added sizes to memory mappings and v4 reintroduced more readable memory sizes.

Andreas Konopik (1):
tricore: added triboard with tc27x_soc

 hw/tricore/Kconfig             |   8 ++
 hw/tricore/Makefile.objs       |   2 +
 hw/tricore/tc27x_soc.c         | 247 +++++++++++++++++++++++++++++++++
 hw/tricore/triboard.c          | 102 ++++++++++++++
 include/hw/tricore/tc27x_soc.h | 139 +++++++++++++++++++
 include/hw/tricore/triboard.h  |  53 +++++++
 6 files changed, 551 insertions(+)
 create mode 100644 hw/tricore/tc27x_soc.c
 create mode 100644 hw/tricore/triboard.c
 create mode 100644 include/hw/tricore/tc27x_soc.h
 create mode 100644 include/hw/tricore/triboard.h
Signature · 1 line
2.27.0
#1 lore raw

PATCH v4 1/1 tricore: added triboard with tc27x_soc

From: Andreas Konopik <[email protected]>

---
 hw/tricore/Kconfig             |   8 ++
 hw/tricore/Makefile.objs       |   2 +
 hw/tricore/tc27x_soc.c         | 247 +++++++++++++++++++++++++++++++++
 hw/tricore/triboard.c          | 102 ++++++++++++++
 include/hw/tricore/tc27x_soc.h | 139 +++++++++++++++++++
 include/hw/tricore/triboard.h  |  53 +++++++
 6 files changed, 551 insertions(+)
 create mode 100644 hw/tricore/tc27x_soc.c
 create mode 100644 hw/tricore/triboard.c
 create mode 100644 include/hw/tricore/tc27x_soc.h
 create mode 100644 include/hw/tricore/triboard.h
hw/tricore/Kconfig +8 -0
index 9313409309..44d3e906a1 100644
@@ -1,2 +1,10 @@
 config TRICORE
     bool
+    select TRIBOARD
+
+config TRIBOARD
+    bool
+    select TC27X_SOC
+
+config TC27X_SOC
+    bool
hw/tricore/Makefile.objs +2 -0
index 5501f6c1a8..91bcef4402 100644
@@ -1 +1,3 @@
 obj-$(CONFIG_TRICORE) += tricore_testboard.o
+obj-$(CONFIG_TRIBOARD) += triboard.o
+obj-$(CONFIG_TC27X_SOC) += tc27x_soc.o
hw/tricore/tc27x_soc.c new file +247 -0

247 lines not on this page · raw message

hw/tricore/triboard.c new file +102 -0

102 lines not on this page · raw message

include/hw/tricore/tc27x_soc.h new file +139 -0

139 lines not on this page · raw message

include/hw/tricore/triboard.h new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
2.27.0
Reviewed-by on v4 1/1
#2 lore raw
Quoted 7 lines · David Brenken

From: Andreas Konopik <[email protected]>

Quoted 12 lines
---
 hw/tricore/Kconfig             |   8 ++
 hw/tricore/Makefile.objs       |   2 +
 hw/tricore/tc27x_soc.c         | 247 +++++++++++++++++++++++++++++++++
 hw/tricore/triboard.c          | 102 ++++++++++++++
 include/hw/tricore/tc27x_soc.h | 139 +++++++++++++++++++
 include/hw/tricore/triboard.h  |  53 +++++++
 6 files changed, 551 insertions(+)
 create mode 100644 hw/tricore/tc27x_soc.c
 create mode 100644 hw/tricore/triboard.c
 create mode 100644 include/hw/tricore/tc27x_soc.h
 create mode 100644 include/hw/tricore/triboard.h

I also applied it to my tricore-next queue.

Cheers,
Bastian