Searched hist:de1d7306eba5b9e5dab278bc6d9d2c98d57d8ef5 (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/arch/arm/plat-hikey/ |
| H A D | platform_config.h | de1d7306eba5b9e5dab278bc6d9d2c98d57d8ef5 Mon May 15 11:46:08 UTC 2017 Jerome Forissier <jerome.forissier@linaro.org> plat-hikey: configure and enable Secure Data Path by default
Reserve 4 MiB (0x3E800000 - 0x3EC00000) from the lower part of the DRAM area that is already reserved for OP-TEE by UEFI (0x3E000000 - 0x40000000) to serve as the Secure Data Path pool.
A 2 MiB space is left between the top of this area and the NW/SW shared memory, because we need the SDP area to be 4 MiB-aligned in order to be protected by the memory firewall (protection is handled by ARM Trusted Firmware [4] and is not strictly required for SDP to work).
To use SDP with Linux on HiKey, you need a modified ION driver [1] which is available in the Linaro repository [2], and the following configuration [3]:
CONFIG_STAGING=y CONFIG_ION=y CONFIG_ION_DUMMY=y CONFIG_ION_DUMMY_UNMAPPED_HEAP=y CONFIG_ION_DUMMY_UNMAPPED_BASE=0x3e800000 CONFIG_ION_DUMMY_UNMAPPED_SIZE=0x00400000 CONFIG_ANDROID=y CONFIG_ANDROID_TIMED_OUTPUT=n CONFIG_ANDROID_LOW_MEMORY_KILLER=n
[1] https://github.com/linaro-swg/linux/compare/e31dd54997^...961993fde6 [2] https://github.com/linaro-swg/linux/tree/optee [3] https://github.com/OP-TEE/build/pull/145 [4] https://github.com/96boards-hikey/arm-trusted-firmware/pull/13
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | conf.mk | de1d7306eba5b9e5dab278bc6d9d2c98d57d8ef5 Mon May 15 11:46:08 UTC 2017 Jerome Forissier <jerome.forissier@linaro.org> plat-hikey: configure and enable Secure Data Path by default
Reserve 4 MiB (0x3E800000 - 0x3EC00000) from the lower part of the DRAM area that is already reserved for OP-TEE by UEFI (0x3E000000 - 0x40000000) to serve as the Secure Data Path pool.
A 2 MiB space is left between the top of this area and the NW/SW shared memory, because we need the SDP area to be 4 MiB-aligned in order to be protected by the memory firewall (protection is handled by ARM Trusted Firmware [4] and is not strictly required for SDP to work).
To use SDP with Linux on HiKey, you need a modified ION driver [1] which is available in the Linaro repository [2], and the following configuration [3]:
CONFIG_STAGING=y CONFIG_ION=y CONFIG_ION_DUMMY=y CONFIG_ION_DUMMY_UNMAPPED_HEAP=y CONFIG_ION_DUMMY_UNMAPPED_BASE=0x3e800000 CONFIG_ION_DUMMY_UNMAPPED_SIZE=0x00400000 CONFIG_ANDROID=y CONFIG_ANDROID_TIMED_OUTPUT=n CONFIG_ANDROID_LOW_MEMORY_KILLER=n
[1] https://github.com/linaro-swg/linux/compare/e31dd54997^...961993fde6 [2] https://github.com/linaro-swg/linux/tree/optee [3] https://github.com/OP-TEE/build/pull/145 [4] https://github.com/96boards-hikey/arm-trusted-firmware/pull/13
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|