From patchwork Fri Mar 2 03:49:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 130439 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp828766lja; Thu, 1 Mar 2018 19:50:41 -0800 (PST) X-Google-Smtp-Source: AG47ELuaLuXeAkUXCw9+5x/uB30m6NPFB0vJbfN6ItYZcBCfyTihI6C/DqAkNrsFUrlrl9gU20xK X-Received: by 10.237.63.28 with SMTP id p28mr6547483qtf.104.1519962640946; Thu, 01 Mar 2018 19:50:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519962640; cv=none; d=google.com; s=arc-20160816; b=c4PGyeiRQA1T113H7o8+kYIapqtBBYGGW65G243flkDRAm9viEkoKMbyDIJwifKAWU XOr8mSxhwihD7gdCPr9/syVxV2CpFxAwRRMIAYwyt3EyCYl9SQ+2kHgVmoC9b3t7nJ6l nwXnzcHlQLD3jGzZ1jIQW8w0DpR83oT2OKpKfpgWm4PY3mCA6Q2WDydZWUcm0oQwnOJG SMPMo2oLvvH7r3nxkkBugTe7NBaZq4hSus8ircXf0cGpewKpIYGchprH3pGEi2nPGiJr 2Uil39u4b4AzBokFcdJrYPAtwfvAxkv7BxqPmHCVTXKg5JnxyySsjmTdo16Vf+1SLn8Z d9ew== 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:cc:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=nkxUrZZlBeia0CSvwfRqeDX72THAQwUcndIzN1qO9ao=; b=xj4mEferjd8tvDjk9guwI+0XuydJTzD4xP9kZydhBQpWH/N44/p0qj0tHp9/bKV8CB he51ZVmCGznsysWpIzHmrbmGrQMvjS4dLEJ9fr507aX/k/SEZXG19eJ84khcXexuDQ9z wOvbKCPfEnMSOblI+eIC75FjswBaiDiM75AAjmUtLjKgLMIO8abMlgBEQSm8Ckn1+7o4 /YrDOxqSVC5Yw+9ZNq4SWxrVPWb3IOnZcW2//xyC/HUMgBIpTzPy2M5poBig9o5p1fHC lhjzqt6TEB1KhJeP5tfxtqfVotGlhslEpaQZ5EY/1udkEMHI7OkXyJiIr1RpL1ZzPcT2 dWmQ== 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 y80si5861900qkg.84.2018.03.01.19.50.40; Thu, 01 Mar 2018 19:50:40 -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 7E9C660721; Fri, 2 Mar 2018 03:50:40 +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 5FB0F617D5; Fri, 2 Mar 2018 03:50: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 929A4617D5; Fri, 2 Mar 2018 03:50:17 +0000 (UTC) Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by lists.linaro.org (Postfix) with ESMTPS id 5FAEE60698 for ; Fri, 2 Mar 2018 03:50:12 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id x7so687511wmc.0 for ; Thu, 01 Mar 2018 19:50:12 -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=aLhZOXd0hJUlzbXyAYDSBtSFYUr+vLvE1ITaUP9Vo6E=; b=AQpGzha8gqtlCUMJS/iYD5asLPgqTPuIzbdBm8ifNIXbQrEve7TPW1nJT2pvv/ym1B naMsNuJVLWNrMBPZ0yuNU+v7snDZW0S3851ml0vFP9XXY1AlsAA2ZpyXWkESCN234iB2 n6pgVu5uAYliA5FZMkpNF8SLFB3zPEQFVnu/cyPjN96Q8Ceyqrm6zVHZ2YSU+JJjKbLq ueNDS9YZ57cIQhqNNBjGjVGhn/c2nujAO7TXbZ7EVw1Ev0RsQ8blQDws/H88pjse2HdK V/s3k2MnAjFcfGapKLJ+adMq2FF2vxLtvqQX8PPSwggtsuk2+BUrTrHk9UidPuAHwQmF LUOQ== X-Gm-Message-State: AElRT7FzDEePpJ+vEAjn/CLez181emurp3aG7ebwQkpsAnpf2JIyyarS 5TBJ+u8w4emvBapcgg73G2Cs8PcQ X-Received: by 10.28.22.145 with SMTP id 139mr313232wmw.56.1519962611486; Thu, 01 Mar 2018 19:50:11 -0800 (PST) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id e15sm567395wmd.26.2018.03.01.19.50.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 19:50:10 -0800 (PST) From: Victor Chong To: leif.lindholm@linaro.org Date: Fri, 2 Mar 2018 03:49:44 +0000 Message-Id: <20180302034946.30580-2-victor.chong@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180302034946.30580-1-victor.chong@linaro.org> References: <20180302034946.30580-1-victor.chong@linaro.org> Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH v2 1/3] atf, opteed: Support BL32_EXTRA1 and BL32_EXTRA2 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" Previously, we were using a 'headless' version of optee_os binary for hikey and hikey960. With BL32_EXTRA1 and BL32_EXTRA2, we now enable optee_os header parsing to allow dynamic runtime support of either a 64- or 32-bit optee_os builds, and also the pager feature. Signed-off-by: Victor Chong --- atf-build.sh | 14 ++++++++++++-- opteed-build.sh | 4 ++++ 2 files changed, 16 insertions(+), 2 deletions(-) -- 2.15.1 diff --git a/atf-build.sh b/atf-build.sh index 5e03569..fb80ad0 100755 --- a/atf-build.sh +++ b/atf-build.sh @@ -67,7 +67,7 @@ function build_platform echo "PLATFORM_BUILDFLAGS=$PLATFORM_BUILDFLAGS" fi - unset BL30 BL31 BL32 BL33 + unset BL30 BL31 BL32 BL32_EXTRA1 BL32_EXTRA2 BL33 BL30="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o scp_bin`" if [ $ATF_BUILDVER -gt 1 ]; then unset SCP_BL2 @@ -100,9 +100,17 @@ function build_platform SPD="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o atf_spd`" TOS_BIN="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin`" + TOS_BIN_EXTRA1="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin_extra1`" + TOS_BIN_EXTRA2="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin_extra2`" if [ X"$TOS_BIN" != X"" ]; then BL32=$WORKSPACE/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/$TOS_BIN fi + if [ X"$TOS_BIN_EXTRA1" != X"" ]; then + BL32_EXTRA1=$WORKSPACE/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/$TOS_BIN_EXTRA1 + fi + if [ X"$TOS_BIN_EXTRA2" != X"" ]; then + BL32_EXTRA2=$WORKSPACE/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/$TOS_BIN_EXTRA2 + fi if [ X"$SPD" != X"" ] && [ X"$BL32" != X"" ]; then # @@ -149,7 +157,7 @@ function build_platform ;; esac - export BL30 BL31 BL32 BL33 + export BL30 BL31 BL32 BL32_EXTRA1 BL32_EXTRA2 BL33 echo "BL30=$BL30" if [ $ATF_BUILDVER -gt 1 ] && [ X"$BL30" != X"" ]; then @@ -158,6 +166,8 @@ function build_platform fi echo "BL31=$BL31" echo "BL32=$BL32" + echo "BL32_EXTRA1=$BL32_EXTRA1" + echo "BL32_EXTRA2=$BL32_EXTRA2" echo "BL33=$BL33" echo "$SPD_OPTION" echo "BUILD_TYPE=$BUILD_TYPE" diff --git a/opteed-build.sh b/opteed-build.sh index 4de48d3..008e033 100755 --- a/opteed-build.sh +++ b/opteed-build.sh @@ -103,10 +103,14 @@ function build_platform # Copy resulting images to UEFI image dir # TOS_BIN="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin`" + TOS_BIN_EXTRA1="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin_extra1`" + TOS_BIN_EXTRA2="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_bin_extra2`" if [ $VERBOSE -eq 1 ]; then echo "Copying '$TOS_BIN' to '$EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/'" fi cp -a out/arm-plat-"$TOS_PLATFORM"/core/"$TOS_BIN" "$EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/" + cp -a out/arm-plat-"$TOS_PLATFORM"/core/"$TOS_BIN_EXTRA1" "$EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/" + cp -a out/arm-plat-"$TOS_PLATFORM"/core/"$TOS_BIN_EXTRA2" "$EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/" else return 1 fi From patchwork Fri Mar 2 03:49:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 130438 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp828599lja; Thu, 1 Mar 2018 19:50:24 -0800 (PST) X-Google-Smtp-Source: AG47ELuEJzE+sXeXqA5Ta25gO/BHxROaAXEFnKFcCqqEdjNmLukddGPFVIgMrxPibVH9rRijF3rQ X-Received: by 10.55.53.139 with SMTP id c133mr6317943qka.229.1519962624500; Thu, 01 Mar 2018 19:50:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519962624; cv=none; d=google.com; s=arc-20160816; b=ycQC6t62S/jRVJCfL96ULOqg+7032oq4qC5O2okkGBXlK3fO49fVu0+csT/qXHjf/r YX918QQBMf9z1ZGiVzQAOCS0zw5Rx+QQvhI/RG/aZkIG2Frbgcca0PNdoJpS8pCUQFzw ATk/YpZ+PsA4z4Uys9+c8ryhqCnuQyd3w+phdAeWhhVweR67Aj6GmtQXQNowdkfN7kOj tbNMSuf90d+Zb65FJ5OUYYljMYTf/VzxXmmjTr0tfCAoRBbXZoAKhI9egcClDTHL6Tqr zXyllaaGoIZfllHB1V3x4TkPXoMFve0SPA9QpsWRrKPS/fwbNM0iQJWXy8/ctIUmbv2P v2pA== 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:cc:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=SqR4xHyAOEj7ElvUCW3vsNAkHFpISn+1NfnKg31QDc8=; b=a0wM6xuKpoalg4O5AHJPbDIIdDm8cs9RA680sWZZT/Gek8tioYidACwJAGIsFDwui4 D2XHmvRdjBRNddTp0DsrYs4tpqPzZT8ZX3CppW1ILOXmPtSpjaGNT7N/mDHWqqbHcBKP B5iE1KkE45GHIiSV5z07RkCnrQ2UZ0cxKKKce3q6m+K0T2at4xk0Hhz/wuIKFOXdw/Jn oplkWNW/W1Y7e3bsOVZzuEvXGh3KOmAEGk7qukbyBtSyjyTVF0tsvXVV9vzS7G3Ck66v mGvTg0vj1TgUaqy9y+0ovvrG0bWPu8yaFiQYXNSWo/yuEC/xqfq2s1GQ0VPGi/fPMW8d U1cA== 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 s43si774103qta.247.2018.03.01.19.50.24; Thu, 01 Mar 2018 19:50:24 -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 3376E617E4; Fri, 2 Mar 2018 03:50:24 +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 32016617D0; Fri, 2 Mar 2018 03:50:19 +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 32D94608C1; Fri, 2 Mar 2018 03:50:17 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.linaro.org (Postfix) with ESMTPS id 1FDAE608C1 for ; Fri, 2 Mar 2018 03:50:15 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id q83so652003wme.5 for ; Thu, 01 Mar 2018 19:50:15 -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=Ey7uTosT0CspPL4TC3y3XivsAWFjrHFgDQojpEN1Dz8=; b=R8U6yXmOQHk6Cr/4QXp/bctDFBEua/R0RgBmPLCU5pEmJ50unN2D2KAC080zULm0d2 m0K2tAoF5V3LFLJc5vWPrhoVBl8H8xDsDjVh66IYKG/BtKf+IS0NERyuDNvzOOx/a6oO ElD8JdP+jIKWs5WQGs6GGvlmyW6GyotbbwLjrsgB9DWNa0XgRdjdteCTdGPQDT51ehsB /2afYhs9lxGHDG9vlDRpDBobSL3ID4CZ5xVREbaL+oua0KA9mL1ast+dfw4SYJhOZp79 nlXSA3IwVuHsbqh40a+CmF/GczBd6CwCt/BBpXIMLJlGNczgfTCw2BaR6a/XYOMD3pac QtRw== X-Gm-Message-State: AElRT7GrEKdWAEx5FIRAW2XQMJlBtuUuVMZ2YFhQOVuwlFgj7THDYVwj qiPTyloaD/v/B5SF06RfsJGPkpBKptjtxg== X-Received: by 10.28.195.87 with SMTP id t84mr285782wmf.118.1519962614122; Thu, 01 Mar 2018 19:50:14 -0800 (PST) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id e15sm567395wmd.26.2018.03.01.19.50.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 19:50:13 -0800 (PST) From: Victor Chong To: leif.lindholm@linaro.org Date: Fri, 2 Mar 2018 03:49:45 +0000 Message-Id: <20180302034946.30580-3-victor.chong@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180302034946.30580-1-victor.chong@linaro.org> References: <20180302034946.30580-1-victor.chong@linaro.org> Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH v2 2/3] edk2-platforms.config: hikey*: Set TOS_BIN_EXTRA{1, 2} 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" Previously, we were using a 'headless' version of optee_os binary for hikey and hikey960. With BL32_EXTRA1 and BL32_EXTRA2, we now enable optee_os header parsing to allow dynamic runtime support of either a 64- or 32-bit optee_os builds, and also the pager feature. Signed-off-by: Victor Chong --- edk2-platforms.config | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) -- 2.15.1 diff --git a/edk2-platforms.config b/edk2-platforms.config index 15c68c8..8d63ed1 100644 --- a/edk2-platforms.config +++ b/edk2-platforms.config @@ -39,6 +39,8 @@ # different from UEFI platform name. # - SCP_BIN SCP image to pass to ARM Trusted Firmware. # - TOS_BIN Trusted OS image to pass to ARM Trusted Firmware. +# - TOS_BIN_EXTRA1 First extra Trusted OS image +# - TOS_BIN_EXTRA2 Second extra Trusted OS image # The path is relative to # $EDK2_DIR/Build/$PLATFORM_IMAGE_DIR/$BUILD_PROFILE/FV/. # To actually build the Trusted OS, you must also set @@ -111,7 +113,9 @@ 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_BIN=tee-header_v2.bin +TOS_BIN_EXTRA1=tee-pager_v2.bin +TOS_BIN_EXTRA2=tee-pageable_v2.bin TOS_PLATFORM_FLAVOR=hikey BUILD_TOS=yes # Uncomment this to use UART0 as the EDK2 console @@ -129,7 +133,9 @@ UEFI_BIN=BL33_AP_UEFI.fd UEFI_IMAGE_DIR=HiKey960 BUILD_ATF=yes ATF_SPD=opteed -TOS_BIN=tee-pager.bin +TOS_BIN=tee-header_v2.bin +TOS_BIN_EXTRA1=tee-pager_v2.bin +TOS_BIN_EXTRA2=tee-pageable_v2.bin TOS_PLATFORM=hikey TOS_PLATFORM_FLAVOR=hikey960 BUILD_TOS=yes From patchwork Fri Mar 2 03:49:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 130440 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp828936lja; Thu, 1 Mar 2018 19:50:58 -0800 (PST) X-Google-Smtp-Source: AG47ELuQ9INO84cKpahv9hLaO/IukBaIxkJHsSBN/2k5KEyJQM527ultmTHbW21gn5xepdNU9Otl X-Received: by 10.200.49.130 with SMTP id h2mr6797523qte.281.1519962657949; Thu, 01 Mar 2018 19:50:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519962657; cv=none; d=google.com; s=arc-20160816; b=DNxvOIrNCJOH9qT2XFThmF7GfxkWvUdCEO28kFFd3moAenU0aPk03o9Mx5aSabVZ6B nMbkPShpRjfoYVQLj0Q8SLx0UotlkqAXlbsyINGBN5f1hFZR2fQk/ZJjxPLiEiDMJIcI 6U/fn6mVVwKrzTBtAIi7SRKEM3LxQoy8sPUle1D5O8FKF2TU0BK9L5yDYBY+nmfl2LXH CnpHrwK7lmQnhbN8C0SiH8mN9od/083GaGtMXukIhY1pEgGHpoB3XsWmMKEfhlAAd+EO E/BnXSh5NsjRW0ZAL2ho1LuyKHJdFUh5cov7oDs3i+8aeWuwE/vQTMFzwZ6ukLzCidLd VeCg== 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:cc:references:in-reply-to:message-id :date:to:from:delivered-to:arc-authentication-results; bh=IV88GQkMItc+MQR472erVqacwq/OHzrSFsj9lFOJyOk=; b=NMmopx0lpiZ4/Cdzhzlu6EeMg945a+u+M4r0lpiMhz4WCGnI1e7DMm5STX59FpABCo CF6UzjQdDxL8e+JEhNPDL5pWrnqD9m7uLwuzXUoQrXMIKoTeX/AF09Vx43J08xL6FfXz wD3yG9v+6rkrd8AZBOWOY+oUVNZplTkEZKcY4ZOA/evPZZ7gVeHO4WMe1B7X3JHyrW+D rNClvEmqo8ES13wVC0tLxtRtOT2K9oQ+co0u3TAYbqAL6lZxXBtWznmIM7Q54swe0WeM bebWAPTXt6hvzeT9hLyZHSOCue/D39Y8EID3dLvx7n/AOy900Z1ckSAU9Kziq3GoqHsF /eQA== 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 b1si4995648qtc.36.2018.03.01.19.50.57; Thu, 01 Mar 2018 19:50:57 -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 9A9CC610A7; Fri, 2 Mar 2018 03:50:57 +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_H2 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 A462B617D7; Fri, 2 Mar 2018 03:50:23 +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 9810B617D1; Fri, 2 Mar 2018 03:50:18 +0000 (UTC) Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by lists.linaro.org (Postfix) with ESMTPS id 0535F617D0 for ; Fri, 2 Mar 2018 03:50:17 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id v65so8684058wrc.11 for ; Thu, 01 Mar 2018 19:50:16 -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=0BwGT46oOW3Jd/HdfLaFL41/JbgLg043lNwUdHoQFWQ=; b=FSLmBZtwH+rBQ/5IJ9NnU5bz4kf8FfmF2cU072Tzbenjvwk+ZtctwZaUQ2TLTH2GZs 34ihz5fvzZGt8AL7stXXXgUMaoCshpoyAWdvngEza4crTWBKBLV9S3j8zehJ1yDrd3Ik uZfW4FGgH+vIQhrkWnStjHs1HQBG4kMJjftSUJQBGMMM/AWOy31f5wH4lacfzT4VsYfA iwX6opC9e401+M7AJKa1KE11fie1RFFei50x0u8j7whvgIp8BVd3Y20KmCmMQMamenxn 6kuLzgXNC885zdUH1BZWxSciar2v36qLBS5ChVqzvC0fzxak07X96CArcZvwM3xPz8xw pR+Q== X-Gm-Message-State: APf1xPBvejMsJbFgbAgOKyij2SZo7lL4MFYdyEEn+FH0wSI1nb8AERNG RZ+5xhdcrZzZ/oR8hLAAOjIrKcrA X-Received: by 10.223.179.17 with SMTP id j17mr3509872wrd.223.1519962616201; Thu, 01 Mar 2018 19:50:16 -0800 (PST) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id e15sm567395wmd.26.2018.03.01.19.50.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Mar 2018 19:50:15 -0800 (PST) From: Victor Chong To: leif.lindholm@linaro.org Date: Fri, 2 Mar 2018 03:49:46 +0000 Message-Id: <20180302034946.30580-4-victor.chong@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180302034946.30580-1-victor.chong@linaro.org> References: <20180302034946.30580-1-victor.chong@linaro.org> Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH v2 3/3] edk2-platforms.config: hikey960: Add UART5 option 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 comment to allow use of UART5 in OP-TEE Signed-off-by: Victor Chong --- edk2-platforms.config | 2 ++ 1 file changed, 2 insertions(+) -- 2.15.1 diff --git a/edk2-platforms.config b/edk2-platforms.config index 8d63ed1..f4578e8 100644 --- a/edk2-platforms.config +++ b/edk2-platforms.config @@ -142,6 +142,8 @@ 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 +# Uncomment this to use UART5 as the OP-TEE Trusted OS console +#TOS_BUILDFLAGS=CFG_CONSOLE_UART=5 [d02] LONGNAME=Hisilicon D02