aboutsummaryrefslogtreecommitdiff
path: root/pc-bios
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2019-07-16 11:47:22 -0700
committerPalmer Dabbelt <palmer@sifive.com>2019-07-18 14:18:43 -0700
commit91f3a2f0ce59cb621630bd224f634955222fc3e0 (patch)
tree7e6b60239bf3b88c3365a26081cb518dca3fce26 /pc-bios
parent0b18cfb8f1828c905139b54c8644b0d8f4aad879 (diff)
downloadqemu-91f3a2f0ce59cb621630bd224f634955222fc3e0.zip
qemu-91f3a2f0ce59cb621630bd224f634955222fc3e0.tar.gz
qemu-91f3a2f0ce59cb621630bd224f634955222fc3e0.tar.bz2
roms: Add OpenSBI version 0.4
Add OpenSBI version 0.4 as a git submodule and as a prebult binary. OpenSBI (https://github.com/riscv/opensbi) aims to provide an open-source reference implementation of the RISC-V Supervisor Binary Interface (SBI) specifications for platform-specific firmwares executing in M-mode. For all supported platforms, OpenSBI provides several runtime firmware examples. These example firmwares can be used to replace the legacy riscv-pk bootloader and enable the use of well-known bootloaders such as U-Boot. OpenSBI is distributed under the terms of the BSD 2-clause license ("Simplified BSD License" or "FreeBSD License", SPDX: BSD-2-Clause). OpenSBI source code also contains code reused from other projects desribed here: https://github.com/riscv/opensbi/blob/master/ThirdPartyNotices.md. In this case all of the code we are using from OpenSBI is BSD 2-clause as we aren't using the Kendryte code (Apache-2.0) with QEMU and libfdt is dual licensed as BSD 2-clause (and GPL-2.0+). OpenSBI isn't being linked with QEMU either it is just being included with QEMU. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'pc-bios')
-rw-r--r--pc-bios/README11
-rwxr-xr-xpc-bios/opensbi-riscv32-virt-fw_jump.binbin0 -> 36888 bytes
-rwxr-xr-xpc-bios/opensbi-riscv64-sifive_u-fw_jump.binbin0 -> 40968 bytes
-rwxr-xr-xpc-bios/opensbi-riscv64-virt-fw_jump.binbin0 -> 40968 bytes
4 files changed, 11 insertions, 0 deletions
diff --git a/pc-bios/README b/pc-bios/README
index 0a17f3e..68b4a81 100644
--- a/pc-bios/README
+++ b/pc-bios/README
@@ -63,3 +63,14 @@
ARM. Licensing information is given in "edk2-licenses.txt". The image files
are described by the JSON documents in the "pc-bios/descriptors" directory,
which conform to the "docs/interop/firmware.json" schema.
+
+- OpenSBI (https://github.com/riscv/opensbi) aims to provide an open-source
+ reference implementation of the RISC-V Supervisor Binary Interface (SBI)
+ specifications for platform-specific firmwares executing in M-mode. For all
+ supported platforms, OpenSBI provides several runtime firmware examples.
+ These example firmwares can be used to replace the legacy riscv-pk bootloader
+ and enable the use of well-known bootloaders such as U-Boot.
+ OpenSBI is distributed under the terms of the BSD 2-clause license
+ ("Simplified BSD License" or "FreeBSD License", SPDX: BSD-2-Clause). OpenSBI
+ source code also contains code reused from other projects desribed here:
+ https://github.com/riscv/opensbi/blob/master/ThirdPartyNotices.md.
diff --git a/pc-bios/opensbi-riscv32-virt-fw_jump.bin b/pc-bios/opensbi-riscv32-virt-fw_jump.bin
new file mode 100755
index 0000000..f5bcaa5
--- /dev/null
+++ b/pc-bios/opensbi-riscv32-virt-fw_jump.bin
Binary files differ
diff --git a/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin b/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
new file mode 100755
index 0000000..5d7a1ef
--- /dev/null
+++ b/pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
Binary files differ
diff --git a/pc-bios/opensbi-riscv64-virt-fw_jump.bin b/pc-bios/opensbi-riscv64-virt-fw_jump.bin
new file mode 100755
index 0000000..4cec6f0
--- /dev/null
+++ b/pc-bios/opensbi-riscv64-virt-fw_jump.bin
Binary files differ