1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-01-12 03:10:15 +00:00

arm-bsp/trusted-services: add n1sdp support

Add support for n1sdp to trusted-services bbappends and rework some
things to make it easier to add more in the future.

Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Jon Mason
2022-11-21 09:49:00 -05:00
parent f7c9f58eeb
commit 11698cd358
15 changed files with 18 additions and 32 deletions

View File

@@ -137,6 +137,7 @@ n1sdp:
parallel:
matrix:
- TOOLCHAINS: [gcc, armgcc]
TS: [none, trusted-services]
qemu-generic-arm64:
extends: .build

View File

@@ -1 +1,2 @@
COMPATIBLE_MACHINE:corstone1000 = "corstone1000"
COMPATIBLE_MACHINE:n1sdp = "n1sdp"

View File

@@ -1,10 +1,5 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
require ts-arm-platforms.inc
EXTRA_OECMAKE:append:corstone1000 = "-DMM_COMM_BUFFER_ADDRESS=0x02000000 \
-DMM_COMM_BUFFER_PAGE_COUNT=1 \
-DMM_COMM_BUFFER_PAGE_COUNT=1 \
"

View File

@@ -1,7 +1,6 @@
FILESEXTRAPATHS:prepend:corstone1000 := "${THISDIR}/corstone1000:"
COMPATIBLE_MACHINE:corstone1000 = "corstone1000"
SRC_URI:append:corstone1000 = " \
file://0001-Add-openamp-to-SE-proxy-deployment.patch;patchdir=../trusted-services \
file://0002-Implement-mhu-driver-and-the-OpenAmp-conversion-laye.patch;patchdir=../trusted-services \
@@ -26,3 +25,5 @@ SRC_URI:append:corstone1000 = " \
file://0021-smm_gateway-add-checks-for-null-attributes.patch;patchdir=../trusted-services \
file://0022-GetNextVariableName-Fix.patch;patchdir=../trusted-services \
"
COMPATIBLE_MACHINE:n1sdp = "n1sdp"

View File

@@ -1,4 +1 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
require ts-arm-platforms.inc

View File

@@ -1,7 +1,8 @@
FILESEXTRAPATHS:prepend:corstone1000 := "${THISDIR}/corstone1000/${PN}:"
COMPATIBLE_MACHINE:corstone1000 = "corstone1000"
SRC_URI:append:corstone1000 = " \
file://0001-newlib-memcpy-remove-optimized-version.patch;patchdir=../newlib \
"
COMPATIBLE_MACHINE:n1sdp = "n1sdp"

View File

@@ -1,4 +1,4 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/corstone1000/psa-apitest:"
FILESEXTRAPATHS:prepend:corstone1000 := "${THISDIR}/corstone1000/psa-apitest:"
include ts-arm-platforms.inc

View File

@@ -1,4 +1 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
require ts-arm-platforms.inc

View File

@@ -0,0 +1 @@
require ts-arm-platforms.inc

View File

@@ -0,0 +1 @@
require ts-arm-platforms.inc

View File

@@ -0,0 +1 @@
require ts-arm-platforms.inc

View File

@@ -1,9 +1,5 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
require ts-arm-platforms.inc
EXTRA_OECMAKE:append:corstone1000 = " -DMM_COMM_BUFFER_ADDRESS="0x00000000 0x02000000" \
-DMM_COMM_BUFFER_PAGE_COUNT="1" \
"

View File

@@ -1,9 +1,5 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
require ts-arm-platforms.inc
EXTRA_OECMAKE:append:corstone1000 = " -DMM_COMM_BUFFER_ADDRESS="0x00000000 0x02000000" \
-DMM_COMM_BUFFER_PAGE_COUNT="1" \
"

View File

@@ -0,0 +1 @@
require ts-arm-platforms.inc

View File

@@ -1,4 +1 @@
MACHINE_TS_REQUIRE ?= ""
MACHINE_TS_REQUIRE:corstone1000 = "ts-arm-platforms.inc"
require ${MACHINE_TS_REQUIRE}
require ts-arm-platforms.inc