summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2021-01-08 17:07:34 -0600
committerJoel Sherrill <joel@rtems.org>2021-05-27 14:09:00 -0500
commitd0eaf3ec1caf893d0bccae8a20c0445c3b35010b (patch)
treebf11c940e466701ec76d103d438be67fa47d35bb
parent5fe49a0853e55dce9d81ac3241edb878216b48bd (diff)
downloadrtems-d0eaf3ec1caf893d0bccae8a20c0445c3b35010b.tar.bz2
spec/aarch64: Add BSPs for real ZynqMP hardware
Add the BSPs for running on the ZU3EG Ultrascale+ Zynq MPSoC and alter the option defaults necessary for them to run properly using the standard BOOT.BIN configured for PetaLinux that comes in the Out-of-Box package.
Diffstat (limited to '')
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml1
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3egilp32.yml19
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3eglp64.yml19
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/grp_zu3eg.yml18
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml6
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml6
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml18
7 files changed, 85 insertions, 2 deletions
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml
index c723b5f252..56c7694f35 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/abi.yml
@@ -14,6 +14,7 @@ default-by-variant:
- -mabi=ilp32
variants:
- aarch64/xilinx_zynqmp_ilp32_qemu
+ - aarch64/xilinx_zynqmp_ilp32_zu3eg
description: |
ABI flags
enabled-by: true
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3egilp32.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3egilp32.yml
new file mode 100644
index 0000000000..dd7d39fb94
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3egilp32.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: aarch64
+bsp: xilinx_zynqmp_ilp32_zu3eg
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 On-Line Applications Research (OAR)
+cppflags: []
+enabled-by: true
+family: xilinx-zynqmp
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp_zu3eg
+- role: build-dependency
+ uid: linkcmds_ilp32
+source: []
+type: build
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3eglp64.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3eglp64.yml
new file mode 100644
index 0000000000..073e91175b
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspzu3eglp64.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: aarch64
+bsp: xilinx_zynqmp_lp64_zu3eg
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 On-Line Applications Research (OAR)
+cppflags: []
+enabled-by: true
+family: xilinx-zynqmp
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp_zu3eg
+- role: build-dependency
+ uid: linkcmds_lp64
+source: []
+type: build
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp_zu3eg.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp_zu3eg.yml
new file mode 100644
index 0000000000..801195cdf5
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp_zu3eg.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2021 On-Line Applications Research (OAR)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../optstarthyp
+- role: build-dependency
+ uid: tstzu3eg
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
index 4546006c7e..0bdc2d61df 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
@@ -8,7 +8,11 @@ build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 32768
-default-by-variant: []
+default-by-variant:
+- value: 0x0
+ variants:
+ - aarch64/xilinx_zynqmp_lp64_zu3eg
+ - aarch64/xilinx_zynqmp_ilp32_zu3eg
description: |
offset of RAM region from memory area base
enabled-by: true
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml
index 73c89995ba..c17febe288 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml
@@ -8,7 +8,11 @@ build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: 0x40018000
-default-by-variant: []
+default-by-variant:
+- value: 0x10000000
+ variants:
+ - aarch64/xilinx_zynqmp_lp64_zu3eg
+ - aarch64/xilinx_zynqmp_ilp32_zu3eg
description: |
base address of memory area available to the BSP
enabled-by: true
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml
new file mode 100644
index 0000000000..8bf646b1d4
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/tstzu3eg.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ # expected to produce a fatal-error when run
+ minimum: exclude
+
+ # don't compile due to toolchain issues, see RTEMS issue #4218
+ spconfig01: exclude
+ spmisc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 On-Line Applications Research (OAR)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build