| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
Base optee-client implementation uses immediate assignment of CFLAGS
variable in it's build structure, which causes Yocto CFLAGS to be
overridden and not properly propagated into the build system.
Introduce a patch which uses append operator intead of immediate
assignment to have both CFLAGS variables to be combined.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Overridden do_compile() task relies on an old DEFAULTTUNE set to
identify if the build should target arm32 or arm64 architecture, and has
a direct comparison to the generic tune. Since aarch64 tune for some
derivatives has been switched to a more specialized types (cortexa53-crypto),
this causes the check to fail and build defaults to arm32, which is not
desired behavior.
Define OPTEE_ARCH to a proper value based on machine overrides, drop the
task override and use standard Yocto mechanisms to provide additional
parameters to make.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OP-TEE OS component fails to build on gcc10 due to missing __getauxval
function. This can be resolved via disabling of outline-atomics feature
in gcc10.
Backport upstream patch [1] with adaptions to optee-imx version.
Original patch uses $(call cc-option,-mno-outline-atomics,) to disable
outline-atomics which itself is broken and required 4 additional patches
to be compatible with gcc and clang.
This is resolved in the upstream PR [2], which is applicable to the
latest upstream version.
NXP fork contains old version of OP-TEE, and therefore would receive the
update for Makefiles with new version. Since it is not required to make
current NXP version compatible with old compiler versions on master
branch - outline-atomics are disabled directly.
[1]: https://github.com/OP-TEE/optee_os/pull/3891/commits/e07c2b062846df4385542f4e4fe08b40cf7d8191
[2]: https://github.com/OP-TEE/optee_os/pull/3891
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
| |
python2 is EOL January 2020. This fixes build failure due to python2.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a do_package error when using `usrmerge` in
`DISTRO_FEATURES`. In that case the bin files should have been installed
in /usr/lib. Using ${nonarch_base_libdir} makes the location specific to
distro settings.
Signed-off-by: antznin <agodard@witekio.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I9d6c015975b093f74f29927a7e8bdfd87fd3dc09
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DEFAULTTUNE is no longer aarch64 which means optee-test
build fails. Update to use the same mechanism as optee-os
recipe for setting arch.
Build now passes on imx8mq-evk and optee xtest suite
passes
+-----------------------------------------------------
16078 subtests of which 3 failed
74 test cases of which 3 failed
0 test case was skipped
TEE test application done!
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
| |
python2 is EOL January 2020. This fixes build failure due to python2.
Signed-off-by: Ting Liu <ting.liu@nxp.com>
|
|
|
|
|
|
|
|
| |
This avoids build errors such as
optee-test/3.2.0.imx-r0/git/out/ta/crypt//mid_crt.c] Error 127
| /usr/bin/env: ‘python’: No such file or directory
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
|
|
|
|
| |
Upgrade optee recipes to fetch sources from lf-5.4.y branch, this is
aligned with new kernel release from NXP.
optee-os and optee-client has build defines dropped, this is originated
in NXP fork.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
| |
As python2 packages are now dropped in oe-core.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
|
|
|
|
| |
Since Python2 is dropped in oe-core and classes are not available
anymore, optee components should be updated to utilize python3.
optee-os recipe received an additionl patch to re-target the Python
version in the source tree to python3.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
|
| |
These are now present in the new op-tee fork version.
Fixes: 020d818
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
|
|
| |
This patch no longer applies as it is already included in the new
optee-client tag.
Fixes: 020d818
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
|
| |
See the individual patches - all patches are simply
backports from optee upstream releases.
Signed-off-by: André Draszik <andre.draszik@jci.com>
|
|
|
|
|
|
|
| |
This upgrade is required to support new i.MX8M Nano SoC and is also
aligned with all optee-imx components.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In order to support new i.MX8M Nano SoC, optee-os should be upgraded to
use the imx_4.19.35_1.1.0 branch, which contains the support for new
machine.
In addition, introduce additional PLATFORM_FLAVOR for new imx8mnevk
machine.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
| |
The platform flavor 'mx6ulzevk' has been added to Optee-OS.
Signed-off-by: Clement Faure <clement.faure@nxp.com>
|
|
|
|
|
|
|
| |
Fails to build on qemu
| core/arch/arm/plat-imx/conf.mk:112: *** Unsupported PLATFORM_FLAVOR "emuarm". Stop.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This also includes some backported gcc 8 fixes from upstream.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
|
| |
This also includes some backported gcc 8 fixes from
upstream.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
| |
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1909 tag
include the following changes:
4e8d2e5 - Merge pull request #19 in DASH/optee_os from ~NXA19713/optee_os:master to master
94bd7cc - Copyright header update.
9c09a28 - Merge pull request #18 in DASH/optee_os from ~NXA19713/optee_os:master to master
587183a - plat-ls:add LS1028ARDB platform
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
|
| |
*fix the below error:
|error: '%*s' directive argument is not a nul-terminated string [-Werror=format-overflow=]
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1903 tag
include the following changes:
6690584 - cmake: locate files WRT to project home directory
f6f68a2 - regression 6000: fix uninitialized local variables
0cf4cfe - regression 4100: fix uninitialized local variable
481c660 - regression 4000: fix uninitialized local variable
a410edb - xtest --aes-perf: add -u option to process buffer in several steps
5401161 - improve xtest summary message
a8c8f87 - regression: split 4007 into key types
0953bf0 - regression 4011: correct potential overflow
493574a - xtest: prevent unexpected build warning with strncpy
7dbf877 - regression: 6010: add rename conflict case (with close)
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1903 tag
include the following changes:
b7a1527 - Merge pull request #15 in DASH/optee_os from ~NXA18717/optee_os:master to master
6fac599 - plat-ls: Corrected GIC configuration for GIVv3 SoCs
b3f7be2 - plat-ls: Corrected GIC configuration for ls1043ardb.
a0bfef6 - plat-ls: updated conf.mk to set CFG_USER_TA_TARGETS
406c609 - Update CHANGELOG.md for 3.4.0
86b8b34 - core: arm32: fix gicv3 fiq race
41b2940 - core: syscall_storage_obj_create(): fix a memory leak
4198578 - plat-vexpress: disable uart IT with TF-A and GICv3
84e9c40 - core: svc_cryp: fix truncated buffer length
d5c5b0b - core: svc: always check ta parameters
c6edc12 - core: entry_std: check value of num_params
c4f75cc - core: optee_msg.h: define OPTEE_MSG_MAX_NUM_PARAMS
95f36d6 - core: tee_mmu_check_access_rights() check all pages
359324a - svc: Initialize tmp_va_buf to prevent a TOCTOU attack
e3adcf5 - core: ensure that supplied range matches MOBJ
99e8a8c - svc: fix NULL pointer dereference during storage enumeration
ea8357c - svc: check for overflow when allocating a BigNum buffer
54ebc3a - svc: avoid TOCTOU issue in syscall_hash_final
70697bf - svc: check for allocation overflow in crypto calls part 2
a637243 - svc: check for allocation overflow in crypto calls
b60e1ce - svc: check for allocation overflow in syscall_cryp_obj_populate
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1903 tag
include the following changes:
0842873 - flags: add -D_FILE_OFFSET_BITS=64 to support large files
28eea17 - libteec: Makefile: Generate .so files the same way as CMake
656e427 - tee_supplicant: gprof: fix compile error
c48bc3b - tee-supplicant: cmake: enable RPMB emulation by default
b6bfce9 - Makefile and config.mk: remove export in config.mk
66cdd5d - tee-supplicant: add daemon mode (-d)
5355fdb - Do not set -Werror by default
9c5e24c - tee-supplicant: rpmb.c: add __attribute__((fallthrough))
0361f9b - libteec: refactor _dprintf()
8742233 - benchmark: fix computation of page address
bd0e7c8 - Android related files: changes to work with Treble enabled build
9a63135 - Android.mk & config.mk: move teec.log/teesupp.log under /data/tee
6b4ca04 - benchmark: fix compilation issues
2d542f2 - Do not export CMakeLists.txt when running install
0fc28f2 - libteec: Fix incorrect SOVERSION number
3f16662 - tee-supplicant: cast sizeof(x) to socklen_t
23b22b1 - tee-supplicant: fix gcc warning
e0a12e2 - cmake: Initial CMake support
33fa3c1 - tee-supplicant: fix use of mem after it's freed
09b69af - libteec/tee-supplicant: respect LDFLAGS set from distribution toolchain
9681680 - libteec/Makefile: generate static library (libteec.a)
73b4e49 - tee-supplicant: REE fs open file with O_SYNC flag
075c56e - tee_supplicant: add register memory feature
*remove patch
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1812 tag
include the following changes
e93f053 - Merge pull request #12 in DASH/optee_os from ~NXA18717/optee_os:optee_3.2.0 to optee_3.2.0
40670fe - plat-ls:add LX2160ARDB platform flavors
c4ca171 - Updating MAINTAINERS for NXP LS-RDB Platforms
*support ls1012afrwy 512mb and ls1012afrwy 1G
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1809 tag
include the following changes:
ab3c79c - Merge pull request #1 in DASH/optee_client from ~NXA19713/optee_client:master to optee_client_3.2
d56bb17 - Do not export CMakeLists.txt when running install
ffd0a1d - libteec: Fix incorrect SOVERSION number
09b8071 - tee-supplicant: cast sizeof(x) to socklen_t
b46a1e0 - tee-supplicant: fix gcc warning
c3ae0db - cmake: Initial CMake support
e23a20d - tee-supplicant: fix use of mem after it's freed
42c81ab - libteec/tee-supplicant: respect LDFLAGS set from distribution toolchain
afb7317 - libteec/Makefile: generate static library (libteec.a)
*refresh patches
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1809 tag
include the following changes:
83c87d9 - Merge pull request #1 in DASH/optee_test from ~NXA19713/optee_test:master to optee_test_3.2
7e0a184 - xest: OpenSSL may be provided by the system
a0e425a - xtest: Makefile: fix OpenSSL dependency on GP test suite support
c6ea40a - regression: 4003: add AES CBC test
83b094d - ta: os_test_lib: add aosp support
f331e75 - regression: 4003: use bigger plain text in AES CTR test
2b8a04c - regression: 4003: add AES CTR test
dcac51e - regression: add case 1019
76dd317 - regression_1000.c: remove useless code
9edf89e - Remove host/lib/armv{7,8}/libcrypto.a
2e5f8a7 - xtest: use imported OpenSSL
0f5cb62 - Add host/openssl/lib/{arm,aarch64}/libcrypto.a
ccba180 - Import OpenSSL 1.2.0o header files into host/openssl/include
d104be0 - Move host/LICENSE to host/xtest/LICENSE
3f045a3 - regression: 4006: add test case for 4096-bit RSA
ae3e546 - regression: 4006: add test case for 3072-bit RSA
6eb6339 - crypto: add test case for seeding RNG pool
b4b147a - xtest: Makefile: link against OpenSSL if MBed TLS is enabled in TA
0422d8d - regression: add case 8103
eff3a2b - ta/crypt: add TA_CRYPT_CMD_MBED_SIGN_CERT
1e9c50c - Initialize openssl if linked with it
6ef0bea - regression: add case 8102
af71fe5 - cert: add some test certificates
3075e8a - Add scripts/file_to_c.py
f16ae00 - ta/crypt: add TA_CRYPT_CMD_MBED_CHECK_CERT
5875d49 - regression: add case 8101
02b4113 - ta/crypt: add TA_CRYPT_CMD_MBED_SELF_TESTS
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*update to lsdk 1809 tag
include the following changes:
5f6c95c - Merge pull request #10 in DASH/optee_os from ~NXA27423/optee_os:optee_3.2.0 to optee_3.2.0
e910662 - Enable CFG_ARM_GICV3 for LS1088 and LS2088
e7e9143 - Merge pull request #9 in DASH/optee_os from ~NXA27423/optee_os:optee_3.2.0 to optee_3.2.0
07ccba5 - plat-ls:add LS2088ARDB platform flavors
77f2a27 - plat-ls:add LS1088ARDB platform flavors
cc05229 - plat-ls:add LS1012AFRWY platform flavors
dc113b4 - Updating MAINTAINERS for LS1046A-RDB, LS1043A-RDB, LS1021
8b26860 - Prepare Generic layout for all platforms
03c103c - Remove platform specific function
9ff2f59 - Merge pull request #7 in DASH/optee_os from ~NXA19713/optee_os_3.2.0_nxp:optee_3.2.0 to optee_3.2.0
31475ae - Update revision for release tag 3.2.0-rc1
b935a53 - benchmark: change the way of timestamp buffer allocation.
8a97aa3 - scripts/symbolize.py: ignore undefined symbols
b15b130 - core: support for global shared buffers
96d297b - core: tee: update objectSize/keySize for ECDSA/ECDH Objects
2101091 - ci: shippable: build stm32mp1
df0c43b - plat-stm32mp1: reformat OP-TEE images to stm32 format
65c3867 - core: stm32_uart driver
5316c4c - plat-stm32mp1: add initial support
e585698 - Remove get_rng_array()
b7ca2f3 - libmpa: remove mpa_set_random_generator()
1933fd8 - core: add new RNG implementation
ab45c2d - core: split tee_pager_init()
37770ed - core: don't divide by sizeof(*mem) for ddr nsec memory
7074438 - ci: shippable: Add sunxi-bpi_zero
ce5bbb3 - MAINTAINERS: Add MAINTAINERS entry for AllWinner H2+
30c43ed - plat-sunxi: Add plat-sunxi
677bbd2 - core: add mdelay() function
5fde43b - core: drivers: serial8250_uart: Add DT support
7b74779 - Add new platform for the TI K3 class of SoCs
853b8de - core: crypto: arm64 ce: update AES CBC routines
203dcfc - ci: travis: cleanup for Ubuntu Trusty container-based environment
db13fc5 - ci: travis: set buildroot ccache directory to ~/.ccache
cf847ed - libutee: Fix the keepalive condition on last session close
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
| |
This helps in using meta-freescale with other BSP layers in same
projects, which is common usecase
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Cc: Zhenhua Luo <zhenhua.luo@nxp.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
*Fix GCC 8 build error
*Update EXTRA_OEMAKE set
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
*Fix the below error:
|libteec/src/teec_trace.c:110:24: error: '%s' directive output may be truncated
|writing up to 255 bytes into a region of size 246 [-Werror=format-truncation=]
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*Following changes are included:
fe3b3da - Changed the target name from ls1012frwy to ls1012afrwy.
408ab3a - Merge branch 'master' of https://bitbucket.sw.nxp.com/scm/dash/optee_os
c925812 - Merge pull request #6 in DASH/optee_os from ~NXA19713/optee_os:master to master
f0451fd - Fix for PLATSEC-522
6d1e7cf - Merge pull request #5 in DASH/optee_os from ~NXA18717/dash_optee_os:master to master
e0f2725 - plat-ls: Add support for armv8 platform flavour
d812df8 - plat-ls: Add support for armv8 platform flavour
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*include the following changes:
1543820 - plat-ls: Add support for fetching SSK from armv8 platform flavour.
ced7d32 - Merge pull request #2 in DASH/optee_os from ~NXA18717/dash_optee_os:master to master
b48ba24 - plat-ls: Add support for armv8 platform flavour
789e38a - core: arm: psci: pass nsec ctx to system_suspend
a7337d8 - core: fix allocated object on object creation failure in svc storage
639e5b8 - pta: change DMSG to FMSG for invoke in pta/SDP
bc0d271 - make clean: split file list into manageable chunks
8c6a8af - Fix comment in tee_ree_fs.c
6d57389 - Update CHANGELOG.md for 2.6.0
e4a1f58 - entry_std.c: Initialize num_params to fix gcc warning
b644907 - thread.c: free rpc arg mobj during cache disabling
a3bb288 - Update minor revision to 6 for release tag 2.6.0-rc1
b45ff69 - hikey, hikey960: enable dynamic shared memory
9a85cc0 - core: add v2p/p2v tests in embedded tests
3883028 - core:mmu: privileged land pa2va is not supported in dynamic SHM
0d86665 - core:debug: add verbosity when pa/va do not match
42d91b4 - core:mmu: fix userland pa2va conversion
bbed97b - core:mmu: fix userland va2pa conversion
def98e2 - core:unwind: check user context on stack print of panicked TAs
f98151a - core: map PTA registered shared memory late
430dcbd - core: reimplement mobj_mapped_shm_alloc()
*Update SRC_URL
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|