| fbecf4ee | 16-Apr-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
Add sparse support [C=1]
Adds support to check source files with sparse when C=1 on the command line. Only files that are recompiled are checked.
Note that sparse isn't very useful at this stage si
Add sparse support [C=1]
Adds support to check source files with sparse when C=1 on the command line. Only files that are recompiled are checked.
Note that sparse isn't very useful at this stage since the source code need changes to be more sparse friendly.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| 6227e099 | 20-May-2015 |
Pascal Brand <pascal.brand@st.com> |
Fix CFG_TEE_CORE_EMBED_INTERNAL_TESTS macro
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.br
Fix CFG_TEE_CORE_EMBED_INTERNAL_TESTS macro
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| d7df0762 | 20-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
Clean/simplify supplicant RPC parameters
Tested on HiKey with 32-bit and 64-bit TEE Core.
Note: this commit depends on: https://github.com/OP-TEE/optee_client/pull/32 https://github.com/OP-TEE/op
Clean/simplify supplicant RPC parameters
Tested on HiKey with 32-bit and 64-bit TEE Core.
Note: this commit depends on: https://github.com/OP-TEE/optee_client/pull/32 https://github.com/OP-TEE/optee_linuxdriver/pull/22
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 2e5831a9 | 13-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: main.c now use generic_boot.c
Yet another step towrds generic boot on plat-stm plat-stm/main.c is now minimized by including kernel/generic_boot.c
Reviewed-by: Joakim Bech <joakim.bech@li
plat-stm: main.c now use generic_boot.c
Yet another step towrds generic boot on plat-stm plat-stm/main.c is now minimized by including kernel/generic_boot.c
Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 6ef34537 | 08-May-2015 |
SY Chiu <sy.chiu@linaro.org> |
Generic console initialization code
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> |
| 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 ...
|
| fd1bdc6b | 12-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
core: log build information on init
Build information includes:
- Version string as returned by 'git describe --always --dirty' - Build counter (#1 initially or after 'make clean') - Build date/tim
core: log build information on init
Build information includes:
- Version string as returned by 'git describe --always --dirty' - Build counter (#1 initially or after 'make clean') - Build date/time - Linker architecture ('arm', 'aarch64')
For example: 0.2.0-107-g985d7d8 #1 Tue May 12 16:49:14 UTC 2015 aarch64
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> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| 14fb9f84 | 12-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: using the heap as the generic one
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pasc
plat-stm: using the heap as the generic one
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 5526b8c0 | 12-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: going to generic_boot_init_primary / secondary
In plat_stm, we now use functions that are close to the generic one generic_boot_init_primary and generic_boot_init_secondary
Reviewed-by: J
plat-stm: going to generic_boot_init_primary / secondary
In plat_stm, we now use functions that are close to the generic one generic_boot_init_primary and generic_boot_init_secondary
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 73980898 | 07-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: Use CFG_MMU_V7_TTB
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| db90573f | 06-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
plat-hikey: enable ARM64
make PLATFORM=hikey CFG_ARM64_core=y \ CROSS_COMPILE_core=aarch64-linux-gnu-
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <p
plat-hikey: enable ARM64
make PLATFORM=hikey CFG_ARM64_core=y \ CROSS_COMPILE_core=aarch64-linux-gnu-
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
show more ...
|
| e8f2a0ad | 06-May-2015 |
Pascal Brand <pascal.brand@st.com> |
Generic boot: Introduce DEVICE0_TYPE
Within this step, plat-stm/core_bootcfg.c is now exactly generic_core_bootcfg.c.
This is a step towards using the generic boot on STM platform.
Reviewed-by: Je
Generic boot: Introduce DEVICE0_TYPE
Within this step, plat-stm/core_bootcfg.c is now exactly generic_core_bootcfg.c.
This is a step towards using the generic boot on STM platform.
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| c03e613c | 06-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: unification with generic_core_boot_cfg.c
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pa
plat-stm: unification with generic_core_boot_cfg.c
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 17da325d | 07-May-2015 |
Pascal Brand <pascal.brand@st.com> |
Remove unused function tee_get_cutid()
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@s
Remove unused function tee_get_cutid()
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
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 ...
|
| f453f993 | 07-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: build clean
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platf
plat-stm: build clean
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 483200d5 | 07-May-2015 |
Pascal Brand <pascal.brand@st.com> |
plat-stm: going to generic link file
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.
plat-stm: going to generic link file
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| b7517c55 | 06-May-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core arm: remove unused open session option
OP-TEE no longer supports loading the TA directly in open session.
* Removes ta field in struct tee_dispatch_open_session_in. * Removes get_open_session_
core arm: remove unused open session option
OP-TEE no longer supports loading the TA directly in open session.
* Removes ta field in struct tee_dispatch_open_session_in. * Removes get_open_session_ta() * Removes unneeded inclusions of kernel/kta_types.h
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> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| feb97750 | 04-May-2015 |
Pascal Brand <pascal.brand@st.com> |
Replace read_cpsr() by thread_mask_exceptions
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Signed-off-by: Pascal Brand <pascal.brand@st.com> |
| 486aa67a | 13-Apr-2015 |
etienne carriere <etienne.carriere@st.com> |
arm/pager: fix thread stack allocation in vmem
Ensure vmem allocated for stack protection (an unmaped page at stack bottom) and effective thread stack vmem are virtually contiguous.
Reviewed-by: Je
arm/pager: fix thread stack allocation in vmem
Ensure vmem allocated for stack protection (an unmaped page at stack bottom) and effective thread stack vmem are virtually contiguous.
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal BRAND <pascal.brand@st.com> Tested-by: Pascal BRAND <pascal.brand@st.com> Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|
| 2f3c90c5 | 04-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
generic_core_bootcfg.c: clean comments and messages
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Joakim Bech <joakim
generic_core_bootcfg.c: clean comments and messages
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
show more ...
|
| 855171e1 | 04-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
crypto: initialize with service_init()
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@lin
crypto: initialize with service_init()
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> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| f5933e3d | 04-May-2015 |
Jerome Forissier <jerome.forissier@linaro.org> |
plat-stm: fix grep error message during build
Fixes the following error messages when $(platform-dir)/System.map does not exist: grep: core/arch/arm/plat-stm/System.map: No such file or directory
plat-stm: fix grep error message during build
Fixes the following error messages when $(platform-dir)/System.map does not exist: grep: core/arch/arm/plat-stm/System.map: No such file or directory grep: core/arch/arm/plat-stm/System.map: No such file or directory
The function that looks for a symbol in System.map simply returns 0x0 when the file is not readable.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform)
show more ...
|
| 5879def9 | 30-Apr-2015 |
Jens Wiklander <jens.wiklander@linaro.org> |
core: assert that paging can be initialized
Adds an assert in kernel/kern.ld.S that there's enough free pages to initialize paging when CFG_WITH_PAGER = y.
Signed-off-by: Jens Wiklander <jens.wikla
core: assert that paging can be initialized
Adds an assert in kernel/kern.ld.S that there's enough free pages to initialize paging when CFG_WITH_PAGER = y.
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (FVP) Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
show more ...
|
| 25b33810 | 16-Apr-2015 |
etienne carriere <etienne.carriere@st.com> |
Fix TA cache maintenance support
Fix the 2-level cache clean/inv/flush sequences. Current implementation follows recommendations from http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0
Fix TA cache maintenance support
Fix the 2-level cache clean/inv/flush sequences. Current implementation follows recommendations from http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0246d/Beicdhde.html
Tested-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by: CIBUILD <smet-aci-builds@lists.codex.cro.st.com> Reviewed-by: Etienne CARRIERE <etienne.carriere@st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Pascal Brand <pascal.brand@linaro.org> (STM platform) Signed-off-by: Pascal Brand <pascal.brand@st.com>
show more ...
|