Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf/machine/iq-9075-evk-open-fw.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

require conf/machine/iq-9075-evk.conf

EXTRA_IMAGEDEPENDS += "trusted-firmware-a-qcom"
EXTRA_IMAGEDEPENDS += "trusted-firmware-a-qcom-lemans-evk"

MACHINE_FEATURES += "optee"
MACHINE_EXTRA_RRECOMMENDS += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-arm', 'packagegroup-optee', '', d)}"
Expand Down
2 changes: 1 addition & 1 deletion conf/machine/rb3gen2-core-kit-open-fw.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

require conf/machine/rb3gen2-core-kit.conf

EXTRA_IMAGEDEPENDS += "trusted-firmware-a-qcom"
EXTRA_IMAGEDEPENDS += "trusted-firmware-a-qcom-rb3gen2"

MACHINE_FEATURES += "optee"
MACHINE_EXTRA_RRECOMMENDS += "${@bb.utils.contains('BBFILE_COLLECTIONS', 'meta-arm', 'packagegroup-optee', '', d)}"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require trusted-firmware-a-qcom.inc

DEPENDS += "optee-os-qcom-lemans"

TFA_PLATFORM = "lemans_evk"
FIP_ELF_ADDR = "0xaf000000"
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require trusted-firmware-a-qcom.inc

DEPENDS += "optee-os-qcom-kodiak"

TFA_PLATFORM = "rb3gen2"
QTISECLIB_SOC = "sc7280"
FIP_ELF_ADDR = "0x9fc00000"

SRC_URI += "git://github.com/coreboot/qc_blobs.git;protocol=https;name=qc-blobs;subdir=qc_blobs;branch=main"
SRCREV_qc-blobs = "16207f367ddbf280a0c2c8a3d3ee454a59710a25"
SRCREV_FORMAT .= "_qc-blobs"

LICENSE += "& LICENSE.qcom"
LIC_FILES_CHKSUM += "file://${UNPACKDIR}/qc_blobs/${QTISECLIB_SOC}/qtiseclib/LICENSE;md5=fa83f30385e617b56ef0934f13645621"

EXTRA_OEMAKE:append = " QTISECLIB_PATH=${UNPACKDIR}/qc_blobs/${QTISECLIB_SOC}/qtiseclib/libqtisec.a"
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
DEPENDS += "qtestsign-native optee-os-qcom u-boot-qcom"
require recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc

SRC_URI += "git://github.com/coreboot/qc_blobs.git;protocol=https;name=qc_blobs;subdir=qc_blobs;branch=main"
SRCREV_qc_blobs = "16207f367ddbf280a0c2c8a3d3ee454a59710a25"
DEPENDS += "qtestsign-native u-boot-qcom"

LICENSE += "& LICENSE.qcom"
LIC_FILES_CHKSUM:qcm6490 += "file://${UNPACKDIR}/qc_blobs/sc7280/qtiseclib/LICENSE;md5=fa83f30385e617b56ef0934f13645621"
PV = "2.15.0-qcom+git"

COMPATIBLE_MACHINE = "qcm6490|qcs9100"
TFA_PLATFORM:qcm6490 = "rb3gen2"
TFA_PLATFORM:qcs9100 = "lemans_evk"
SRC_TAG = "tag=qcom-next-2.15-20260804"
SRC_URI = "git://github.com/qualcomm-linux/trusted-firmware-a.git;protocol=https;name=tfa;nobranch=1;${SRC_TAG}"
SRCREV_tfa = "10ecf7dcc641e8453e2e2ea2f21c13c7a867ffe0"

TFA_BUILD_TARGET = "bl2 fip"
LIC_FILES_CHKSUM += "file://docs/license.rst;md5=6ed7bace7b0bc63021c6eba7b524039e"

COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:aarch64 = "(qcom)"

python () {
if not d.getVar('FIP_ELF_ADDR'):
bb.fatal('FIP_ELF_ADDR must be set by the device recipe')
}

TFA_BUILD_TARGET = "bl2 bl31 fip"
TFA_SPD = "opteed"

EXTRA_OEMAKE:append = " \
BL32=${RECIPE_SYSROOT}/${nonarch_base_libdir}/firmware/tee-raw.bin \
BL33=${DEPLOY_DIR_IMAGE}/u-boot.bin \
"

EXTRA_OEMAKE:append:qcm6490 = " \
QTISECLIB_PATH=${UNPACKDIR}/qc_blobs/sc7280/qtiseclib/libqtisec.a \
"

do_compile[depends] += " u-boot-qcom:do_deploy"

FIP_ELF_ADDR:qcm6490 = "0x9fc00000"
FIP_ELF_ADDR:qcs9100 = "0xaf000000"

do_install:append() {
export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require optee-os-qcom.inc

OPTEEMACHINE = "qcom-kodiak"

COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:aarch64 = "(qcom)"

OPTEE_DEPLOY = "optee-kodiak"
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require optee-os-qcom.inc

OPTEEMACHINE = "qcom-lemans"

COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:aarch64 = "(qcom)"

OPTEE_DEPLOY = "optee-lemans"
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require recipes-security/optee/optee-os.inc

PV = "4.10.0-qcom-20260721+git"

SRC_TAG = "tag=qcom-next-4.10-20260721"
SRC_URI = "git://github.com/qualcomm-linux/optee_os.git;protocol=https;name=optee;nobranch=1;${SRC_TAG}"
SRCREV_optee = "690842e042dc470bf0625eb77a8cab926c372a8f"

# Copy of do_deploy from meta-arm until we get it fixed to support configurable deploy dir
OPTEE_DEPLOY ?= "optee"
do_deploy() {
install -d ${DEPLOYDIR}/${MLPREFIX}${OPTEE_DEPLOY}
install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/${MLPREFIX}${OPTEE_DEPLOY}

install -d ${DEPLOYDIR}/${MLPREFIX}${OPTEE_DEPLOY}/ta
install -m 644 ${B}/ta/*/*.elf ${DEPLOYDIR}/${MLPREFIX}${OPTEE_DEPLOY}/ta
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require optee-os-qcom_git.bb
require optee-os-qcom.inc
require optee-qcom.inc

SUMMARY = "OP-TEE Trusted OS TA devkit"
DESCRIPTION = "OP-TEE TA devkit for build TAs"
Expand Down
Loading