[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 91f3a2: roms: Add OpenSBI version 0.4
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 91f3a2: roms: Add OpenSBI version 0.4 |
Date: |
Fri, 19 Jul 2019 04:51:49 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 91f3a2f0ce59cb621630bd224f634955222fc3e0
https://github.com/qemu/qemu/commit/91f3a2f0ce59cb621630bd224f634955222fc3e0
Author: Alistair Francis <address@hidden>
Date: 2019-07-18 (Thu, 18 Jul 2019)
Changed paths:
M .gitmodules
M LICENSE
M Makefile
M pc-bios/README
A pc-bios/opensbi-riscv32-virt-fw_jump.bin
A pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
A pc-bios/opensbi-riscv64-virt-fw_jump.bin
M roms/Makefile
A roms/opensbi
Log Message:
-----------
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 <address@hidden>
Reviewed-by: Bin Meng <address@hidden>
Reviewed-by: Guenter Roeck <address@hidden>
Tested-by: Guenter Roeck <address@hidden>
Signed-off-by: Palmer Dabbelt <address@hidden>
Commit: fdd1bda4b47cfbec61d0e63a516c614feea0b00b
https://github.com/qemu/qemu/commit/fdd1bda4b47cfbec61d0e63a516c614feea0b00b
Author: Alistair Francis <address@hidden>
Date: 2019-07-18 (Thu, 18 Jul 2019)
Changed paths:
M hw/riscv/boot.c
M hw/riscv/sifive_u.c
M hw/riscv/virt.c
M include/hw/riscv/boot.h
M qemu-deprecated.texi
Log Message:
-----------
hw/riscv: Load OpenSBI as the default firmware
If the user hasn't specified a firmware to load (with -bios) or
specified no bios (with -bios none) then load OpenSBI by default. This
allows users to boot a RISC-V kernel with just -kernel.
Signed-off-by: Alistair Francis <address@hidden>
Reviewed-by: Bin Meng <address@hidden>
Tested-by: Bin Meng <address@hidden>
Reviewed-by: Guenter Roeck <address@hidden>
Tested-by: Guenter Roeck <address@hidden>
Signed-off-by: Palmer Dabbelt <address@hidden>
Commit: 1f7678fa6fe1c34808b1f94e61604b90d00afa0a
https://github.com/qemu/qemu/commit/1f7678fa6fe1c34808b1f94e61604b90d00afa0a
Author: Peter Maydell <address@hidden>
Date: 2019-07-19 (Fri, 19 Jul 2019)
Changed paths:
M .gitmodules
M LICENSE
M Makefile
M hw/riscv/boot.c
M hw/riscv/sifive_u.c
M hw/riscv/virt.c
M include/hw/riscv/boot.h
M pc-bios/README
A pc-bios/opensbi-riscv32-virt-fw_jump.bin
A pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
A pc-bios/opensbi-riscv64-virt-fw_jump.bin
M qemu-deprecated.texi
M roms/Makefile
A roms/opensbi
Log Message:
-----------
Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.1-rc2'
into staging
RISC-V Patches for 4.2-rc2
This contains a pair of patches that add OpenSBI support to QEMU on
RISC-V targets. The patches have been floating around for a bit, but
everything seems solid now. These pass my standard test of booting
OpenEmbedded, and also works when I swap around the various command-line
arguments to use the new boot method.
# gpg: Signature made Fri 19 Jul 2019 00:54:27 BST
# gpg: using RSA key 00CE76D1834960DFCE886DF8EF4CA1502CCBAB41
# gpg: issuer "address@hidden"
# gpg: Good signature from "Palmer Dabbelt <address@hidden>" [unknown]
# gpg: aka "Palmer Dabbelt <address@hidden>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 00CE 76D1 8349 60DF CE88 6DF8 EF4C A150 2CCB AB41
* remotes/palmer/tags/riscv-for-master-4.1-rc2:
hw/riscv: Load OpenSBI as the default firmware
roms: Add OpenSBI version 0.4
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/0274f45bdef7...1f7678fa6fe1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 91f3a2: roms: Add OpenSBI version 0.4,
Peter Maydell <=