commit | 9e8ff05cb61f157fb0bcb6b0071d7b6dc0763faa | [log] [tgz] |
---|---|---|
author | Anup Patel <anup.patel@wdc.com> | Tue Dec 11 19:24:06 2018 +0530 |
committer | Anup Patel <anup@brainfault.org> | Tue Dec 11 19:24:06 2018 +0530 |
tree | b9513a86b3b36e569cb46387846fee9c5544f566 |
Initial commit. Signed-off-by: Anup Patel <anup.patel@wdc.com>
The RISC-V Supervisor Binary Interface (SBI) is a recommended interface between:
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.
Below are the steps to cross-compile and install RISC-V OpenSBI:
Setup build environment $ CROSS_COMPILE=riscv64-unknown-linux-gnu-
Build sources $ make PLAT=<platform_name> OR $ make PLAT=<platform_name> O=<build_directory>
Install blobs $ make PLAT=<platform_name> install OR $ make PLAT=<platform_name> I=<install_directory> install