OPTEE-OS: OPTEE-OS-STM32MP: Update to 3.9.0-stm32mp-r2

Change-Id: I3a9d6960a76f14d043aee7cca844cb56473987c5
This commit is contained in:
Christophe Priouzeau 2020-10-27 12:17:23 +01:00 committed by Bernard PUEL
parent 6852cc81f2
commit a622712abe
4 changed files with 4773 additions and 11 deletions

View File

@ -47,5 +47,9 @@ archiver_create_makefile_for_sdk() {
echo " cp ../build/core/${OPTEE_PAGER}.${OPTEE_SUFFIX} ../build/${OPTEE_PAGER}-${OPTEE_BOOTCHAIN}.${OPTEE_SUFFIX} ; \\" >> ${ARCHIVER_OUTDIR}/Makefile.sdk
echo " cp ../build/core/${OPTEE_PAGEABLE}.${OPTEE_SUFFIX} ../build/${OPTEE_PAGEABLE}-${OPTEE_BOOTCHAIN}.${OPTEE_SUFFIX} ; \\" >> ${ARCHIVER_OUTDIR}/Makefile.sdk
echo " fi" >> ${ARCHIVER_OUTDIR}/Makefile.sdk
echo "" >> ${ARCHIVER_OUTDIR}/Makefile.sdk
echo "clean:" >> ${ARCHIVER_OUTDIR}/Makefile.sdk
echo " rm -rf \$(LOCAL_PATH)/../build" >> ${ARCHIVER_OUTDIR}/Makefile.sdk
}
do_ar_original[prefuncs] += "archiver_create_makefile_for_sdk"

View File

@ -7,10 +7,11 @@ SRCREV = "af141c61fe7a2430f3b4bb89661d8414117013b3"
SRC_URI += " \
file://0001-3.9.0-stm32mp-r1.patch \
file://0002-3.9.0-stm32mp-r2.patch \
"
OPTEE_VERSION = "3.9.0"
PV = "${OPTEE_VERSION}.r1"
PV = "${OPTEE_VERSION}.r2"
S = "${WORKDIR}/git"
@ -39,7 +40,7 @@ include ${@oe.utils.ifelse(d.getVar('ST_ARCHIVER_ENABLE') == '1', 'optee-os-stm3
BBCLASSEXTEND = "devupstream:target"
SRC_URI_class-devupstream = "git://github.com/STMicroelectronics/optee_os.git;protocol=https;branch=${OPTEE_VERSION}-stm32mp"
SRCREV_class-devupstream = "dbfbd96e5850747842b008b54e7d2be171c6d83f"
SRCREV_class-devupstream = "6a3dd87a133bee8a18409969380dbb1fc289f803"
# ---------------------------------
# Configure default preference to manage dynamic selection between tarball and github

File diff suppressed because it is too large Load Diff

View File

@ -10,14 +10,6 @@ Compilation of Optee-os (Trusted Execution Environment):
-----------------
OpenSTLinux SDK must be installed.
For optee-os build you need to install:
- Wand python and/or python crypto package
Ubuntu: sudo apt-get install python-wand python-crypto python-pycryptopp
Fedora: sudo yum install python-wand python-crypto
- git:
Ubuntu: sudo apt-get install git-core gitk
Fedora: sudo yum install git
If you have never configured you git configuration:
$ git config --global user.name "your_name"
$ git config --global user.email "your_email@example.com"
@ -143,4 +135,4 @@ and list /dev/disk/by-partlabel/ content, i.e:
lrwxrwxrwx 1 root root 15 Jan 23 19:11 teeh -> ../../mmcblk0p4 # TEEH (OP-TEE tee-header)
lrwxrwxrwx 1 root root 15 Jan 23 19:11 teex -> ../../mmcblk0p6 # TEEX (OP-TEE tee-pager)
lrwxrwxrwx 1 root root 16 Jan 23 19:11 userfs -> ../../mmcblk0p10
lrwxrwxrwx 1 root root 15 Jan 23 19:11 vendorfs -> ../../mmcblk0p8
lrwxrwxrwx 1 root root 15 Jan 23 19:11 vendorfs -> ../../mmcblk0p8