From patchwork Thu Feb 8 09:19:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 127275 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1298718ljc; Thu, 8 Feb 2018 01:20:39 -0800 (PST) X-Google-Smtp-Source: AH8x224sPKsCB3b5W8CRTAF9agfiEtPXkCTOLsTbTjqEOGmd1KNJuNthC7Q8VNj52KVbHZc8OszH X-Received: by 10.237.54.201 with SMTP id f67mr29465qtb.252.1518081639452; Thu, 08 Feb 2018 01:20:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518081639; cv=none; d=google.com; s=arc-20160816; b=pfwV4qKb6AFZOfH97Elq4+N+VlhH7HTPesVJW8MXz/weyZHQ2EHbezXTAkxvMxY3cN Y2jUG96P3dDfo4fqZH9gsXtWjW7JQkRaE4jQNCrYqpDoc+zjCTCrbqzoZ4ZaSwtkxbsa x9AVxSxyc+FlarKnqy7qy7+XsUKL/csmrJzwOH+0GS7SnL1ZxySt0dYVx92iDqKdsDcn eCv3paqmOP532qMW1te5u+Eze28eQVnO/1hq3lMFUPyGsyEpoGUx5AjfO9a7W+GsaZnQ q1AEbj6TXNSF+h7eskHFBWr2p3r50ttrNx9LfxD9W0O3VWz+oTfFDb04VtHC3HIVIDah nYvA== 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=TNG7oDeSBEXJKSiRmXi/201FKCGXt2eXCfwAfRzd8Qf/zuuz0YESpIeY3NKlie+Oj4 L5FZT2mHA8IGNy1ocULdIHgXTz+1oSmSBqFibkUdId7tMOlIpJ1jtQUVEzObqUkpQCo0 Rj8+NboecSM2HMKjkOJ3/3kK0D6rj49I8nuDda8AgRzQUWs7tSNws8Bv8CByD9MrO7Ld icU7qJ2UVz6/4YK9GQOAgScmjQI/EVBMm9VzTZzLLom52BDRZKtt7t3lv79FIdmratFL /OSGjZnXtOxuSmoGO/Fv9Jav6jIxY5wpt/Ajsvyif/TRT8ytdq+++LMrhvlMUy5uQdtG aMTQ== 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 c67si2237435qkj.217.2018.02.08.01.20.39; Thu, 08 Feb 2018 01:20:39 -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 152D560855; Thu, 8 Feb 2018 09:20:39 +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 8414B608A9; Thu, 8 Feb 2018 09:20:21 +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 9D7AD60855; Thu, 8 Feb 2018 09:20:16 +0000 (UTC) Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by lists.linaro.org (Postfix) with ESMTPS id 0472B617FA for ; Thu, 8 Feb 2018 09:20:05 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id a11so1407462pgu.13 for ; Thu, 08 Feb 2018 01:20:04 -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=fHaj4wkYV8BjEnqg12DcEvIOxWJO+ubQrid4i/h0BBLFEL19dmYeXQMXg5go3SJ473 JKpFAM2XT3SL+vMObWowjRk1B2vZ3tQwfT5h7sJ7+o8h1YTwGfBR6ibSzLre6gb8CDSF AiG9YbtIKjBCDP0vw7EROzCKaiAfQJ4GlAR0UESuwJlq570gh0/sgSjHHRVIVFCBOip7 EYaf8mQ61SU6w2/wYbYzDogupc7JR96Z8W5Ok77WVYSV05v0y6sxiSsLtiSVeSDN52yT /ZrV2glF3CHte9FCryBFAr23DjGtmTi7hH1AwfOI8cXANd2eJ/1o8O3BTbyBTDYXz/pd BZLA== X-Gm-Message-State: APf1xPAMIX//bTGYCOWhcIvwPYPjW8mkJSYYJRRSSlP6senTdpZnbTso drc2SHylTVqmopvHnLQnKxtbTAq8NSYFFA== X-Received: by 10.98.33.82 with SMTP id h79mr8733623pfh.139.1518081604002; Thu, 08 Feb 2018 01:20:04 -0800 (PST) Received: from localhost.localdomain ([64.64.108.77]) by smtp.gmail.com with ESMTPSA id 65sm9373352pfm.152.2018.02.08.01.19.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Feb 2018 01:20:03 -0800 (PST) From: Haojian Zhuang To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org Date: Thu, 8 Feb 2018 17:19:39 +0800 Message-Id: <1518081579-2195-3-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518081579-2195-1-git-send-email-haojian.zhuang@linaro.org> References: <1518081579-2195-1-git-send-email-haojian.zhuang@linaro.org> Subject: [Linaro-uefi] [PATCH v2 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