From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=041837a23b=daniel.schaefer@hpe.com) 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 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 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) 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 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 Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=hpe.com; 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 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: [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> X-Mailer: git-send-email 2.26.1 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 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-Mailer: git-send-email 2.26.1 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-Forefront-PRVS: 04180B6720 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P4S84mSM3pczrsZgbv6hiL/uXOdf/5JjG/C+Lz6uw/t6GuzkkvJAIySyLJocCJCqiuyngCF2mwauelIjiDZjx4+JSRdQn5y7e++xJVPHuXi93ctj2GsiKkByl5JjWPUuFE0NVtBv7h/btFJEEQ7Crtfz8hTr47bgzdEcjddSssA4vtlWRWr/Qq1t3Okp9Qpr1Nd2EPsXaVqHiczZlGW/XdHUViWZ+NtUDs+HnsKKSRV2tuT8TtxIcANxF8EpdGpZcp4+WJ8JVyG55uRPKHq8TCecn+A4gfaOu9zVKWjI+MEobj8E71s4Lfp8HqvzbSnE6kyU7wZ3d6fWYBgrbl+NT6GwMApRFyfGJ5RaMVWZ5QyYAipAVyEImh684tCOKw2rxolrEN0DsSwzaEj+SkP1tw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DF4PR8401MB0474.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFTY:;SFS:(346002)(136003)(39860400002)(376002)(396003)(366004)(52116002)(186003)(16526019)(316002)(54906003)(6916009)(478600001)(5660300002)(83380400001)(2906002)(956004)(2616005)(6486002)(44832011)(8936002)(6666004)(1076003)(36756003)(4326008)(6512007)(966005)(86362001)(6506007)(8676002)(26005)(66556008)(66476007)(66946007);DIR:OUT;SFP:1102; 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 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-05-29_08:2020-05-28,2020-05-29 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 bulkscore=0 suspectscore=0 mlxlogscore=949 lowpriorityscore=0 impostorscore=0 malwarescore=0 cotscore=-2147483648 spamscore=0 clxscore=1015 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005290130 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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"]= =0D + path =3D Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi=0D + url =3D https://github.com/riscv/opensbi=0D 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=0D open source project code contributions can be found in the edk2 repository= =0D [Readme.md](https://github.com/tianocore/edk2/blob/master/Readme.md).=0D +The EDK II Platforms open source project contains the following components= that=0D +are covered by additional licenses:=0D +=0D +- [`Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi`](https://= github.com/riscv/opensbi/blob/master/COPYING.BSD)=0D =0D # INDEX=0D * [Overview](#overview)=0D @@ -263,3 +267,35 @@ For more information, see the # Maintainers=0D =0D See [Maintainers.txt](Maintainers.txt).=0D +=0D +# Submodules=0D +=0D +Submodule in EDK II Platforms is allowed but submodule chain should be avo= ided=0D +as possible as we can. Currently EDK II Platforms contains the following=0D +submodules=0D +=0D +- Silicon/RISC-V/ProcessorPkg/Library/RiscVOpensbiLib/opensbi=0D +=0D +To get a full, buildable EDK II repository, use following steps of git com= mand=0D +=0D +```bash=0D + git clone https://github.com/tianocore/edk2-platforms.git=0D + cd edk2-platforms=0D + git submodule update --init=0D + cd ..=0D +```=0D +=0D +If there's update for submodules, use following git commands to get the la= test=0D +submodules code.=0D +=0D +```bash=0D + cd edk2-platforms=0D + git pull=0D + git submodule update=0D +```=0D +=0D +Note: When cloning submodule repos, '--recursive' option is not recommende= d.=0D +EDK II Platforms itself will not use any code/feature from submodules in a= bove=0D +submodules. So using '--recursive' adds a dependency on being able to reac= h=0D +servers we do not actually want any code from, as well as needlessly=0D +downloading code we will not use.=0D 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=0D --=20 2.26.1