| bc420748 | 05-May-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
TA as ELF + signature
Changes format of TA to use the ELF format instead. This patch also adds signature checking of the TA. The format of the TA is: <Signed header> <ELF header> <Program header> (p
TA as ELF + signature
Changes format of TA to use the ELF format instead. This patch also adds signature checking of the TA. The format of the TA is: <Signed header> <ELF header> <Program header> (part of ELF spec, pointing out segments to load) <Sections>
A struct ta_head is placed in the first section of the first segment to carry flags and other properties of the TA.
elf32.h, elf64.h and elf_common.h are imported from FreeBSD.
In addition to the R_ARM_RELATIVE relocation type, adds support for R_ARM_ABS32 relocations. Since a symbol table is needed to process this relocation type a separate program header is added in the TA ELF containing the sections .dynamic, .dynsym, .dynstr and .hash. These sections are only needed during relocation and could be released once the TA is relocated.
A default signing key has been generated with openssl genrsa -out key.pem and added as keys/default_ta.pem
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU platform) Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey)
show more ...
|
| 8f2a2337 | 21-Aug-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Delete setup scripts for FVP, MTK, QEMU and update documentation
It is recommended to use the new repo-based build system instead of the older build scripts. Therefore, this commit deletes the scrip
Delete setup scripts for FVP, MTK, QEMU and update documentation
It is recommended to use the new repo-based build system instead of the older build scripts. Therefore, this commit deletes the scripts for FVP, Mediatek and QEMU platforms and updates the documentation accordingly.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 764307b8 | 08-Jul-2015 |
James Kung <james.kung@linaro.org> |
Updating setup_mtk_optee.sh to use public optee_test repository
Signed-off-by: James Kung <james.kung@linaro.org> Tested-by: James Kung <james.kung@linaro.org> (MT8173 EVB) Reviewed-by: Pascal Brand
Updating setup_mtk_optee.sh to use public optee_test repository
Signed-off-by: James Kung <james.kung@linaro.org> Tested-by: James Kung <james.kung@linaro.org> (MT8173 EVB) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 50bb2262 | 02-Jul-2015 |
Joakim Bech <joakim.bech@linaro.org> |
qemu: Updating script to use the public optee_test
setup_qemu_optee.sh now uses the official optee_test git that also are using ta-dev-kit built by optee_os.
Signed-off-by: Joakim Bech <joakim.bech
qemu: Updating script to use the public optee_test
setup_qemu_optee.sh now uses the official optee_test git that also are using ta-dev-kit built by optee_os.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU) Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU) (standard and extended tests)
show more ...
|
| 81551ee9 | 02-Jul-2015 |
Joakim Bech <joakim.bech@linaro.org> |
fvp: Updating script to use the public optee_test
setup_fvp_optee.sh now uses the official optee_test git that also are using ta-dev-kit built by optee_os.
Signed-off-by: Joakim Bech <joakim.bech@l
fvp: Updating script to use the public optee_test
setup_fvp_optee.sh now uses the official optee_test git that also are using ta-dev-kit built by optee_os.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (FVP) Tested-by: Pascal Brand <pascal.brand@linaro.org> (FVP platform - standard tests)
show more ...
|
| 11d59085 | 05-Jun-2015 |
Pascal Brand <pascal.brand@st.com> |
Release note of 0.3.0 and script updates
Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| 09f83108 | 08-Jun-2015 |
SY Chiu <sy.chiu@linaro.org> |
Add stable commit for mt8173 kernel patches
Signed-off-by: SY Chiu <sy.chiu@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173 EVB) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> |
| ea7d638a | 01-Jun-2015 |
Pascal Brand <pascal.brand@st.com> |
Fix qemu script
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| ce3a2f7b | 18-May-2015 |
James Kung <james.kung@linaro.org> |
Update README and setup script for Mediatek Platform
Signed-off-by: James Kung <james.kung@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linar
Update README and setup script for Mediatek Platform
Signed-off-by: James Kung <james.kung@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (MT8173)
show more ...
|
| 44bd24c5 | 08-Apr-2015 |
James Kung <james.kung@linaro.org> |
Mediatek mt8173 platform support
Add support for Mediatek mt8173 platform with 32bit and 64bit OP-TEE OS. Due to Mediatek ATF firmware limitation, this commit only tested with 64bit OP-TEE OS.
Sign
Mediatek mt8173 platform support
Add support for Mediatek mt8173 platform with 32bit and 64bit OP-TEE OS. Due to Mediatek ATF firmware limitation, this commit only tested with 64bit OP-TEE OS.
Signed-off-by: James Kung <james.kung@linaro.org> Signed-off-by: SY Chiu <sy.chiu@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: James Kung <james.kung@linaro.org> (MT8173 EVB) Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173 EVB)
NOTE: To test this on MT8173 EVB, you need to update firmware please refer to https://github.com/m943040028/evb-utils
show more ...
|
| 7a976658 | 06-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: move common 32/64-bit definitions to core/arch/arm/arm.mk
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (FVP 32/64-bit
core: move common 32/64-bit definitions to core/arch/arm/arm.mk
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (FVP 32/64-bit) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| b9da5f4c | 09-Mar-2015 |
Cedric Chaumont <cedric.chaumont@st.com> |
Automatic ARM Juno setup script
WARNING: - OP-TEE linux driver type I support only (do not modify SHA1 ID) - OP-TEE linux driver type II support requires: + Linux kernel version alignment with QEMU/
Automatic ARM Juno setup script
WARNING: - OP-TEE linux driver type I support only (do not modify SHA1 ID) - OP-TEE linux driver type II support requires: + Linux kernel version alignment with QEMU/FVP (DMA_BUF API change) + Will need arch/arm/Kconfig patch(es) (i.e DMA_SHARED_BUFFER etc...) Temporary .config and dts patch files: config.linux-linaro-tracking.a226b22057c22b433caafc58eeae6e9b13ac6c8d.patch juno.dts.linux-linaro-tracking.a226b22057c22b433caafc58eeae6e9b13ac6c8d.patch
Change-Id: I237960807109711c4891c5e44814b7542ab06a85 Signed-off-by: Cedric Chaumont <cedric.chaumont@st.com> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (ARM Juno board) Tested-by: Victor Chong <victor.chong@linaro.org> (ARM Juno board)
show more ...
|
| abe38974 | 09-Mar-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Rename arm32 architecture to arm
Renames arm32 directories to arm.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Reviewed-by
Rename arm32 architecture to arm
Renames arm32 directories to arm.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU platform)
show more ...
|
| 30ca322d | 18-Mar-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Fix typo: s/pagable/pageable/
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> |
| 0eff3e9b | 02-Jan-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
arm32: Adds LPAE support
Enables use of Large Physical Address Extension (LPAE) with CFG_WITH_LPAE=y
To facilitate both the old V7 and the new LPAE translation tables an abstraction layer has been
arm32: Adds LPAE support
Enables use of Large Physical Address Extension (LPAE) with CFG_WITH_LPAE=y
To facilitate both the old V7 and the new LPAE translation tables an abstraction layer has been added to avoid direct manipulations of the translation tables.
Both V7 and LPAE implementation uses TEX remapping (SCTLR.TRE = 1) and enables access flags (SCTLR.AFE = 1). This is a change in the V7 code base as those bits where 0 before. There are two reason for this change: 1."From the introduction of the Large Physical Address Extension, ARM deprecates any use of the AP[2:0] scheme for defining MMU access permissions. This deprecation applies to software for all ARMv7-A implementations, regardless of whether they include the Large Physical Address Extension." 2. With SCTLR.TRE = 1 and SCTLR.AFE = 1 V7 and LPAE implementations uses the same way of specifying access permissions and memory attributes.
Currently only supported on plat-vexpress.
Bugfix v7 config: sets NOS bit in TTBRx registers
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP Base model) Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| a2eab46d | 04-Feb-2015 |
Pascal Brand <pascal.brand@st.com> |
Linux Driver refactoring
Setup (FVP / QEMU) are updating accordingly with the Linux Driver Refactoring
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro
Linux Driver refactoring
Setup (FVP / QEMU) are updating accordingly with the Linux Driver Refactoring
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Tested-by: Pascal Brand <pascal.brand@linaro.org> (QEMU) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (FVP) Tested-by: Cedric Chaumont <cedric.chaumont@linaro.org> (Juno) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 2a995f10 | 04-Feb-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Update setup_fvp_optee.sh/setup_qemu_optee.sh for GP test suite 1.1.0.4
Use stable commit for optee_test that supports the GlobalPlatform test package: TEE_Initial_Configuration-Test_Suite_v1_1_0_4-
Update setup_fvp_optee.sh/setup_qemu_optee.sh for GP test suite 1.1.0.4
Use stable commit for optee_test that supports the GlobalPlatform test package: TEE_Initial_Configuration-Test_Suite_v1_1_0_4-2014_11_07.7z
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 999e4a6c | 27-Jan-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
setup_qemu_optee.sh: add support for GlobalPlatform tests
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Br
setup_qemu_optee.sh: add support for GlobalPlatform tests
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 169695e9 | 26-Jan-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
setup_fvp_optee.sh: add support for GlobalPlatform tests
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Bra
setup_fvp_optee.sh: add support for GlobalPlatform tests
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 700c3514 | 26-Jan-2015 |
SY Chiu <sy.chiu@linaro.org> |
Setup test environment for Secure Element API
To enable this feature, uncomment the following in setup_qemu_optee.sh
Please note you should install the following packages first (on Ubuntu 14.04) $
Setup test environment for Secure Element API
To enable this feature, uncomment the following in setup_qemu_optee.sh
Please note you should install the following packages first (on Ubuntu 14.04) $ sudo apt-get install libtool autoconf automake help2man $ sudo apt-get install pcscd libpcsclite-dev default-jdk
After environment setup is done, you should install vpcd manually, by $ cd virtualsmartcard/src/vpcd $ sudo make install
Open another terminal, and enable Java Card Simulator(jcardsim) $ java -cp jcardsim.jar org.linaro.seapi.VpcdClient
Then run the qemu, input the following command on the linux console $ modprobe optee $ tee-supplicant & (test SE API in API level) $ se_api_test (test SE API internal selftest) $ se_api_test -s
Signed-off-by: SY Chiu <sy.chiu@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (Ubuntu 14.04) Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU + jcardsim)
show more ...
|
| b5a89896 | 22-Dec-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Update QEMU and FVP scripts for optee_test / xtest
Since we now have official support for xtest, we have updated our two setup scripts for QEMU and FVP to make use of the new git called optee_test.g
Update QEMU and FVP scripts for optee_test / xtest
Since we now have official support for xtest, we have updated our two setup scripts for QEMU and FVP to make use of the new git called optee_test.git.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU and FVP) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| e3850c5e | 04-Dec-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
New stable commits for the setup cripts
Sets new stable commits for the FVP and QEMU setup scripts
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@
New stable commits for the setup cripts
Sets new stable commits for the FVP and QEMU setup scripts
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 8f7de3fc | 04-Dec-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
plat-vexpress: linking supports pagable tee.bin
* Adds scripts to create a pagable tee.bin * Updates link script and link.mk to support pagable tee.bin * Binary format of tee.bin is changed from a r
plat-vexpress: linking supports pagable tee.bin
* Adds scripts to create a pagable tee.bin * Updates link script and link.mk to support pagable tee.bin * Binary format of tee.bin is changed from a raw format to a header followed by the binary data as described by the header. This requires updates in ARM-TF OP-TEE Dispatcher and QEMU virt bios.
fvp: * Changes OP-TEE load address to start of TZDRAM_BASE
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 59ffd236 | 09-Dec-2014 |
Joakim Bech <joakim.bech@linaro.org> |
Update CFG_TEE_CORE_LOG_LEVEL flag in FVP
Fixes OP-TEE/optee_os#148
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wikland
Update CFG_TEE_CORE_LOG_LEVEL flag in FVP
Fixes OP-TEE/optee_os#148
Signed-off-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| af0c87ec | 22-Oct-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add script for setting up QEMU and OP-TEE
The script will clone and download all needed gits to run OP-TEE using a QEMU with TrustZone patches.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.
Add script for setting up QEMU and OP-TEE
The script will clone and download all needed gits to run OP-TEE using a QEMU with TrustZone patches.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (Ubuntu 14.01 64-bit) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (Linux Mint 17 64-bit)
show more ...
|