Anup Patel bc99e707cd blob: Rename FW_xyz_FDT_OFFSET to FW_xyz_FDT_ADDR
Instead of placing FDT (passed by previous booting stage) at a
location relative to next address we should have absolute
location of placing FDT so that we more freedom of placing FDT.

This will be particularly useful for platforms/boards with
very less RAM (such as Kendryte board).

Due to above motivation, we rename FW_xyz_FDT_OFFSET options
to FW_xyz_FDT_ADDR options and use FW_xyz_FDT_ADDR options as
absolute address for placing FDT.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
2018-12-19 15:47:52 +05:30
2018-12-11 19:24:06 +05:30
2018-12-11 19:24:06 +05:30
2018-12-11 19:24:06 +05:30
2018-12-11 19:24:06 +05:30

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=<platform_name> OR $ make PLAT=<platform_name> O=<build_directory>

  3. Install blobs $ make PLAT=<platform_name> install OR $ make PLAT=<platform_name> I=<install_directory> install

Description
RISC-V Open Source Supervisor Binary Interface
Readme 4.1 MiB
Languages
C 72.7%
Python 21.6%
Makefile 3.2%
Assembly 2%
Shell 0.5%