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.13423.1589549994742976218 for ; Fri, 15 May 2020 06:39:54 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=04045502dd=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 04FDbOni002110; Fri, 15 May 2020 13:39:54 GMT 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 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) 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 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 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 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 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: [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> X-Mailer: git-send-email 2.26.1 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 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-Mailer: git-send-email 2.26.1 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-Forefront-PRVS: 04041A2886 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sCjf0RRgZhTT7i/E7PUmYS6qmjlC6r59j1fBXrhNSAxft0GgI4VM5MPMzs6zHd+DdlMSZ7R2lwNAIheishIc+8t7wAmVA08jf55ysOie3r6GPqi59e5YuTf/NqHIEI8UkdUL88laplRxKEXV++rOuwJDS4G0Ad3AGj9wx957ObKID014z+hLF5zgR4Wpj8q8oq+3MlZD2cw3V+hJK75hxZIDbOHGc3GseS6kjCaI1zVUsigQXhu+NA0NTs/SEAIRYVEUTopW3zdFSPbt9rQHKx3sDmFulwHVPeCshUnQmILPJ3hgixvst2NuIvEK6l5/u+3QwIS1dWuHSBcCnc003nwQ/eJ8q66luge8VsMb9DhFXy73WMpQmug5+ASmCGXFCEAhQOQwNigyEXhAT2iqVuZTv9gwxNYfzePHGb4nH1EqzEx72gQC1LI57SbL0Mz4H29sGjXqLLD9/cYSMJ9L07THri7pmwODC/9uegVCFyoDwm9UjODs3imQCkobRfY9uG3izfnQ8UZanWV+8InJtw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CS1PR8401MB0726.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFTY:;SFS:(376002)(396003)(346002)(366004)(39860400002)(136003)(5660300002)(2906002)(966005)(6666004)(478600001)(54906003)(316002)(1076003)(6916009)(956004)(36756003)(6506007)(6486002)(52116002)(16526019)(86362001)(26005)(2616005)(186003)(6512007)(8936002)(4326008)(66556008)(66946007)(44832011)(8676002)(66476007);DIR:OUT;SFP:1102; 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 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.676 definitions=2020-05-15_05:2020-05-15,2020-05-15 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 spamscore=0 phishscore=0 mlxscore=0 mlxlogscore=873 lowpriorityscore=0 adultscore=0 bulkscore=0 impostorscore=0 clxscore=1015 suspectscore=0 priorityscore=1501 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005150117 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 Co-authored-by: Gilbert Chen Co-authored-by: Abner Chang Cc: Abner Chang Cc: Gilbert Chen Cc: Michael D Kinney Cc: 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"]= =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 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=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 @@ -260,3 +264,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