From 9e8ff05cb61f157fb0bcb6b0071d7b6dc0763faa Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Tue, 11 Dec 2018 19:24:06 +0530 Subject: Initial commit. Signed-off-by: Anup Patel --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..3892273 --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ +RISC-V Open Source Supervisor Binary Interface (OpenSBI) +======================================================== + +The RISC-V Supervisor Binary Interface (SBI) is a recommended +interface between: +1. platform specific firmware running in M-mode and bootloader + running in S-mode +2. platform specific firmware running in M-mode and general + purpose operating system running in S-mode +3. hypervisor runnng in HS-mode and general purpose operating + system running in VS-mode. + +The RISC-V SBI spec is maintained as independent project by +RISC-V Foundation at https://github.com/riscv/riscv-sbi-doc + +The RISC-V OpenSBI project aims to provides an open-source and +extensible implementation of the SBI spec. This project can be +easily extended by RISC-V platform or RISC-V System-on-Chip vendors. + + +How to Build? +------------- + +Below are the steps to cross-compile and install RISC-V OpenSBI: + +1. Setup build environment +$ CROSS_COMPILE=riscv64-unknown-linux-gnu- + +2. Build sources +$ make PLAT= +OR +$ make PLAT= O= + +3. Install blobs +$ make PLAT= install +OR +$ make PLAT= I= install -- cgit v1.1