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.143.35, mailfrom: prvs=0142e58505=abner.chang@hpe.com) Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by groups.io with SMTP; Mon, 26 Aug 2019 23:30:34 -0700 Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x7R6QaH2030097 for ; Tue, 27 Aug 2019 06:30:33 GMT Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 2umuvb9bdq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 27 Aug 2019 06:30:33 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id BC77985 for ; Tue, 27 Aug 2019 06:30:32 +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 D1E3A3A; Tue, 27 Aug 2019 06:30:31 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com Subject: [edk2-staging/RISC-V PATCH v1 6/14]: RiscVPkg/opesbi: Add opensbi-HOWTO.txt Date: Tue, 27 Aug 2019 14:00:24 +0800 Message-Id: <1566885632-5747-6-git-send-email-abner.chang@hpe.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1566885632-5747-1-git-send-email-abner.chang@hpe.com> References: <1566885632-5747-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:5.22.84,1.0.8 definitions=2019-08-26_08:2019-08-26,2019-08-26 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1015 adultscore=0 impostorscore=0 malwarescore=0 suspectscore=0 mlxscore=0 phishscore=0 mlxlogscore=669 priorityscore=1501 lowpriorityscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1906280000 definitions=main-1908270071 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