| c2f58080 | 27-Apr-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
ltc: bugfix find_prng()
When the prng_descriptor was changed to a pointer to descriptors in 7892cb1bcf8618990ed87458b898b37d6351428f "ltc: make prng_descriptor a pointer to descriptors" wasn't the f
ltc: bugfix find_prng()
When the prng_descriptor was changed to a pointer to descriptors in 7892cb1bcf8618990ed87458b898b37d6351428f "ltc: make prng_descriptor a pointer to descriptors" wasn't the find_prng() updated properly. This causes NULL pointer error if the PRNG name isn't found before the list is exhausted. This patch fixes this problem.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: David Brown <david.brown@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 88885202 | 28-Jun-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: fix race to allocate secure buffer
Fixes race to allocate secure buffer for TA to TA communication.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Jens Wiklander <jens.wiklander
core: fix race to allocate secure buffer
Fixes race to allocate secure buffer for TA to TA communication.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 78fff5f4 | 30-Jun-2016 |
Jerome Forissier <jerome.forissier@linaro.org> |
Update initialization messages
Demote a pager message from EMSG to IMSG and reformat it. Also reformat the end of initialization message.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.or
Update initialization messages
Demote a pager message from EMSG to IMSG and reformat it. Also reformat the end of initialization message.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| b8cceb55 | 29-Jun-2016 |
Jerome Forissier <jerome.forissier@linaro.org> |
tee_fs_generate_fek(): return BAD_PARAMETERS when size is invalid
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> |
| 05ffbba0 | 14-Jun-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
ltc: optionally compile with -Os
If CFG_CRYPTO_SIZE_OPTIMIZATION is y libtomcrypt is compiled with -Os regardless of the value of DEBUG.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by:
ltc: optionally compile with -Os
If CFG_CRYPTO_SIZE_OPTIMIZATION is y libtomcrypt is compiled with -Os regardless of the value of DEBUG.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 70126feb | 15-Jun-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: struct tee_ta_session: remove calling_sess
Removes calling_sess from struct tee_ta_session as the information is available via link_tsd instead.
Reviewed-by: Joakim Bech <joakim.bech@linaro.o
core: struct tee_ta_session: remove calling_sess
Removes calling_sess from struct tee_ta_session as the information is available via link_tsd instead.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| a07c12b2 | 14-Jun-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: replace tee_ta_set_current_session()
Replace tee_ta_set_current_session() with tee_ta_push_current_session() and tee_ta_pop_current_session() to set and restore the current session in a stack
core: replace tee_ta_set_current_session()
Replace tee_ta_set_current_session() with tee_ta_push_current_session() and tee_ta_pop_current_session() to set and restore the current session in a stack like fashion.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| eebf7990 | 15-Jun-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: update tee_svc_copy_{to,from}_user
Removes the sess parameter to tee_svc_copy_to_user(), tee_svc_copy_from_user() and tee_svc_copy_kaddr_to_uref() as it's always passed as either NULL or curre
core: update tee_svc_copy_{to,from}_user
Removes the sess parameter to tee_svc_copy_to_user(), tee_svc_copy_from_user() and tee_svc_copy_kaddr_to_uref() as it's always passed as either NULL or current session.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| ac3cc110 | 23-Jun-2016 |
Pascal Brand <pascal.brand@st.com> |
Release Notes of 2.1.0
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| ca6737b4 | 02-Jun-2016 |
Yongqin Liu <yongqin.liu@linaro.org> |
asop: Add common Makefile for core and TA's
With this fix it's sufficient to add the following to the respective Android.mk files in the TA directories:
LOCAL_PATH := $(call my-dir) local_modul
asop: Add common Makefile for core and TA's
With this fix it's sufficient to add the following to the respective Android.mk files in the TA directories:
LOCAL_PATH := $(call my-dir) local_module := 11111111-2222-3333-4444444444444444.ta include $(BUILT_OPTEE_MK)
Where BUILT_OPTEE_MK is the variant pointing to this aosp_optee.mk, which has been set in the device.mk for a particular platform.
Doing so gives us the ability to control where the TA files will be installed, where the intermediates will be generated, and other things in a single place.
The contents contained in this mk file is mainly related to OP-TEE and do normally not need to be modified, except when the OP-TEE team wants to change some behavior. This is why we put this mk file here instead of putting it into the platform device config repository.
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| 1537d62e | 03-Jun-2016 |
Aijun Sun <aijun.sun@spreadtrum.com> |
Add support for Spreadtrum SC9860(alias whale2) board
make PLATFORM=sprd-sc9860 [CFG_ARM64_core=y]
Signed-off-by: Aijun Sun <aijun.sun@spreadtrum.com> Reviewed-by: Jerome Forissier <jerome.forissie
Add support for Spreadtrum SC9860(alias whale2) board
make PLATFORM=sprd-sc9860 [CFG_ARM64_core=y]
Signed-off-by: Aijun Sun <aijun.sun@spreadtrum.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| 0acaaafb | 22-Jun-2016 |
Victor Chong <vchong@users.noreply.github.com> |
README.md: Add warning for GCC4.9 to GCC5 upgrade
Signed-off-by: Victor Chong <victor.chong@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> |
| 7aa553e4 | 17-Jun-2016 |
Soren Brinkmann <soren.brinkmann@xilinx.com> |
zynqmp: Map UART memory area as secure
Commit 1e00aeb97ffa ("core: non-linear mapping of secure world devices") revealed a bug in the ZynqMP platform that mapped the UART non-secure but looked up it
zynqmp: Map UART memory area as secure
Commit 1e00aeb97ffa ("core: non-linear mapping of secure world devices") revealed a bug in the ZynqMP platform that mapped the UART non-secure but looked up its VA as secure memory, resulting in an exception when accessing the UART registers. Fixing this by mapping the UART secure, making the mapping consistent with the VA lookup.
Fixes: dc57f5a0e8f3 ("Add support for ZynqMP") Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 97ae7b57 | 17-Jun-2016 |
Soren Brinkmann <soren.brinkmann@xilinx.com> |
Remove '819.patch' file
Remove '819.patch' which has been added accidentally in commit 3481d2f66edf ("Add Cadence UART driver").
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Reviewed
Remove '819.patch' file
Remove '819.patch' which has been added accidentally in commit 3481d2f66edf ("Add Cadence UART driver").
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 694bf2a0 | 16-Jun-2016 |
David Brown <david.brown@linaro.org> |
docs: Add mtools to dependencies
Changing hikey build to use mtools instead of sudo/mount eliminates the need for root access during the build. Document this dependency.
Signed-off-by: David Brown
docs: Add mtools to dependencies
Changing hikey build to use mtools instead of sudo/mount eliminates the need for root access during the build. Document this dependency.
Signed-off-by: David Brown <david.brown@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| 8f46b8d0 | 16-Jun-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: boot: make boot parameters unsigned long
Changes all boot parameters passed in registers to be of the type unsigned long to match the register size and allow greater width on 64-bit systems.
core: boot: make boot parameters unsigned long
Changes all boot parameters passed in registers to be of the type unsigned long to match the register size and allow greater width on 64-bit systems.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU v7 & v8) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 834b346b | 26-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
vexpress: CFG_DT=y for QEMU platforms
Enables Device Tree support for the two QEMU platforms.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wikland
vexpress: CFG_DT=y for QEMU platforms
Enables Device Tree support for the two QEMU platforms.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 76358bec | 25-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: arm: generic boot: edit device tree
If configured with CFG_DT configures supplied device tree to add a node for OP-TEE and reservation of shared memory.
Reviewed-by: Jerome Forissier <jerome.
core: arm: generic boot: edit device tree
If configured with CFG_DT configures supplied device tree to add a node for OP-TEE and reservation of shared memory.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 830a08e4 | 04-Mar-2016 |
Jerome Forissier <jerome.forissier@linaro.org> |
arm: generic_boot: Add fdt parameter to entry point (register r2)
When CFG_DT=y, OP-TEE expects to find the address of the Flattened Device Tree (FDT) binary in r2. The bootloader has to take care o
arm: generic_boot: Add fdt parameter to entry point (register r2)
When CFG_DT=y, OP-TEE expects to find the address of the Flattened Device Tree (FDT) binary in r2. The bootloader has to take care of this. r2 is not used when CFG_DT=n.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| b908c675 | 25-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
Import libfdt v1.4.1
Imports libfdt code from https://git.kernel.org/cgit/utils/dtc/dtc.git tag "v1.4.1" commit 302fca9f4c283e1994cf0a5a9ce1cf43ca15e6d2.
API header files are moved to libfdt/includ
Import libfdt v1.4.1
Imports libfdt code from https://git.kernel.org/cgit/utils/dtc/dtc.git tag "v1.4.1" commit 302fca9f4c283e1994cf0a5a9ce1cf43ca15e6d2.
API header files are moved to libfdt/include.
Small changes to make fdt.h and libfdt.h c99 compiant.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Suggested-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 51932e38 | 26-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
libutils/newlib: clean sub.mk
As most newlib source files needs more or less the same flags to compile, apply the flags with cflags-y and clags-remove-y instead of individual flags for each file.
R
libutils/newlib: clean sub.mk
As most newlib source files needs more or less the same flags to compile, apply the flags with cflags-y and clags-remove-y instead of individual flags for each file.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| f46a4a4a | 25-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
libutils: add strchr()
Imports strchr() from newlib.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> |
| 6d7ecad5 | 09-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
plat-hikey: use register_phys_mem()
Uses register_phys_mem to define mapping of devices instead of the old DEVICE* defines.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Jerome Foris
plat-hikey: use register_phys_mem()
Uses register_phys_mem to define mapping of devices instead of the old DEVICE* defines.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| e3b7383f | 09-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
plat-vexpress: use register_phys_mem()
Uses register_phys_mem to define mapping of devices instead of the old DEVICE* defines.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens
plat-vexpress: use register_phys_mem()
Uses register_phys_mem to define mapping of devices instead of the old DEVICE* defines.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 5a27629f | 09-May-2016 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: use register_phys_mem() in pcsc driver
Uses register_phys_mem() in pcsc driver to make sure the required physical addresses are mapped.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signe
core: use register_phys_mem() in pcsc driver
Uses register_phys_mem() in pcsc driver to make sure the required physical addresses are mapped.
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|