From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0150651a61=abner.chang@hpe.com) Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by groups.io with SMTP; Wed, 04 Sep 2019 04:13:43 -0700 Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x84BBgWw020096 for ; Wed, 4 Sep 2019 11:13:43 GMT Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0a-002e3701.pphosted.com with ESMTP id 2ut9h9h7x3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 04 Sep 2019 11:13:43 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 5F947A2 for ; Wed, 4 Sep 2019 11:13:42 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.44]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 7653339; Wed, 4 Sep 2019 11:13:41 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com Subject: [edk2-staging/RISC-V-V2 PATCH v1 14/22]: RiscVPkg/opesbi: Add opensbi-HOWTO.txt Date: Wed, 4 Sep 2019 18:43:09 +0800 Message-Id: <1567593797-26216-15-git-send-email-abner.chang@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1567593797-26216-1-git-send-email-abner.chang@hpe.com> References: <1567593797-26216-1-git-send-email-abner.chang@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.70,1.0.8 definitions=2019-09-04_03:2019-09-03,2019-09-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxscore=0 suspectscore=0 adultscore=0 clxscore=1015 impostorscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=683 lowpriorityscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1906280000 definitions=main-1909040113 Add opensbi-HOWTO.txt for users to build RISC-V platform with RISC-V OpenSBI library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Abner Chang --- RiscVPkg/opensbi/opensbi-HOWTO.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 RiscVPkg/opensbi/opensbi-HOWTO.txt diff --git a/RiscVPkg/opensbi/opensbi-HOWTO.txt b/RiscVPkg/opensbi/opensbi-HOWTO.txt new file mode 100644 index 0000000..aff7a69 --- /dev/null +++ b/RiscVPkg/opensbi/opensbi-HOWTO.txt @@ -0,0 +1,17 @@ +================================================================================ + Instroduction +================================================================================ +RISC-V Open Source Supervisor Binary Interface (OpenSBI) is an open source +implementation (Refer to https://github.com/riscv/opensbi) of RISC-V SBI spec +(Refer to https://github.com/riscv/riscv-sbi-doc), whcih is designed for the +platform-specific firmwares executing in RISC-V Machine mode (M-mode). +EDK2 RISC-V port leverage OpenSBI source files and build it into EDK2 RISC-V +OpenSBI library (RiscVPkg/Library/RiscVOpensbiLib) using edk2 toolchain. + +User has to get OpenSBI source code and put it under RiscVPkg/opensbi using below +command before building RISC-V platform in EDK2 build environment. + +Current supported RISC-V OpenSBI version on EDK2 is v0.4 + + $ git clone https://github.com/riscv/opensbi + $ git checkout tags/v0.4 -- 2.7.4