From patchwork Mon Mar 19 06:42:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 132015 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2370955ljb; Sun, 18 Mar 2018 23:43:47 -0700 (PDT) X-Google-Smtp-Source: AG47ELvD1fn03DxjqzYgRVSAVdKyyN5RwHUvVrhtpF40Im5M37iVKDz9m7y5AXQu2kfDYBakOaqx X-Received: by 10.55.114.197 with SMTP id n188mr15349654qkc.254.1521441827270; Sun, 18 Mar 2018 23:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521441827; cv=none; d=google.com; s=arc-20160816; b=pqx7DtQFIaiouy0L1Oi1vkH4Y405XSX0KOzBXDK9OIKivYgKy/82ZF8n8LsrZKNang 1Dwo4nb1Jvzm+ZZd0CSk1REc9sZ+T/9JNcDTghDhBxrNOTotQHhM+p3bL6GFp24/qEzG 0e23ov/6DovBduRT+6M+50ipTWCSh+Y1cJAIbiEjoUVU5wIMDRhoO5xwhCTnwc5wozIn cyrsYx/SF4ReAjvY3yUqrTFrJCVPeobRTLjUM2vyBOgkSsHiSIxWzKpsWfEz7dlw4Th4 lnXgzqYjV/VQSfj3lFVDu6AIafWcN5qD347bq3xYDafT0PUKsg350zr9005p4yooYf4J YDEQ== 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=+GbYFseKqYl/i2SAByGWyw40HKpgyYVbTw5JNLFHW80=; b=yyEWTJIO2uW68SXixzjvEuAatuKWLYfxgL/nlfA6ySEY5YFGlKO6j+oaVYi5TYZj82 C1pcrnr49LBBQ0k7KwOG6nkTH+rJByJzYjlkIGiyrDvnku12td9MuLnXsFxaknXqMBvA ehz8H88Dumfh8cM+LGO00fm3VYMxACD4JgZ0LM7+MDg9HpXL+YW3KEeD8ihTprhdoZF0 YFh/hqmzLDuyUTXXSrSiylyUCFZcbgPUA6UNE18ggCI/v42HY7gXI3e24aIVmvkeTM5A eNju3jjdH/JSLlMfoIEpUMWTGg84WlDi8OYgdL3kAhc/mHMHUdOJOWV7GBclEK7ThVfJ pnbg== 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 49si14261744qtq.25.2018.03.18.23.43.47; Sun, 18 Mar 2018 23:43:47 -0700 (PDT) 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 EEEBE642BA; Mon, 19 Mar 2018 06:43:46 +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 85BDD64275; Mon, 19 Mar 2018 06:43:41 +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 A942F64275; Mon, 19 Mar 2018 06:43:35 +0000 (UTC) Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by lists.linaro.org (Postfix) with ESMTPS id C096A64275 for ; Mon, 19 Mar 2018 06:43:25 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id z12so17395070wrg.4 for ; Sun, 18 Mar 2018 23:43:25 -0700 (PDT) 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=nHb+nAsAYLQjXqAN88oswhEEqmZ++6l6N9RnRSW9YyU=; b=joFxUVdWjNIa8r46U/8XxLKrsySBImMPjAlgJlBk87ZzyabEi39eUXM+dbZ0fzzCv6 Gxc03QYp7s0/ui0tY0wgMhj+ckJ+k0vXjJMobfbaYqySMXjn5K3FgPYLlegXfVn3d1hR YUtTZOMtb7juXBsBi699bBWUiT8Xhf0Qc/3R7mZ4jf13I1x/SOhTXsuwfE/eAnB0W+To hj9gpiid7LPDKxLg2eaTpZDlWa13XZriBT0B2dqQcsVR58b07YyvpUUPLiuich/EoDrd 0pGCUXKaIkiBYtnCP7TGKCWmkpV3AWxEdYX/2INPiNdOOcuH3PeFOgPeyU7GvLG2BecZ NZ5Q== X-Gm-Message-State: AElRT7EMqcx84YMVUv2ELtCOcqpDtPE0wJeGBe7sT6ZlIOhu65drkQ24 oqEUfwLF9Vx2g+FkDU8JudjX3bp9 X-Received: by 10.223.196.74 with SMTP id a10mr3866237wrg.190.1521441804915; Sun, 18 Mar 2018 23:43:24 -0700 (PDT) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id m191sm12558091wma.21.2018.03.18.23.43.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Mar 2018 23:43:23 -0700 (PDT) From: Victor Chong To: leif.lindholm@linaro.org Date: Mon, 19 Mar 2018 06:42:40 +0000 Message-Id: <20180319064244.24344-2-victor.chong@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319064244.24344-1-victor.chong@linaro.org> References: <20180319064244.24344-1-victor.chong@linaro.org> Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH 1/5] platforms.config: hikey: Change default TOS_BIN 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" Now that most, if not all, Linaro builds have reverted to using upstream ATF instead of one of the 96boards's forks, change the default TOS_BIN value to match. Signed-off-by: Victor Chong --- platforms.config | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/platforms.config b/platforms.config index 8d8c224..3d501cf 100644 --- a/platforms.config +++ b/platforms.config @@ -196,9 +196,11 @@ PACKAGES_PATH=OpenPlatformPkg/Platforms/AMD/Styx/Binary UEFI_BIN=STYX_ROM.fd UEFI_IMAGE_DIR=Cello -# NOTE: If using upstream ATF, i.e. -# https://github.com/ARM-software/arm-trusted-firmware -# please set TOS_BIN=tee-pager.bin +# NOTE: If using 96board's forks of ATF, i.e. +# https://github.com/96boards-hikey/arm-trusted-firmware +# or +# https://github.com/96boards/arm-trusted-firmware +# please set TOS_BIN=tee.bin [hikey] LONGNAME=CircuitCo HiKey DSC=OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKey.dsc @@ -207,7 +209,7 @@ UEFI_BIN=BL33_AP_UEFI.fd UEFI_IMAGE_DIR=HiKey BUILD_ATF=yes ATF_SPD=opteed -TOS_BIN=tee.bin +TOS_BIN=tee-pager.bin TOS_PLATFORM_FLAVOR=hikey BUILD_TOS=yes SCP_BIN=OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/mcuimage.bin From patchwork Mon Mar 19 06:42:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 132019 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2371729ljb; Sun, 18 Mar 2018 23:44:50 -0700 (PDT) X-Google-Smtp-Source: AG47ELuzo+p3Q2uZXP0LyzmE4/U7vo4ZdXp5672Rws5xdjtfqgW0ovbpEDfOLdklai2XG+CuUFNS X-Received: by 10.55.22.206 with SMTP id 75mr15447689qkw.11.1521441889933; Sun, 18 Mar 2018 23:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521441889; cv=none; d=google.com; s=arc-20160816; b=CnX9OZnXGbfWLDNc4/es+VpIlljtb6Tsy9F6QRnG+xBrchXGvqYTH1c2g8huI8Ppys Fr7YQwPpMeZ6lB4KOo0voBbNpuI3zHcIkKSRbl51CBUAFo5j33Rlb5Pzk2psic7RFLZx PlveH/fBunSelWt3uGiMjRzYyS42z5T4okGxi5EaWYYneiOlQBehB9k8T1Jc9peR/0SN 1CsFlJ2vE/uAQt1ALkr77z8V18w7dShZEr1FpcBP1BZ/qlpnk+gytIVWyh0vjhWL1Pg4 5rjsmlm5kfyK3V6LF6BYZTJVUpmxwf/hRmSL/7dw7y4dNgToZ+HDT9WFW84XyYq7kPwG Xl4A== 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=MtbKkxp+jHl1qZR+BvF/BleOW9djkuJazfYXPzLSFUg=; b=DZDAcJh2V3wx4c2Xy0Dr3oRln3+fQ6oWI/vjJNtsMLnci//ugQcHJVWv6RHDegQb91 4DQXVFJ0+76k/q0JF40MXHmuJRa9463FHTvgJXcKLaCkaxES/+qi7L10o6nqyEUe27yB lfpcfGwF/3ELGH6mZg5unI185Wfg3eWrGSDIKjyRd320FqYXlgCMMqXGSJmLGCjLRu9+ wo5QchFeaBzh3DZJJP1ZZgHMKM6MaUiQ7vihOGHCMPMb8xEMBRkyPcrs3XS31weyvnMD Wt2YBRCBi8mssaafHZW3Dp/CCA+o564zVXIjRgEV0pzYnLHifVbleU4CBuPARsFbsD/K 6ztw== 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 f96si2464712qkh.219.2018.03.18.23.44.49; Sun, 18 Mar 2018 23:44:49 -0700 (PDT) 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 97FA3642B0; Mon, 19 Mar 2018 06:44:49 +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 9236E6068A; Mon, 19 Mar 2018 06:43:47 +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 832AB642AE; Mon, 19 Mar 2018 06:43:40 +0000 (UTC) Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by lists.linaro.org (Postfix) with ESMTPS id E4D3B64274 for ; Mon, 19 Mar 2018 06:43:27 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id z12so17395114wrg.4 for ; Sun, 18 Mar 2018 23:43:27 -0700 (PDT) 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=n0EeDgxlaIZ9th6CiDC5uI6v5bz/UyN+E0EdigtuoKE=; b=BwOW5YQXD0uIScnGqyn1+uKw4gE7ViR4CPJSMusL1cJD8Rgm6i0jMPPS12pkJ0zQJl y7MGM3zlju+snfB6ZXQoc0JZcfOYjkQ6MG6TXWQwaslUllS1JM26A+hRJicJKp+sbs45 osj5xAOMd42W3GLQfqu8gu5y5V3xw95ZG+4gPVhXsWWKqqhGA72Oj7+g+VGYgF44pNqW cQ+YdbahC0A0x3UPAqiuWco+Qy6L6eDfBdMyX1VTXMXwIhVb3I4POpKG4TBkd/XnFdE9 c5adFCNrA3CPBDXYNukN6JbcuPTqw8ukDHx/jsno2Nto9Fp8kRXIHB9/wbk3ytfaPAz1 GtUw== X-Gm-Message-State: AElRT7EjUOXkPUShZPLE2B3eCDOuAg7Sff/r1NJ99SJd97w2bj1DmnKs tHQ0uVVvVhpMJo+4WIgHBuKngQfW X-Received: by 10.223.134.121 with SMTP id 54mr7977480wrw.59.1521441807110; Sun, 18 Mar 2018 23:43:27 -0700 (PDT) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id m191sm12558091wma.21.2018.03.18.23.43.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Mar 2018 23:43:26 -0700 (PDT) From: Victor Chong To: leif.lindholm@linaro.org Date: Mon, 19 Mar 2018 06:42:41 +0000 Message-Id: <20180319064244.24344-3-victor.chong@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319064244.24344-1-victor.chong@linaro.org> References: <20180319064244.24344-1-victor.chong@linaro.org> Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH 2/5] opteed-build.sh: Remove copy of images to UEFI dir 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" The copy was originally mirrored after atf-build.sh but in restrospect TOS_BIN doesn't really have to be copied since it's already embedded in fip.bin and not directly required for programming the platform. Signed-off-by: Victor Chong --- opteed-build.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/opteed-build.sh b/opteed-build.sh index 4de48d3..be16913 100755 --- a/opteed-build.sh +++ b/opteed-build.sh @@ -103,10 +103,6 @@ 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`" - 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/" else return 1 fi From patchwork Mon Mar 19 06:42:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 132018 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2371588ljb; Sun, 18 Mar 2018 23:44:37 -0700 (PDT) X-Google-Smtp-Source: AG47ELtyV1yPouu322y1YeqjtufoplaHbOAJ3eKwAEsFYoDVYj/yCf/5Ka8/ZUBX274OFtyYJ/i0 X-Received: by 10.200.112.19 with SMTP id x19mr16706822qtm.85.1521441877352; Sun, 18 Mar 2018 23:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521441877; cv=none; d=google.com; s=arc-20160816; b=1EU2hvJzc55YvmwbkMRCA6yxBL/ApFwtfgKeQMuy23qWGUf61bPqGiJuWhMJ0ErvAv anLVHWRnNaarw/RlQKRvjOOQZkF7No7msjIT1uTvA6F5erlb5VGaQGNURHH3R5cT6ATT 7q1o+WD/LfbD/jGkY88mez8tiYgHsy9LTG9YUNenZ0n0CWtO4j6KFp1T48iwuUwbyk6I IuS9t/em+neLJ73mR16xJ6xVeTsZf873ACUJ5BB93Nn8ilTmFSIXS51aL4IbqpCXWebB DkgPV95tqXDBsALhnK5O/aNBo8An11Ms4diDsfr1rGCd7k40zhRGxyUyB59lu8iy6S3G H0AA== 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=607RhRyEGqIlcNCfq/ta+owCOJcfrf5z/EG4sbGGurk=; b=ZruSVShr695A+CMeqKzlrwiEXcmlbdbM35QPV4+i49S9xkkPn9JbBizMyyALAAzUVW PrhNAWl6Z3MrdnvZTbut7mAoJzfr1L7i6Z4KjsBX/8zUumXN8DN+qcoBsQZ0KHjVGlFp Dd+jBfB9p8sht6HYeQgB3fiHMMk9F5UQb8xm82OiObfbmYpyYpI8+hEOGD8micUIntoI Fzezb4WdUkV219KbmDdeGfpLdE/So0zZRwaNELtp+g/p2FO8lUqgjm+L6c0vD+a3obcL Cl5x6EEGutuH/n65vbEGOZQaIVOIxZqkqmW0a0k6/ld62vPo3+WGkZLb+tbSY2Kum60r bv8g== 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 a14si238822qtj.478.2018.03.18.23.44.37; Sun, 18 Mar 2018 23:44:37 -0700 (PDT) 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 06135642B4; Mon, 19 Mar 2018 06:44:37 +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 286BD642BB; Mon, 19 Mar 2018 06:43:46 +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 F2095642B0; Mon, 19 Mar 2018 06:43:37 +0000 (UTC) Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by lists.linaro.org (Postfix) with ESMTPS id 34503642B1 for ; Mon, 19 Mar 2018 06:43:29 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id o8so17402875wra.1 for ; Sun, 18 Mar 2018 23:43:29 -0700 (PDT) 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=cWorO9NPSAYR8WcShE/wZbEc1ndKWme8+pYjjX0kZhw=; b=BqbBxfz/0/qlMPuQ8mWix2F47WRAbySYw1uGjFPQhFc4nIKVyUx7VQUk3WBWlLuc5o EmJ3EchjXTibQ+nDaihhR4DBYn5Jbcfp0wGeISgHXfVkhEXuLoSF4UIE6RYoZbUJAfAp 8honZ85OT78tSkP+NNx/QuED+hBdgEga0d3wAB5H/PjlCw1mSy7vOgX1YAf2JryccLpY x/fmr3j29WowWRgERO+B8OuroqJNrAUhNuDCaP6gaqnXSOC/cUxyOkS+A1nIZ98uR8Xs QM7XZCsm8WKBspwuwW4FEALUDeU/R5p29PAigbjJtg5eOZvXov+ujnGgBKhMqrnLhWAD rl8Q== X-Gm-Message-State: AElRT7Fs3bXGNRS+VzsSwY2Jps+Ha4RHkCy1ISdqLdEy+pWNQh1PIjTB UIGcO+bxg72GSelodYtzYqe4HEiD X-Received: by 10.223.200.138 with SMTP id k10mr4707080wrh.282.1521441808313; Sun, 18 Mar 2018 23:43:28 -0700 (PDT) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id m191sm12558091wma.21.2018.03.18.23.43.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Mar 2018 23:43:27 -0700 (PDT) From: Victor Chong To: leif.lindholm@linaro.org Date: Mon, 19 Mar 2018 06:42:42 +0000 Message-Id: <20180319064244.24344-4-victor.chong@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319064244.24344-1-victor.chong@linaro.org> References: <20180319064244.24344-1-victor.chong@linaro.org> Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH 3/5] 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 | 2 ++ 2 files changed, 14 insertions(+), 2 deletions(-) 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 be16913..40fb844 100755 --- a/opteed-build.sh +++ b/opteed-build.sh @@ -103,6 +103,8 @@ 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`" else return 1 fi From patchwork Mon Mar 19 06:42:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Chong X-Patchwork-Id: 132016 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2371213ljb; Sun, 18 Mar 2018 23:44:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELuTaOt4N8OTC4M8t15cksQqMlVU85783Kb/udH0fNvm1iPiQ3f5AjjoEtHy4d9Eu/TZl4oE X-Received: by 10.55.188.196 with SMTP id m187mr5389826qkf.71.1521441847489; Sun, 18 Mar 2018 23:44:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521441847; cv=none; d=google.com; s=arc-20160816; b=mu3MloDwvU34YAsQ47DeozN+reCP/Wz0Les7kYRPL7Q8tpxSlfhaakcTCtvaOKxXVq UCEWZwhpRULr/m6p80l9E6wR7k3WuNnt7TB6UhNw2QeU/atPUy9qiccDgsq1fYKlvaGm 7MoFkCizUQ2I0tvjp1Wvvv/PlKDRzyLF52/sqe4FjHe9Qc6Xmg1atW5EAar83LGz84+T DmvE5EyzQ/S2kQOXF7/sFa6+kIHnMRNfgvUmBXUw2O3f1bedkztYOz7N1KdShSoxnFF/ /Olq/K1tqHp7CaNhZ28loUGlbPkd1SneX7fE0ztJjzEuMcds02JAvZL7M7S7Af4RWSmw GflQ== 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=T16DeITMEI3YJyShsdBoSIsHEyaP5vW8IM+7xR569/4=; b=PHZ0cjL9LCTxrQUD+GF/F+E54WGnQZ5IZJgoRagI31MoVPDgUeYCZn0/Stv+tUl4hL qFwqgduPRGO1ziKG51g6xOq1z/ZWNBlVX1ZP5GQId45APybFHlxQ8m62dW59Hw89up4Y /f385/gvPtDt6IYuxDSGK52mjS5cKlMzaKtm3w4lcydJWcBgugbuqbeJ8vuFy8MSXum9 SW82+5xf2aQDh3wNNFxPOB1z9IclXMHRQt2MObP0D7ENm6xXGTdhD2CslljGgNzebi2r Hz7sBTd+JYFoBm+9FYdDEdhkWMuWNg0o3k9op67tuM3a0qT1FVSRsyIKZ+dbo3R9jweK z9Cw== 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 q2si11097846qke.278.2018.03.18.23.44.07; Sun, 18 Mar 2018 23:44:07 -0700 (PDT) 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 1E536642AE; Mon, 19 Mar 2018 06:44:07 +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 CDE7A642B1; Mon, 19 Mar 2018 06:43:42 +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 9E95B642AE; Mon, 19 Mar 2018 06:43:37 +0000 (UTC) Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by lists.linaro.org (Postfix) with ESMTPS id 887C3642B2 for ; Mon, 19 Mar 2018 06:43:30 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id n12so17383451wra.2 for ; Sun, 18 Mar 2018 23:43:30 -0700 (PDT) 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=gZ7iDt3PlY4WBsEeYPQrPqKlszdSIRVlC2us8FgoLDc=; b=R+h8QxNazTxDm6KtfXmrKLWcA41vogyB0vHVaGVOJU6vJCB0ik2+G+3/zlKTpUAgn8 tMkLH7Jun0y4N3B9QIaaw/E43/TaE1EF3wPpbX7GCZ2RWb8ibEGnwGDco90M/peZBY/v adoD6hJJ8lPO3oUsIAzY9zYCNn/RW9IDsPdT/6B0GO590pLLCW0JEosG4RZzPOQA+3Ho FM9Lxj3BxUEgEdNjQb4KqmmeP4jLzGz+MmAm2bXuFGNegXKIJ8hRODfsDmwVyr54KKKQ NMnD/VcT5pR72fJMIly1o+nw0Oq7vjIuYWiXHP7px061PiakgJmdi0gcK3trjoGY+lRR vCjQ== X-Gm-Message-State: AElRT7F2AJ2GPgp14Zunfr/uTYVm+ERzMOsPt5sLRzitTozij/xS/bdT XySp7k4WMCLZzOqTLNk1gm+2u1IB X-Received: by 10.223.173.72 with SMTP id p66mr8265383wrc.191.1521441809714; Sun, 18 Mar 2018 23:43:29 -0700 (PDT) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id m191sm12558091wma.21.2018.03.18.23.43.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Mar 2018 23:43:28 -0700 (PDT) From: Victor Chong To: leif.lindholm@linaro.org Date: Mon, 19 Mar 2018 06:42:43 +0000 Message-Id: <20180319064244.24344-5-victor.chong@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319064244.24344-1-victor.chong@linaro.org> References: <20180319064244.24344-1-victor.chong@linaro.org> Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH 4/5] 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(-) 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 Mon Mar 19 06:42: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: 132017 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2371368ljb; Sun, 18 Mar 2018 23:44:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELscEepChZG0Derwrauu4suJpragH1y9CTks/IqyGuJu6jhbt9fYM/jxlAglyQN7O2ZDEAwH X-Received: by 10.55.94.69 with SMTP id s66mr15955949qkb.119.1521441860860; Sun, 18 Mar 2018 23:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521441860; cv=none; d=google.com; s=arc-20160816; b=zQhcXnDL8lYK1vjCqypjbtmo4h+a7b2AXUjlk6mwT0GQt1QX38U+m2mh3lUVVEmxIQ xgVssaeBHFtOVsCFqEg92XHewixRJukUvIErI0RFoOSCfkcNH4RbvelbSa63MgQjDD+/ ifTHGy1blJpBBKWUTe1+IVBlDzCOkf91mEJopDGa8KLVAK/Guvap/8P3Rivjk25q/Uvh Bw8dV1Zgt+AI69wxR2MPGZS56msPWu0xVeYMAyfxAQgkEBZLTUv7Mz3vxzTs+BZUn1HX 4JXhsPTPOXoJtWKr+oNqOUsbsF2WHGLGpOxWy0bwoFEaDoEywy9SY61lynRT5gudRudj tobA== 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=RgxWJRAnMLBb1ayTgw2HrSD11jwULkJD7kdsK08lw2k=; b=wqUpQp2wbJZuTW0ihewhSZmEvSFQKqt5b/KK8w1raSXWZl2kP9ldNwEU/bRigWaISC kqufXW/Ve7T7BtJxP+CMvUH8QmTA67o9fP+lIgBJC1cU9p6V8xcSm9w5e6yoGExkTigy l3gb4UJfKjm1aIyfIKidT1JLp3EX7ZWSMuDwiI4MEIInP+lMU5lMiK7KZ2lMoRIsKCwq baAcTjpM5LEZYXQQpo1Hk9Pbc9tO7pT12qFN5iGf4GoBn6lTqFDpVZPi+NQd5GsPwdMc GjsQAyjwlyWaA3rFcxZ4Zh5WoGzUleXqTAsmFWtVmh9idA4nGMfZ7wmqS+Zr0/aJNpoR 7q6Q== 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 g16si682340qtf.392.2018.03.18.23.44.20; Sun, 18 Mar 2018 23:44:20 -0700 (PDT) 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 64081642B1; Mon, 19 Mar 2018 06:44:20 +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 07AFC642B6; Mon, 19 Mar 2018 06:43:45 +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 BED31642AF; Mon, 19 Mar 2018 06:43:37 +0000 (UTC) Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by lists.linaro.org (Postfix) with ESMTPS id B0FA1642B0 for ; Mon, 19 Mar 2018 06:43:31 +0000 (UTC) Received: by mail-wr0-f194.google.com with SMTP id z12so17395200wrg.4 for ; Sun, 18 Mar 2018 23:43:31 -0700 (PDT) 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=mHX/U7fflO1inXiuRmS35Icb4ldhIOK6VdQn2VWA/e4=; b=jqkxdP48Ly3NSNATHGvm2dn208NtFRqPW6Sz6bRlzFDB2CHr9c3H3/lMkSnELPd9Av o/raHXpsk0N+OQyiEela+Q54fYUF7Q3YlD5kaYStT1Cx+DiQ0Y7nShBBLyaoIEiN87wX VeYLyoCj5abzI1f/oIYbgXw2QP4C21MKLS9uc5dcy+wbxDVhbN/ybGvogCu/5QstbT47 oWDvfGEeuwYAXllFn9kOUEWB2ThQINuhOYcKlghI+zeqI9JxRyqBt6bBTzgmtVnX/ev7 0lLL6RJCk1udGdMpRCNozg8sg1KU7nJZzzc9Vn7YxisQz3qx5X/7PlJs3A+OYKbJY9qu uV3w== X-Gm-Message-State: AElRT7H9yGoJzqmtjI29+C3k4jH+jH0qu/ZU+kmUFHPaGCl0m9M5uz/z lKsHSoFktWJ+v9mtFaCKVJIVnbv6 X-Received: by 10.223.167.12 with SMTP id c12mr914067wrd.194.1521441810909; Sun, 18 Mar 2018 23:43:30 -0700 (PDT) Received: from hackbox.linaro.org ([81.128.185.36]) by smtp.gmail.com with ESMTPSA id m191sm12558091wma.21.2018.03.18.23.43.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Mar 2018 23:43:29 -0700 (PDT) From: Victor Chong To: leif.lindholm@linaro.org Date: Mon, 19 Mar 2018 06:42:44 +0000 Message-Id: <20180319064244.24344-6-victor.chong@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319064244.24344-1-victor.chong@linaro.org> References: <20180319064244.24344-1-victor.chong@linaro.org> Cc: Victor Chong , linaro-uefi@lists.linaro.org Subject: [Linaro-uefi] [PATCH 5/5] 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(+) 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