qemu/pc-bios
Peter Maydell 19bef037fe RISC-V Fixes for 4.2-rc2
This contains a handful of patches that I'd like to target for 4.2:
 
 * OpenSBI upgrade to 0.5
 * Increase in the flash size of the virt board.
 * A non-functional cleanup.
 * A cleanup to our MIP handling that avoids atomics.
 
 This passes "make check" and boots OpenEmbedded for me.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCgAxFiEEAM520YNJYN/OiG3470yhUCzLq0EFAl3Nn18THHBhbG1lckBk
 YWJiZWx0LmNvbQAKCRDvTKFQLMurQQYxEACVIdVobMaddZC1tUhzyY9Ef2AzRqca
 GyyHIyMlmVzOhHOD0Rig4HQWGzvxSxmzrNNYc0N0kh7IsnVUkOLyROv5tvSpMLpb
 hyLwMcIWTNWVLraAZ/e/TTwkzKenXB2gvl5ny00LhUW4Lt0lwkFgB6SMtL1R5K+r
 HYYeiWPXbMfUnft/zpdTN0mT4Y8+gUai6XK83QOuwZohsAepBvKDVJD5uORZ6gZK
 hQfaWZ/FzMDDC0BeQtt7NN6ElLJjilzESxgoDoLrcpq2BfmSWMo4XKH/k9DzNTbi
 iWqel1q/lirxclglqjYFDuqhb37gfHYtPqQG+jZ5+7YVuyVhB6+dRIIGbzp5Jrv5
 0DcKmmI51ngKpiWcos70AJh+inM5fRgEhW024IntInwn0Y8aEpTo4YAAXUIMQleF
 3An9CSjXuxHSdtJItIJtLLGhaV7i2k5xRWIM+hgpUcW2sYqUdfB0URp+pEg2Y/4k
 1btPXfWLbd0AGlXMwVv6QYdaKKhFE+0XcIK+HqsIec0qQlJ0lksdNJyNQTsxqCfP
 mQugcBwZJp/4RoMrT14RMFhPfAZjZAEZuh3IKBCMoKui4RS51YF6MNXevR2J5VYK
 BNotdb2+ceEtLOnaKReqYzXtl6MuSzLmPWKZrrA3l/CdtKXkAd6IUhjNvrNz5Nie
 cZyV3qhagZ3P3Q==
 =vwgx
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.2-rc2' into staging

RISC-V Fixes for 4.2-rc2

This contains a handful of patches that I'd like to target for 4.2:

* OpenSBI upgrade to 0.5
* Increase in the flash size of the virt board.
* A non-functional cleanup.
* A cleanup to our MIP handling that avoids atomics.

This passes "make check" and boots OpenEmbedded for me.

# gpg: Signature made Thu 14 Nov 2019 18:39:27 GMT
# gpg:                using RSA key 00CE76D1834960DFCE886DF8EF4CA1502CCBAB41
# gpg:                issuer "palmer@dabbelt.com"
# gpg: Good signature from "Palmer Dabbelt <palmer@dabbelt.com>" [unknown]
# gpg:                 aka "Palmer Dabbelt <palmer@sifive.com>" [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.2-rc2:
  riscv/virt: Increase flash size
  opensbi: Upgrade from v0.4 to v0.5
  target/riscv: Remove atomic accesses to MIP CSR
  remove unnecessary ifdef TARGET_RISCV64

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-11-15 11:22:33 +00:00
..
descriptors pc-bios: document the edk2 firmware images; add firmware descriptors 2019-04-17 15:38:35 +02:00
keymaps keymaps: regenerate keymaps 2019-03-18 12:06:04 +01:00
optionrom optionrom/pvh: load initrd from fw_cfg 2019-02-05 16:50:17 +01:00
s390-ccw pc-bios/s390-ccw/net: fix a possible memory leak in get_uuid() 2019-09-18 17:47:27 +02:00
bamboo.dtb PPC: Bamboo: recompile device tree 2012-01-21 05:17:00 +01:00
bamboo.dts PPC: Bamboo: recompile device tree 2012-01-21 05:17:00 +01:00
bios-256k.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
bios-microvm.bin roms: add microvm-bios (qboot) as binary and git submodule 2019-10-22 09:39:54 +02:00
bios.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
canyonlands.dtb ppc: Add aCube Sam460ex board 2018-03-06 13:16:29 +11:00
canyonlands.dts ppc: Add aCube Sam460ex board 2018-03-06 13:16:29 +11:00
edk2-aarch64-code.fd.bz2 pc-bios: refresh edk2 build artifacts for edk2-stable201905 2019-06-14 21:47:56 +02:00
edk2-arm-code.fd.bz2 pc-bios: refresh edk2 build artifacts for edk2-stable201905 2019-06-14 21:47:56 +02:00
edk2-arm-vars.fd.bz2 pc-bios: add edk2 firmware binaries and variable store templates 2019-04-17 15:38:35 +02:00
edk2-i386-code.fd.bz2 pc-bios: refresh edk2 build artifacts for edk2-stable201905 2019-06-14 21:47:56 +02:00
edk2-i386-secure-code.fd.bz2 pc-bios: refresh edk2 build artifacts for edk2-stable201905 2019-06-14 21:47:56 +02:00
edk2-i386-vars.fd.bz2 pc-bios: add edk2 firmware binaries and variable store templates 2019-04-17 15:38:35 +02:00
edk2-licenses.txt pc-bios: refresh edk2 build artifacts for edk2-stable201905 2019-06-14 21:47:56 +02:00
edk2-x86_64-code.fd.bz2 pc-bios: refresh edk2 build artifacts for edk2-stable201905 2019-06-14 21:47:56 +02:00
edk2-x86_64-secure-code.fd.bz2 pc-bios: refresh edk2 build artifacts for edk2-stable201905 2019-06-14 21:47:56 +02:00
efi-e1000.rom ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
efi-e1000e.rom ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
efi-eepro100.rom ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
efi-ne2k_pci.rom ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
efi-pcnet.rom ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
efi-rtl8139.rom ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
efi-virtio.rom ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
efi-vmxnet3.rom ipxe: update to latest git master 2019-01-22 07:27:59 +01:00
hppa-firmware.img Update seabios-hppa to latest upstream 2019-03-15 10:11:16 -07:00
kvmvapic.bin pc-bios: Remove execute flag from BIOS files 2014-01-16 14:46:19 +04:00
linuxboot_dma.bin linuxboot_dma: compile for i486 2017-06-07 18:22:02 +02:00
linuxboot.bin linuxboot: fix loading old kernels 2014-12-15 12:21:03 +01:00
Makefile pc-bios/Makefile: add a rule to produce dtb files 2009-03-07 04:56:06 +00:00
multiboot.bin pc-bios: Remove execute flag from BIOS files 2014-01-16 14:46:19 +04:00
openbios-ppc Update OpenBIOS images to 7e5b89e4 built from submodule. 2019-10-28 17:11:50 +00:00
openbios-sparc32 Update OpenBIOS images to 7e5b89e4 built from submodule. 2019-10-28 17:11:50 +00:00
openbios-sparc64 Update OpenBIOS images to 7e5b89e4 built from submodule. 2019-10-28 17:11:50 +00:00
opensbi-riscv32-virt-fw_jump.bin opensbi: Upgrade from v0.4 to v0.5 2019-11-14 09:53:28 -08:00
opensbi-riscv64-sifive_u-fw_jump.bin opensbi: Upgrade from v0.4 to v0.5 2019-11-14 09:53:28 -08:00
opensbi-riscv64-virt-fw_jump.bin opensbi: Upgrade from v0.4 to v0.5 2019-11-14 09:53:28 -08:00
palcode-clipper pc-bios: Update palcode-clipper 2019-03-25 13:37:18 -07:00
petalogix-ml605.dtb microblaze: Add PetaLogix ml605 MMU little-endian ref design 2011-03-16 15:18:58 +01:00
petalogix-s3adsp1800.dtb pc-bios: petalogix-s3adsp1800.dtb: Use 'xlnx, xps-ethernetlite-2.00.a' instead of 'xlnx, xps-ethernetlite-2.00.b' 2014-11-11 09:04:13 +03:00
ppc_rom.bin prep: Update ppc_rom.bin 2014-07-07 16:46:35 +02:00
pvh.bin optionrom/pvh: load initrd from fw_cfg 2019-02-05 16:50:17 +01:00
pxe-e1000.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-eepro100.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-ne2k_pci.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-pcnet.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-rtl8139.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
pxe-virtio.rom PXE: Refresh all PXE ROMs from the ipxe submodule 2011-04-18 11:46:41 -06:00
qemu_logo.svg Add QEMU logo (SVG file) 2014-04-28 08:55:31 +04:00
qemu_vga.ndrv QemuMacDrivers: update qemu_vga.ndrv to 90c488d built from submodule 2019-02-04 18:44:19 +11:00
qemu-nsis.bmp w32, w64: Add build rule for installer 2013-07-29 11:43:37 +02:00
qemu-nsis.ico w32, w64: Add build rule for installer 2013-07-29 11:43:37 +02:00
QEMU,cgthree.bin sun4m: Add Sun CG3 framebuffer and corresponding OpenBIOS FCode ROM 2014-02-27 10:01:41 +00:00
QEMU,tcx.bin Update OpenBIOS images 2014-11-04 00:02:33 +00:00
qemu.rsrc Makefile.target: set icon for binary file on Mac OS X 2015-05-19 09:11:17 +01:00
README pseries: Update SLOF firmware image 2019-10-24 09:36:55 +11:00
s390-ccw.img pc-bios/s390: Update firmware image with "Skip bootmap signature entries" fix 2019-05-08 11:26:01 +02:00
s390-netboot.img pc-bios/s390-ccw: Rebuild the s390-netboot.img firmware image 2019-09-18 17:47:27 +02:00
sgabios.bin sgabios: update for "fix wrong video attrs for int 10h,ah==13h" 2017-05-05 12:09:59 +02:00
skiboot.lid ppc/pnv: update skiboot to v6.4 2019-08-29 09:45:18 +10:00
slof.bin pseries: Update SLOF firmware image 2019-10-24 09:36:55 +11:00
u-boot-sam460-20100605.bin trivial: Make bios files and source files non-executable 2018-09-25 17:26:18 +02:00
u-boot.e500 PPC: E500: Update u-boot to v2019.01 2019-03-12 14:33:04 +11:00
vgabios-ati.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
vgabios-bochs-display.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
vgabios-cirrus.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
vgabios-qxl.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
vgabios-ramfb.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
vgabios-stdvga.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
vgabios-virtio.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
vgabios-vmware.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00
vgabios.bin seabios: update to pre-1.13 snapshot 2019-11-13 15:02:21 +01:00

- SeaBIOS (bios.bin) is the successor of pc bios.
  See http://www.seabios.org/ for more information.

- The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios
  project (http://www.nongnu.org/vgabios/).

- The PowerPC Open Hack'Ware Open Firmware Compatible BIOS is
  available at https://repo.or.cz/openhackware.git.

- OpenBIOS (http://www.openbios.org/) is a free (GPL v2) portable
  firmware implementation. The goal is to implement a 100% IEEE
  1275-1994 (referred to as Open Firmware) compliant firmware.
  The included images for PowerPC (for 32 and 64 bit PPC CPUs),
  Sparc32 (including QEMU,tcx.bin and QEMU,cgthree.bin) and Sparc64 are built
  from OpenBIOS SVN revision 1280.

- SLOF (Slimline Open Firmware) is a free IEEE 1275 Open Firmware
  implementation for certain IBM POWER hardware.  The sources are at
  https://github.com/aik/SLOF, and the image currently in qemu is
  built from git tag qemu-slof-20191022.

- sgabios (the Serial Graphics Adapter option ROM) provides a means for
  legacy x86 software to communicate with an attached serial console as
  if a video card were attached.  The master sources reside in a subversion
  repository at http://sgabios.googlecode.com/svn/trunk.  A git mirror is
  available at https://git.qemu.org/git/sgabios.git.

- The PXE roms come from the iPXE project. Built with BANNER_TIME 0.
  Sources available at http://ipxe.org.  Vendor:Device ID -> ROM mapping:

	8086:100e -> pxe-e1000.rom
	8086:1209 -> pxe-eepro100.rom
	1050:0940 -> pxe-ne2k_pci.rom
	1022:2000 -> pxe-pcnet.rom
	10ec:8139 -> pxe-rtl8139.rom
	1af4:1000 -> pxe-virtio.rom

- The sources for the Alpha palcode image is available from:
  https://github.com/rth7680/qemu-palcode.git

- The u-boot binary for e500 comes from the upstream denx u-boot project where
  it was compiled using the qemu-ppce500 target.
  A git mirror is available at: https://git.qemu.org/git/u-boot.git
  The hash used to compile the current version is: 2072e72

- Skiboot (https://github.com/open-power/skiboot/) is an OPAL
  (OpenPower Abstraction Layer) firmware for OpenPOWER systems. It can
  run an hypervisor OS or simply a host OS on the "baremetal"
  platform, also known as the PowerNV (Non-Virtualized) platform.

- QemuMacDrivers (https://github.com/ozbenh/QemuMacDrivers) is a project to
  provide virtualised drivers for PPC MacOS guests.

- The "edk2-*.fd.bz2" images are platform firmware binaries and matching UEFI
  variable store templates built from the TianoCore community's EFI Development
  Kit II project
  <https://github.com/tianocore/tianocore.github.io/wiki/EDK-II>. The images
  were built at git tag "edk2-stable201905". The firmware binaries bundle parts
  of the OpenSSL project, at git tag "OpenSSL_1_1_1b" (the OpenSSL tag is a
  function of the edk2 tag). Parts of the Berkeley SoftFloat library are
  bundled as well, at Release 3e plus a subsequent typo fix (commit
  b64af41c3276f97f0e181920400ee056b9c88037), as an OpenSSL dependency on 32-bit
  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.