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 <abner.ch...@hpe.com> --- 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 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#46791): https://edk2.groups.io/g/devel/message/46791 Mute This Topic: https://groups.io/mt/33137140/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-