From patchwork Fri Feb 2 11:51:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 126635 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp564873ljc; Fri, 2 Feb 2018 03:51:55 -0800 (PST) X-Google-Smtp-Source: AH8x226PedyWaPzX0uNsXR2a7j9kNF/SZ1a5dJXnzcsInWunQP+257ngM8ERTQIB0rFmXGYEftTS X-Received: by 10.200.53.2 with SMTP id y2mr4183963qtb.191.1517572315575; Fri, 02 Feb 2018 03:51:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517572315; cv=none; d=google.com; s=arc-20160816; b=xVuBrAws23sfekJ9YWfluTCVBqOEDrVhStjalhkZ+AzsIbdVe9KAknY91WJNKrmW0H ZAR+72xepdGjDYBl44CNLlqUAQlD9WfcXS65SCmd2J68Gjoe/ZxLvxrtXWsV9A9pl9fs H4kv19+v4jSfTAduF/0O8pvNXEanwhGhrdpWO+Dptvlt0n8nZ44GtwNu9bw1pjPuiP9Y DcLJutr4X+KCq3/1TQDZ309gsePP4c5mAxiGlDg3GJoiZqI/6oCmCkMMXYf6gYYGnG45 gysmVIDwq89qxJ3XloTiM1xFYlc1ikML/TMVF6OO5Y8g5RyVA9Mt6GUBpxnwra7+pXeB Mm4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=sEqNhXux8wFfdsG3RkR67NVXTCR0s/woBlZrFnvBgqc=; b=FAGXjqo2RVDlWv4SdiT5kKzaq1GMkhop69m/lTrfKtq6+56ZdQxqarc1viLhaN3WvY IKWCD7kOWoj9qYXBTxpJvLP+Ioq5f/vRzMyPZFma4YIMQ5u3tj7dnOjevmrCT/TquNEl jU8G/O+qPzM9+JXKyewyOETYZpNfMNnhHrv16DVWxkShHxT1sqAvU9HIAX3LZ+3KLuNl IQhLA1IbW3PLNnVNw6+tLuFlbnISbC0S8OYKVitQfTIaxUXXdB4Cn9M7Kbk0THo89xkM suyio5N1CtLV6ASuEOdW8jb7T8rRVlgBZrcA6J7yrS7+tdzbVqM8szc+0zkdgpYYR9II kiqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id g129si1197253qkd.302.2018.02.02.03.51.55; Fri, 02 Feb 2018 03:51:55 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 39BB661789; Fri, 2 Feb 2018 11:51:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id EB61961775; Fri, 2 Feb 2018 11:51:51 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E182D6177C; Fri, 2 Feb 2018 11:51:48 +0000 (UTC) Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by lists.linaro.org (Postfix) with ESMTPS id 37A6D61785 for ; Fri, 2 Feb 2018 11:51:31 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id x25so1331261pge.3 for ; Fri, 02 Feb 2018 03:51:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hjkqjVYg/ooI8nsBfOEuum4hMXYJ1wsD0Onsr5ba214=; b=EcYoJ1jv6XNOYlHjoaH/K2mk3u7kPlglZOFIVToE2m3x+JQ5D1IaPWY++0Ek+Q7VyX hUQMKsbDZFnCx7qV5/J5ato6PV10R4yKHYd74F9wXKqOcOAiZCvPo3xOUU2AuVfRGLPM zWfBzfRk7c3xSHLe2PWdJWRk5F7kSEe31FtICyAqhOJKsRxV0xdBNP4Zqe28/67KYTuk 06tbOpVsip1xYFJ4WQ0dPFOoFhLZ+J7esIhaE/nMwgTRGpE6xXHsiJ3VZ2w2GFS6e2Q3 PiSH1zUggZIFE7vyU/ceV9P7jIeOZ+HW4M937yBGU7eQKQyfB+RXZSfWQXlJoE57f2qy nvrw== X-Gm-Message-State: AKwxytezeBI53ZUYTFE04wp9bC4f4mAPExShYBDdWX/LYAYcZw02JnJa vCyzMaxBeoqJGKFmm/CJnXBgO2Gole9lh2xs X-Received: by 10.99.139.196 with SMTP id j187mr1626486pge.188.1517572290165; Fri, 02 Feb 2018 03:51:30 -0800 (PST) Received: from localhost.localdomain ([64.64.108.125]) by smtp.gmail.com with ESMTPSA id i187sm3790408pfc.99.2018.02.02.03.51.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 02 Feb 2018 03:51:29 -0800 (PST) From: Haojian Zhuang To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org Date: Fri, 2 Feb 2018 19:51:11 +0800 Message-Id: <1517572271-8564-2-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517572271-8564-1-git-send-email-haojian.zhuang@linaro.org> References: <1517572271-8564-1-git-send-email-haojian.zhuang@linaro.org> Subject: [Linaro-uefi] [PATCH 2/2] edk2-platforms.config: build ATF & OPTEE for hikey X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "For discussions about Linaro-related UEFI development. Not a substitute for edk2-devel." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Add content to build ATF & OPTEE for HiKey platform. Signed-off-by: Haojian Zhuang --- edk2-platforms.config | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/edk2-platforms.config b/edk2-platforms.config index 5c09afe..8ef82d1 100644 --- a/edk2-platforms.config +++ b/edk2-platforms.config @@ -106,6 +106,20 @@ ARCH=AARCH64 LONGNAME=HiKey DSC=Platform/Hisilicon/HiKey/HiKey.dsc ARCH=AARCH64 +BUILD_ATF=yes +UEFI_BIN=BL33_AP_UEFI.fd +UEFI_IMAGE_DIR=HiKey +SCP_BIN=Platform/Hisilicon/HiKey/mcuimage.bin +ATF_SPD=opteed +TOS_BIN=tee-pager.bin +TOS_PLATFORM_FLAVOR=hikey +BUILD_TOS=yes +# Uncomment this to use UART0 as the EDK2 console +#BUILDFLAGS=-DSERIAL_BASE=0xF8015000 +# Uncomment this to use UART0 as the ARM Trusted Firmware console +#ATF_BUILDFLAGS=CONSOLE_BASE=PL011_UART0_BASE CRASH_CONSOLE_BASE=PL011_UART0_BASE +# Uncomment this to use UART0 as the OP-TEE Trusted OS console +#TOS_BUILDFLAGS=CFG_CONSOLE_UART=0 [d02] LONGNAME=Hisilicon D02