| 0e692b78 | 29-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Fix strict-aliasing for DEBUG=0 |
| 860a0cc6 | 18-Sep-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Fix problem with finding static TA with DEBUG=0 |
| fb4a92f1 | 08-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Minor updates and cleanup |
| 260fa3fb | 08-Oct-2014 |
Pascal Brand <pascal.brand@st.com> |
Adding Travis CI to automatically check builds
Current missing are: - some compilation options that leads to error. They are not corrected right now as some of them may by corrected by PR#55 - che
Adding Travis CI to automatically check builds
Current missing are: - some compilation options that leads to error. They are not corrected right now as some of them may by corrected by PR#55 - checkpatch is not downloaded / run because of - licenses? - CamelCase in GP API that may lead to false alarms
Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 52628354 | 17-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Trace syscall entry when CFG_TEE_CORE_LOG_LEVEL == TRACE_FLOW (5) |
| 29f1a45d | 29-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add generation of memory usage report of tee.elf |
| e4120a1a | 16-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
XTS implementation
Fix libtomcrypt XTS: when applying XTS encryption / decryption, onto partial buffers, the tweak is now updated.
Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| b8976a60 | 15-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
plat-vexpress: fix non-debug build
Fixes a number of build errors when 'PLATFORM=vexpress' and 'DEBUG=': - '<var> may be used uninitialized' - 'dereferencing type-punned pointer will break strict-al
plat-vexpress: fix non-debug build
Fixes a number of build errors when 'PLATFORM=vexpress' and 'DEBUG=': - '<var> may be used uninitialized' - 'dereferencing type-punned pointer will break strict-aliasing rules' This one is addressed by adding -fno-strict-aliasing to the cflags for the problematic files, which is a temporary solution. - 'inlining failed'
Also, make sure tee_svc_syscall_table is aligned on a 32-bit boundary. Otherwise, an alignment fault might occur: ERR [0x0] TEE-CORE:tee_pager_print_error_abort:101: data-abort at 0x602f16b FSR 0x1 PC 0x6007bd4 TTBR0 0x603804A CONTEXIDR 0x1 CPUID 0x80000001 DBGPCSR 0x0 CPSR 0x80000013 (read from SPSR) ERR [0x0] TEE-CORE:tee_pager_handle_abort:164: [TEE_PAGER] alignement fault! (trap CPU)
Note: on Foundation_v8, I measured a ~3x speedup between debug and non-debug builds for asymmetric crypto tests.
show more ...
|
| 9c3040ee | 11-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix GCM Authentication
Authentication tag length, given during the enc_final(), was wrong. It was the max of the tag buffer, instead of the value provided during the init.
Other cleanup also takes
Fix GCM Authentication
Authentication tag length, given during the enc_final(), was wrong. It was the max of the tag buffer, instead of the value provided during the init.
Other cleanup also takes place to simplify CCM authentication.
Change-Id: I14c02b2a39a51fb485b0ff04707895f91fcc73a3 Reviewed-on: https://gerrit.st.com/12369 Tested-by: Pascal BRAND <pascal.brand@st.com> Tested-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| f07d62b6 | 16-Sep-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Fix dirty tests
* Makes dirty tests work again * Fixes compile issues when enabling the LOG features in dirty tests |
| a5e49bac | 16-Sep-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Update references to ARM Trusted Firmware
We must never abbreviate ARM so we either reference as "ARM Trusted Firmware" or "ARM-TF". |
| f3d0d79e | 05-Sep-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
vexpress,qemu: Change memory layout
Start QEMU with -m 1057 Use vexpress-v2p-ca15-tc1.dtb from the Linux kernel tree |
| 2c276d68 | 08-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
"Core Status" service on malloc
- Gets teecore heap info. - Enabled only on CFG_TEE_FW_DEBUG != 0. - Update dirty tests - Reset max allocated size after malloc dirty tests. |
| d1aea08f | 10-Sep-2014 |
SY Chiu <sy.chiu@linaro.org> |
Implemented wait in normal world
Instead of busy waiting in secure world, it is more efficient to wait in normal world such that HLOS can schedule another task to execute while waiting
- Added a ne
Implemented wait in normal world
Instead of busy waiting in secure world, it is more efficient to wait in normal world such that HLOS can schedule another task to execute while waiting
- Added a new RPC command to wait in linux driver - Remove wait_specific() hook in time_source, it seems can be a generic function. - This patch depends on "Implemented wait in normal world" in optee_linuxdrver
show more ...
|
| 177386fe | 12-Aug-2014 |
SY Chiu <sy.chiu@linaro.org> |
Generic secure time layer
Provided a time source api in order to let soc vendors implement their own secure counter
- Moved platform-dependent code out of tee_time.c to make it a generic time lay
Generic secure time layer
Provided a time source api in order to let soc vendors implement their own secure counter
- Moved platform-dependent code out of tee_time.c to make it a generic time layer. - Added an abstract layer for platforms to implement their own secure time source. - Implemented arm cntpct as one of secure time source. - Moved rtt0 related time operation from tee_time.c to tee_time_rtt.c, act as another secure time source. - Added tee_time_ree.c for the plaform that doesn't have secure time source. In this case, using ree time as secure time source.
show more ...
|
| c3c7db16 | 10-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Fix TA build error
This fixes a bug introduced by commit 4334e8d. In ta_dev_kit.mk, out-dir must be set to '.' and not left empty when output directory (O=) is not specified. Otherwise, when buildin
Fix TA build error
This fixes a bug introduced by commit 4334e8d. In ta_dev_kit.mk, out-dir must be set to '.' and not left empty when output directory (O=) is not specified. Otherwise, when building a trusted app, the compile rule will have an unwanted leading slash (result from the expansion of $(out-dir)/$(...) in compile.mk). Error is:
make[1]: Entering directory `/home/jerome/tmp/lcu14_optee_hello_world/ta' CC /hello_world_ta.o hello_world_ta.c:101:1: fatal error: opening dependency file /.hello_world_ta.o.d: Permission denied } ^ compilation terminated.
show more ...
|
| 8844ebfc | 02-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix #6323: A failing RSA decode leads to panic
Change-Id: Ia4762f076922338f280d431f104b653e731bf64f Reviewed-on: https://gerrit.st.com/11598 Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.
Fix #6323: A failing RSA decode leads to panic
Change-Id: Ia4762f076922338f280d431f104b653e731bf64f Reviewed-on: https://gerrit.st.com/11598 Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Tested-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Tested-by: Jocelyn RICARD <jocelyn.ricard@st.com> Reviewed-by: Pascal BRAND <pascal.brand@st.com>
Update wrt comments from review
Fix returned error when the mode is not ok
show more ...
|
| c2997885 | 02-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
Fix #6294: Full HW Random Generator
Change-Id: I9babada92991c646d844a25af175150d530a8ddb Reviewed-on: https://gerrit.st.com/11597 Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Tested
Fix #6294: Full HW Random Generator
Change-Id: I9babada92991c646d844a25af175150d530a8ddb Reviewed-on: https://gerrit.st.com/11597 Reviewed-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Tested-by: Jean-Michel DELORME <jean-michel.delorme@st.com> Reviewed-by: Jocelyn RICARD <jocelyn.ricard@st.com> Reviewed-by: Pascal BRAND <pascal.brand@st.com>
Conflicts: core/arch/st231/plat-stm/rng_support.c
show more ...
|
| 4334e8d7 | 08-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Makefile variables $(*-dir) should not have a trailing slash
As a general rule, Makefile variables that are directories should not have a trailing slash, and should be used as: $(some-dir)/some-file
Makefile variables $(*-dir) should not have a trailing slash
As a general rule, Makefile variables that are directories should not have a trailing slash, and should be used as: $(some-dir)/some-file rather than $(some-dir)some-file. This is more readable.
show more ...
|
| 0b7032c4 | 08-Sep-2014 |
Pascal Brand <pascal.brand@st.com> |
Make license terms more explicit
It fixes #37 "README.md is unclear about license" |
| 31cf38ec | 05-Sep-2014 |
Joakim Bech <joakim.bech@linaro.org> |
MMU: Simplify tee_mmu_switch function
Replaced direct CP15 instructions with macros instead and removed some unnecessary code. |
| f32550ee | 14-Aug-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add documentation for ARM Trusted Firmware
Adds documentation how to compile and run with ARM Trusted Firmware. |
| 7598956d | 02-Sep-2014 |
Jens Wiklander <jens.wiklander@linaro.org> |
Updates for ARM Trusted Firmware tag v1.0
* New load address for plat-vexpress,fvp * Entry vector extended with system_off and system_reset entries |
| 0047cb63 | 01-Sep-2014 |
Jerome Forissier <jerome.forissier@linaro.org> |
Cosmetic fixes for build output
By default, the OP-TEE build shows abbreviated output similar to the Linux kernel. This commit fixes a number of deviations/inconsistencies.
- Always print a command
Cosmetic fixes for build output
By default, the OP-TEE build shows abbreviated output similar to the Linux kernel. This commit fixes a number of deviations/inconsistencies.
- Always print a command in uppercase, followed by the target file. - Make sure commands and file paths are nicely aligned, with two leading spaces to make command output/errors better stand out. - Remove some duplicate slashes in file paths. We use the following rule: variables that hold directory names such as $(arch-dir) or $(platform-dir) always have a trailing slash. The 'subdirs' and 'incdirs' variables used in sub-makefiles are an exception because doing otherwise would needlessly clutter the sub-makefiles.
show more ...
|
| 92542a71 | 29-Aug-2014 |
Pascal Brand <pascal.brand@st.com> |
plat-orly2 and plat-cannes merged in plat-stm
PLATFORM_FLAVOR is used to distinguish orly2 and cannes
Change-Id: Iaed89451f704120e29b0b0adb83627f11bf9df48 |