From nobody Sat Feb 7 09:37:09 2026 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+60464+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+60464+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 1590772022582406.5843939482713; Fri, 29 May 2020 10:07:02 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id OmBzYY1788612xYqn9vvogla; Fri, 29 May 2020 10:07:02 -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.1204.1590772021642188227 for ; Fri, 29 May 2020 10:07:01 -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 04TH6M4o030535; Fri, 29 May 2020 17:07:00 GMT X-Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 31agx9udex-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 May 2020 17:07:00 +0000 X-Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id 05A359F; Fri, 29 May 2020 17:07:00 +0000 (UTC) X-Received: from G2W6311.americas.hpqcorp.net (2002:10c5:4035::10c5:4035) by G1W8106.americas.hpqcorp.net (2002:10c1:483d::10c1:483d) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 29 May 2020 17:06:36 +0000 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (15.241.52.12) by G2W6311.americas.hpqcorp.net (16.197.64.53) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 29 May 2020 17:06:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OJm3Vnxb9EJwKN+IA41nfxwwEYq/VIUSo/TLNTxAEWc44WU5uVu0xdjz9c9jLS/dUGYtswAFSW6c4AGXE+RQ8BqUwIav10TIoNrc1/FNEU9SW68FJEGfc9Fb/i5L3ScoKLmMISnb6tnMJEF5lysRoZbo7sXyjb4UEFsQEBik4iAeqEDpyIqXE49BcUI5fxcPm+XBVNqvbUJBQNElHtf7NyT3M+7UjD37+KFT/XtsAtX4vOBly55/3AIiSSvgFflQrMOWPSjhG62j8NbS+FFWb3sNZGPNnWpGBfRnDdtREc0I6FJYcfchevsIx2teufeM0GlYo7vPRlcmiA8tvXJUQg== 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=aPoWOT9P5n1yIdfs4K+BhWQjsQKzYsfC6SYphEywNgw=; b=NwrLLUPtDTIRhGEedrh/+/lby2b5wydcKoSZa80YGNMkVqFSPcPhRqIfn9fPtPjHPg7zcTJ8oVuAHzCCUYE4g77n4SRg7gRcDbHQlVvfiWb/99A9MM+IvnTDBsJTSkn5U0mxx/R3qCdvPHN2vErpj8HSr9SOQnaTtbTXqnpUH45fnx0u6T9SRNyMPeFzGwaM93eYFGwfxfL49DBVgQiWXsgb3VwRksxty3nTlqHTvcT2n5Gyi00WPRSmFBMy0O+MFEsbUHxUE1DnmkxQAYEcZjceSFNWiOJNg9Vt5W/bFYoc4uRoBJOrEiGyzMhdJ5x8c8If01h5Hy7OxYcFQCDwKg== 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 DF4PR8401MB0474.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7607::10) by DF4PR8401MB0441.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7607::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19; Fri, 29 May 2020 17:06:35 +0000 X-Received: from DF4PR8401MB0474.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c4c5:a5a7:6deb:da30]) by DF4PR8401MB0474.NAMPRD84.PROD.OUTLOOK.COM ([fe80::c4c5:a5a7:6deb:da30%9]) with mapi id 15.20.3021.030; Fri, 29 May 2020 17:06:35 +0000 From: "Daniel Schaefer" To: CC: Leif Lindholm , Abner Chang , Gilbert Chen , Michael D Kinney Subject: [edk2-devel] [PATCH v3 1/3] ProcessorPkg/RiscVOpensbLib: Add opensbi submodule Date: Fri, 29 May 2020 19:06:20 +0200 Message-ID: <20200529170622.32610-2-daniel.schaefer@hpe.com> In-Reply-To: <20200529170622.32610-1-daniel.schaefer@hpe.com> References: <20200529170622.32610-1-daniel.schaefer@hpe.com> X-ClientProxiedBy: AM0PR10CA0057.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::37) To DF4PR8401MB0474.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7607::10) X-MS-Exchange-MessageSentRepresentingType: 1 X-Received: from x360-nix.fritz.box (93.215.216.32) by AM0PR10CA0057.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17 via Frontend Transport; Fri, 29 May 2020 17:06:33 +0000 X-Originating-IP: [93.215.216.32] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 5c6504fe-1cb3-4c4f-d475-08d803f2a48e X-MS-TrafficTypeDiagnostic: DF4PR8401MB0441: 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: P4S84mSM3pczrsZgbv6hiL/uXOdf/5JjG/C+Lz6uw/t6GuzkkvJAIySyLJocCJCqiuyngCF2mwauelIjiDZjx4+JSRdQn5y7e++xJVPHuXi93ctj2GsiKkByl5JjWPUuFE0NVtBv7h/btFJEEQ7Crtfz8hTr47bgzdEcjddSssA4vtlWRWr/Qq1t3Okp9Qpr1Nd2EPsXaVqHiczZlGW/XdHUViWZ+NtUDs+HnsKKSRV2tuT8TtxIcANxF8EpdGpZcp4+WJ8JVyG55uRPKHq8TCecn+A4gfaOu9zVKWjI+MEobj8E71s4Lfp8HqvzbSnE6kyU7wZ3d6fWYBgrbl+NT6GwMApRFyfGJ5RaMVWZ5QyYAipAVyEImh684tCOKw2rxolrEN0DsSwzaEj+SkP1tw== X-MS-Exchange-AntiSpam-MessageData: gGOAo4VfEwBEPx4E/21qBSvmnPve4DIkir50QIHZ5N9CRmStCVG8cPXL7CSMgoAFTFUkC9Yp/EDSGeIvgh6FgeJj+0A10zGoQ1e8nCkSon1VFeWrrtJxwZUYzOmpYAdmcZyfbxD0F5H+98/yiEgnwNpVy2yim0371m+2lpEDjhWfuZXgmR0N/CXwA9qhjgR4/gyGGNHxRkZ3zz7NUVbH1O1HfkKb4ELzSGk2cy/Z39QOZiX5U4e9e6jXDqK0r9uweDu1fSk+isz2E+EM/P2f6m7Ht6FlCRr+rgQqWuJLsh3ixVDfHPkNc3bhg+XpcvfQs65iRw0jqqophdxK6/4Lyx4PAHWzDJI1dC/GDQzgZdePxX9usVToS1UDUAQXbWvaFeaLUh0k5Jn0Y8LmPYsdYxwFX2cf7E4ZSVQHh+MAvuHud/GIQ+E69WlaqTM3WLKvo54rg+DFd7DEi7J8LSU5AJKa1UWENegQg7ItddQZ3P6hg/m4i/mWX4i/I3VqOZJg X-MS-Exchange-CrossTenant-Network-Message-Id: 5c6504fe-1cb3-4c4f-d475-08d803f2a48e X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2020 17:06:35.2827 (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: q5DWi8I7imXkKeDBsijCrtfeNQYHCg0Q8fQCbb2sCDt3vveAkOJNx2MxL2zC/9oCsCsdKklEim/0ArkOMVTXUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR8401MB0441 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: ILxhb7jY9gezug76F84fJ5zkx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1590772022; bh=MP7qwlozY67dxXyK6ityqGkDFxpkANmMweScPtS7Xj8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=Cj5PtyQDNnX3nLqtzx5zjkBkxsiOOwa+h6Oq6DI57xY8lxPzQls3QabZwtmDMhFcwlW l2DyaZprWb9YIgZtpMdUUn5hUZnfwimJ7V/BbfkXJJbKdYiueYrrZQaPd2DISwi8Tze/9 3KUOYshHEPWRH6XK5lxfQ0QYt5NUzRpqUm4= 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 Reviewed-by: Leif Lindholm Cc: Leif Lindholm Cc: Abner Chang Cc: Gilbert Chen Cc: Michael D Kinney --- .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 ea9492240adb..6227fd5a0cfd 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) @@ -263,3 +267,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 (#60464): https://edk2.groups.io/g/devel/message/60464 Mute This Topic: https://groups.io/mt/74548552/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-