On 02/05/2018 04:59 PM, Haojian Zhuang wrote:
Add hikey960 platform with OPTEE and ATF.
Signed-off-by: Haojian Zhuang haojian.zhuang@linaro.org
edk2-platforms.config | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
diff --git a/edk2-platforms.config b/edk2-platforms.config index 8ef82d1..48df98f 100644 --- a/edk2-platforms.config +++ b/edk2-platforms.config @@ -121,6 +121,22 @@ BUILD_TOS=yes # Uncomment this to use UART0 as the OP-TEE Trusted OS console #TOS_BUILDFLAGS=CFG_CONSOLE_UART=0 +[hikey960] +LONGNAME=Hikey960 +DSC=Platform/Hisilicon/HiKey960/HiKey960.dsc +ARCH=AARCH64 +UEFI_BIN=BL33_AP_UEFI.fd +UEFI_IMAGE_DIR=HiKey960 +BUILD_ATF=yes +ATF_SPD=opteed +TOS_BIN=tee-pager.bin +TOS_PLATFORM=hikey +TOS_PLATFORM_FLAVOR=hikey960 +BUILD_TOS=yes +SCP_BIN=Platform/Hisilicon/HiKey960/lpm3.img +# Uncomment this to use UART5 as the EDK2 console for v1 hardware +#BUILDFLAGS=-DSERIAL_BASE=0xFDF05000
- [d02] LONGNAME=Hisilicon D02 DSC=Platform/Hisilicon/D02/Pv660D02.dsc
Hi Leif,
This patch is not merged yet. I can't build hikey960 without this patch in uefi-tools.
Best Regards Haojian