[edk2-devel] [edk2-staging/RISC-V-V2 PATCH v1 14/22]: RiscVPkg/opesbi: Add opensbi-HOWTO.txt

Abner Chang posted 22 patches 6 years, 5 months ago
[edk2-devel] [edk2-staging/RISC-V-V2 PATCH v1 14/22]: RiscVPkg/opesbi: Add opensbi-HOWTO.txt
Posted by Abner Chang 6 years, 5 months ago
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.chang@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [edk2-staging/RISC-V-V2 PATCH v1 14/22]: RiscVPkg/opesbi: Add opensbi-HOWTO.txt
Posted by Leif Lindholm 6 years, 5 months ago
On Wed, Sep 04, 2019 at 06:43:09PM +0800, Abner Chang wrote:
> 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.chang@hpe.com>
> ---
>  RiscVPkg/opensbi/opensbi-HOWTO.txt | 17 +++++++++++++++++

Could you replace this patch with one that adds the stated repository
as a git submodule at the specified tag?

/
    Leif

>  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 (#46915): https://edk2.groups.io/g/devel/message/46915
Mute This Topic: https://groups.io/mt/33137140/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-