From nobody Sat Apr 20 13:17:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+59683+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+59683+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=hpe.com Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1589549997788957.1575784808347; Fri, 15 May 2020 06:39:57 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id hn1oYY1788612xxQ8ITOap6e; Fri, 15 May 2020 06:39:56 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.13423.1589549994742976218 for ; Fri, 15 May 2020 06:39:54 -0700 X-Received: from pps.filterd (m0134424.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04FDbOni002110; Fri, 15 May 2020 13:39:54 GMT X-Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 310yxpn4f3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 15 May 2020 13:39:53 +0000 X-Received: from G2W6310.americas.hpqcorp.net (g2w6310.austin.hp.com [16.197.64.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2352.austin.hpe.com (Postfix) with ESMTPS id 2AE0CA3; Fri, 15 May 2020 13:39:53 +0000 (UTC) X-Received: from G9W8456.americas.hpqcorp.net (2002:10d8:a15f::10d8:a15f) by G2W6310.americas.hpqcorp.net (2002:10c5:4034::10c5:4034) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 15 May 2020 13:39:53 +0000 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (15.241.52.13) by G9W8456.americas.hpqcorp.net (16.216.161.95) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 15 May 2020 13:39:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R1yeO6ZQeFHvF68AU8sLo8ElNa+QY1QlV1BQcdVuOVtgSjruJCl8ki7BaoavNGDcE6Hxa7MKIs5fiBIEYoEBiypGMVqaUSy1D5WM3y++fyhtQHT9hhhclpWaa1FL1KXt7vc0Upnn986hi2mH1FfPDGo/La787QBqPSYhblZGK1pNclkKMa8HI0sSD4t5WteGg3Md7gFoYd3xwF++XwvbisLiPZqEcZFPaa9kOYl7rmauJuB7FoA9CVpF4x0pm59J2nZ21E74L8qrpWztl1sZzmNquN5fzAvzsQeCxnYFtNp5JZHv6aVFZfDNJvAZeFAyxJley51YF/fzLzrH4oFFag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lRJV0ywnT9Ax26kO0DvnfZQZgHAEk6U7tFF6PNhAF0I=; b=CyFx1FZclMvFFFWzgI9TUjcQ9xdqhvwLmzB5WB2SNmsYhW1Oo37DVJiqoIKLUrY8Zyv4daFrVUt0+rfOoqv81+8n7h3S2szle6SnNs+/J/IW+sTG+TVtbYWUa8ItU92GWX8EAptHcixMFGb1PVa2ScIhpZ1taM4gEYeJjlcwXrieOAwJ4Oyo2WAhUoCvT35bV4CSm+3EHGwc/0f+TGZUiN1qPhOfp3Dk2+c0YjsBOHTDb1JQHFOOEenw53WF686ikL3zOOdC3uzUZFwtfqGhuJ6VmUCk/l63/UdDOT/2B0QY2PXHd0tDGujvRXAbFDyp0332y+PlINTprZOZa+k0Tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none X-Received: from CS1PR8401MB0726.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750c::23) by CS1PR8401MB0726.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20; Fri, 15 May 2020 13:39:51 +0000 X-Received: from CS1PR8401MB0726.NAMPRD84.PROD.OUTLOOK.COM ([fe80::6d01:dcc0:65e:ef77]) by CS1PR8401MB0726.NAMPRD84.PROD.OUTLOOK.COM ([fe80::6d01:dcc0:65e:ef77%7]) with mapi id 15.20.3000.022; Fri, 15 May 2020 13:39:51 +0000 From: "Daniel Schaefer" To: CC: Gilbert Chen , Abner Chang , Michael D Kinney , Leif Lindholm Subject: [edk2-devel] [PATCH v2 1/3] ProcessorPkg/RiscVOpensbLib: Add opensbi submodule Date: Fri, 15 May 2020 15:39:35 +0200 Message-ID: <20200515133937.29909-2-daniel.schaefer@hpe.com> In-Reply-To: <20200515133937.29909-1-daniel.schaefer@hpe.com> References: <20200515133937.29909-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: AM0P190CA0007.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:190::17) To CS1PR8401MB0726.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:750c::23) X-MS-Exchange-MessageSentRepresentingType: 1 X-Received: from x360-nix.fritz.box (93.215.201.203) by AM0P190CA0007.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:190::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20 via Frontend Transport; Fri, 15 May 2020 13:39:50 +0000 X-Originating-IP: [93.215.201.203] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 02976da4-e74e-4203-61de-08d7f8d571b5 X-MS-TrafficTypeDiagnostic: CS1PR8401MB0726: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: sCjf0RRgZhTT7i/E7PUmYS6qmjlC6r59j1fBXrhNSAxft0GgI4VM5MPMzs6zHd+DdlMSZ7R2lwNAIheishIc+8t7wAmVA08jf55ysOie3r6GPqi59e5YuTf/NqHIEI8UkdUL88laplRxKEXV++rOuwJDS4G0Ad3AGj9wx957ObKID014z+hLF5zgR4Wpj8q8oq+3MlZD2cw3V+hJK75hxZIDbOHGc3GseS6kjCaI1zVUsigQXhu+NA0NTs/SEAIRYVEUTopW3zdFSPbt9rQHKx3sDmFulwHVPeCshUnQmILPJ3hgixvst2NuIvEK6l5/u+3QwIS1dWuHSBcCnc003nwQ/eJ8q66luge8VsMb9DhFXy73WMpQmug5+ASmCGXFCEAhQOQwNigyEXhAT2iqVuZTv9gwxNYfzePHGb4nH1EqzEx72gQC1LI57SbL0Mz4H29sGjXqLLD9/cYSMJ9L07THri7pmwODC/9uegVCFyoDwm9UjODs3imQCkobRfY9uG3izfnQ8UZanWV+8InJtw== X-MS-Exchange-AntiSpam-MessageData: DiuZXJRHWHuOcLxBP459VvsSKIrZ8qZesh6/21aHrduJSzYW3pHaf6xIAUMBg5kw6qyYBGR+V+s4+qTi5GdAMtLp6S+WaWFeIsdz0qKRJTEXTHiMkyk0HrzYC1dBDuphLGx93+b8BsLOqMsSWWLM37XoJ3ry5CJj203iTzNNVishsXn3GYp14lU3Ez212R2lZ3/WoiPNo1uWtWNGzF3EWICbW12+Oce0jqEqqJ4DKRp/ZGwJQYzK7tgSWRIzaSMIeHfx+8ybDkyLkZpGpStSji1+9zu1Dbdx8y3RQW3LkoYRZ8JaLZgubSdVZhvYePpIp2DaUoF77sBdHN61unFkNTwMEquU+4Evpt2Z0AYCcW8uSeSu2dGGVfKQAkUjoLR/8hwtUldpBS/k8OiFLv/gjZ+T0oQYAZyrVsC6iXUqU0YTH+ip/o78749zqyES4un2FjLKMleDl3LPqZOhrVwxABgOHaM6UVz/rFCorJv6yaqWgKXwLCSAvPnxLfaiesWP X-MS-Exchange-CrossTenant-Network-Message-Id: 02976da4-e74e-4203-61de-08d7f8d571b5 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2020 13:39:51.7398 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rj/uGLZD9+SPDSw85WLVd0Hn3poKJ28ChHUuKsYz6TmGqzoXNNTXwTSxAbb3HJnmYSsrhh8/nazAtLOU5PtusA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0726 X-OriginatorOrg: hpe.com X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,daniel.schaefer@hpe.com X-Gm-Message-State: zELvcd2MQsdJ8d74m0sPjgrYx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1589549996; bh=ldFJZK3e8vwJEa5DYVIX4JYzP5gJO8ZdyrdpZ7WloIs=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=iv3dAke7HkKHv1MXyPOQOsazQpOk0OZRqb7EHCQZ+oxnMP+0qIa/3X26ER+PvvdbNGG GLnGCE4beTf2/1K+Z2apLVGIgSpEexV/695oTJk0lyxpKFkWLft/00MTK6XNyzfQQZlyc 0lbqaU1YbHTAi1vmKh2MGSAYhmH1fTLw8Oc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Add submodule opensbi under Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbLlib. The current supported opensbi version for RISC-V edk2 port is tags/v0.6. Signed-off-by: Daniel Schaefer Co-authored-by: Gilbert Chen Co-authored-by: Abner Chang Cc: Abner Chang Cc: Gilbert Chen Cc: Michael D Kinney Cc: Leif Lindholm Reviewed-by: Leif Lindholm --- .gitmodules | 3 ++ Readme.md | 36 +++++++++= +++++++++++ Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi | 1 + 3 files changed, 40 insertions(+) diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000000..88aafaf15820 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi"] + path =3D Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi + url =3D https://github.com/riscv/opensbi diff --git a/Readme.md b/Readme.md index 8f9522659d7b..8f7317e6b029 100644 --- a/Readme.md +++ b/Readme.md @@ -10,6 +10,10 @@ The majority of the content in the EDK II open source pr= oject uses a [BSD-2-Clause Plus Patent License](License.txt). Additional details on ED= K II open source project code contributions can be found in the edk2 repository [Readme.md](https://github.com/tianocore/edk2/blob/master/Readme.md). +The EDK II Platforms open source project contains the following components= that +are covered by additional licenses: + +- [`Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi`](https://= github.com/riscv/opensbi/blob/master/COPYING.BSD) =20 # INDEX * [Overview](#overview) @@ -260,3 +264,35 @@ For more information, see the # Maintainers =20 See [Maintainers.txt](Maintainers.txt). + +# Submodules + +Submodule in EDK II Platforms is allowed but submodule chain should be avo= ided +as possible as we can. Currently EDK II Platforms contains the following +submodules + +- Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi + +To get a full, buildable EDK II repository, use following steps of git com= mand + +```bash + git clone https://github.com/tianocore/edk2-platforms.git + cd edk2-platforms + git submodule update --init + cd .. +``` + +If there's update for submodules, use following git commands to get the la= test +submodules code. + +```bash + cd edk2-platforms + git pull + git submodule update +``` + +Note: When cloning submodule repos, '--recursive' option is not recommende= d. +EDK II Platforms itself will not use any code/feature from submodules in a= bove +submodules. So using '--recursive' adds a dependency on being able to reach +servers we do not actually want any code from, as well as needlessly +downloading code we will not use. diff --git a/Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi b/= Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi new file mode 160000 index 000000000000..ac5e821d50be --- /dev/null +++ b/Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi @@ -0,0 +1 @@ +Subproject commit ac5e821d50be631f26274765a59bc1b444ffd862 --=20 2.26.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#59683): https://edk2.groups.io/g/devel/message/59683 Mute This Topic: https://groups.io/mt/74227139/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-