diff mbox series

[Linaro-uefi] edk2-platforms.config: add hikey960 platform

Message ID 1517819329-20825-1-git-send-email-haojian.zhuang@linaro.org
State Superseded
Headers show
Series [Linaro-uefi] edk2-platforms.config: add hikey960 platform | expand

Commit Message

Haojian Zhuang Feb. 5, 2018, 8:28 a.m. UTC
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(+)

Comments

Victor Chong Feb. 5, 2018, 8:49 a.m. UTC | #1
On Mon, Feb 5, 2018 at 5:28 PM, Haojian Zhuang
<haojian.zhuang@linaro.org> 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/Binary/lpm3.img

Platform/Hisilicon/HiKey960/lpm3.img according to your previous patch?

> +# 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
> --
> 2.7.4
>
> _______________________________________________
> Linaro-uefi mailing list
> Linaro-uefi@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/linaro-uefi
Haojian Zhuang Feb. 5, 2018, 8:57 a.m. UTC | #2
On 02/05/2018 04:49 PM, Victor Chong wrote:
> On Mon, Feb 5, 2018 at 5:28 PM, Haojian Zhuang

> <haojian.zhuang@linaro.org> 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/Binary/lpm3.img

> 

> Platform/Hisilicon/HiKey960/lpm3.img according to your previous patch?

> 

Yes, let me fix it. Thanks.

Best Regards
Haojian
diff mbox series

Patch

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/Binary/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