qemu-e2k/pc-bios
Richard Henderson 79dbd910c9 target/hppa: Fix boot and reboot for SMP machines
Fix some SMP-related boot and reboot issues with HP-UX and Linux by
 correctly initializing the CPU PSW bits, disabling data and instruction
 translations and unhalting the CPU in the qemu hppa_machine_reset()
 function.
 
 To work correctly some fixes are needed in the SeaBIOS-hppa firmware too,
 which is why this series updates it to version 8 which includes those
 fixes and enhancements:
 
 Fixes
 - boot of HP-UX with SMP, and
 - reboot of Linux and HP-UX with SMP
 
 Enhancements:
 - show qemu version in boot menu
 - adds exit menu entry in boot menu to quit emulation
 - allow to trace PCD_CHASSIS codes more specifically
 
 Signed-off-by: Helge Deller <deller@gmx.de>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCZJbYWAAKCRD3ErUQojoP
 X6ExAQCmOXqwJw3SjSE/+hvphJ2mMTJe3i6dU3AWOGlACxxVzAEA7dKSU4d8EtRj
 NZpGKB9NE9eWwQFGJVbVgFeikap44gs=
 =8zCK
 -----END PGP SIGNATURE-----

Merge tag 'hppa-boot-reboot-fixes-pull-request' of https://github.com/hdeller/qemu-hppa into staging

target/hppa: Fix boot and reboot for SMP machines

Fix some SMP-related boot and reboot issues with HP-UX and Linux by
correctly initializing the CPU PSW bits, disabling data and instruction
translations and unhalting the CPU in the qemu hppa_machine_reset()
function.

To work correctly some fixes are needed in the SeaBIOS-hppa firmware too,
which is why this series updates it to version 8 which includes those
fixes and enhancements:

Fixes
- boot of HP-UX with SMP, and
- reboot of Linux and HP-UX with SMP

Enhancements:
- show qemu version in boot menu
- adds exit menu entry in boot menu to quit emulation
- allow to trace PCD_CHASSIS codes more specifically

Signed-off-by: Helge Deller <deller@gmx.de>

# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCZJbYWAAKCRD3ErUQojoP
# X6ExAQCmOXqwJw3SjSE/+hvphJ2mMTJe3i6dU3AWOGlACxxVzAEA7dKSU4d8EtRj
# NZpGKB9NE9eWwQFGJVbVgFeikap44gs=
# =8zCK
# -----END PGP SIGNATURE-----
# gpg: Signature made Sat 24 Jun 2023 01:49:44 PM CEST
# gpg:                using EDDSA key BCE9123E1AD29F07C049BBDEF712B510A23A0F5F
# gpg: Good signature from "Helge Deller <deller@gmx.de>" [unknown]
# gpg:                 aka "Helge Deller <deller@kernel.org>" [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: 4544 8228 2CD9 10DB EF3D  25F8 3E5F 3D04 A7A2 4603
#      Subkey fingerprint: BCE9 123E 1AD2 9F07 C049  BBDE F712 B510 A23A 0F5F

* tag 'hppa-boot-reboot-fixes-pull-request' of https://github.com/hdeller/qemu-hppa:
  target/hppa: Update to SeaBIOS-hppa version 8
  target/hppa: Provide qemu version via fw_cfg to firmware
  target/hppa: Fix OS reboot issues

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2023-06-25 08:58:49 +02:00
..
descriptors meson: unpack edk2 firmware even if --disable-blobs 2021-09-30 15:30:24 +02:00
keymaps pc-bios/keymaps: Use the official xkb name for Arabic layout, not the legacy synonym 2023-06-23 11:46:02 +01:00
optionrom replace TABs with spaces 2023-03-20 12:43:50 +01:00
s390-ccw pc-bios/s390-ccw: always build network bootloader 2023-06-06 16:30:01 +02:00
vof pc-bios/vof: Adopt meson style Make output 2022-10-06 11:53:40 +01:00
bamboo.dtb
bamboo.dts
bios-256k.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
bios-microvm.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
bios.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
canyonlands.dtb
canyonlands.dts
edk2-aarch64-code.fd.bz2 edk2: update firmware binaries 2023-03-20 10:36:31 +01:00
edk2-arm-code.fd.bz2 edk2: update firmware binaries 2023-03-20 10:36:31 +01:00
edk2-arm-vars.fd.bz2
edk2-i386-code.fd.bz2 edk2: update firmware binaries 2023-03-20 10:36:31 +01:00
edk2-i386-secure-code.fd.bz2 edk2: update firmware binaries 2023-03-20 10:36:31 +01:00
edk2-i386-vars.fd.bz2
edk2-licenses.txt
edk2-riscv.fd.bz2 edk2: update firmware binaries 2023-03-20 10:36:31 +01:00
edk2-x86_64-code.fd.bz2 edk2: update firmware binaries 2023-03-20 10:36:31 +01:00
edk2-x86_64-microvm.fd.bz2 edk2: update firmware binaries 2023-03-20 10:36:31 +01:00
edk2-x86_64-secure-code.fd.bz2 edk2: update firmware binaries 2023-03-20 10:36:31 +01:00
efi-e1000.rom
efi-e1000e.rom
efi-eepro100.rom
efi-ne2k_pci.rom
efi-pcnet.rom
efi-rtl8139.rom
efi-virtio.rom
efi-vmxnet3.rom
hppa-firmware.img target/hppa: Update to SeaBIOS-hppa version 8 2023-06-24 13:39:48 +02:00
kvmvapic.bin
linuxboot_dma.bin
linuxboot.bin
Makefile
meson.build hw/misc/sga: Remove the deprecated "sga" device 2023-02-14 09:02:42 +01:00
multiboot_dma.bin optionrom: add a DMA-enabled multiboot ROM 2021-11-02 15:57:27 +01:00
multiboot.bin
npcm7xx_bootrom.bin
openbios-ppc roms/openbios: update OpenBIOS images to af97fd7a built from submodule 2023-03-07 22:30:06 +00:00
openbios-sparc32 roms/openbios: update OpenBIOS images to af97fd7a built from submodule 2023-03-07 22:30:06 +00:00
openbios-sparc64 roms/openbios: update OpenBIOS images to af97fd7a built from submodule 2023-03-07 22:30:06 +00:00
opensbi-riscv32-generic-fw_dynamic.bin roms/opensbi: Upgrade from v1.1 to v1.2 2023-03-05 15:40:01 -08:00
opensbi-riscv64-generic-fw_dynamic.bin roms/opensbi: Upgrade from v1.1 to v1.2 2023-03-05 15:40:01 -08:00
palcode-clipper pc-bios: Update the palcode-clipper image 2021-06-28 07:27:32 -07:00
petalogix-ml605.dtb
petalogix-ml605.dts
petalogix-s3adsp1800.dtb
petalogix-s3adsp1800.dts
pvh.bin
pxe-e1000.rom
pxe-eepro100.rom
pxe-ne2k_pci.rom
pxe-pcnet.rom
pxe-rtl8139.rom
pxe-virtio.rom
qboot.rom qboot: rebuild based on latest commit 2022-09-27 11:30:59 +02:00
qemu_logo.svg
qemu_vga.ndrv
qemu-nsis.bmp
qemu-nsis.ico
QEMU,cgthree.bin
QEMU,tcx.bin
qemu.rsrc
README edk2: update submodule to edk2-stable202302 2023-03-20 10:36:24 +01:00
s390-ccw.img pc-bios/s390-ccw: Update s390-ccw.img with the list-directed IPL fix 2023-03-08 08:57:42 +01:00
s390-netboot.img pc-bios/s390-ccw: Update the s390-ccw bios binaries with the virtio-blk fixes 2022-07-06 18:37:46 +02:00
skiboot.lid ppc/pnv: Update skiboot to v7.0 2022-04-20 17:58:35 -03:00
slof.bin pseries: Update SLOF firmware image 2022-08-30 16:20:01 -03:00
u-boot-sam460-20100605.bin
u-boot.e500 roms/u-boot: Bump ppce500 u-boot to v2021.07 to add eTSEC support 2021-07-09 10:38:19 +10:00
vgabios-ati.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vgabios-bochs-display.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vgabios-cirrus.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vgabios-qxl.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vgabios-ramfb.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vgabios-stdvga.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vgabios-virtio.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vgabios-vmware.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vgabios.bin update seabios binaries to 1.16.2 2023-03-16 11:04:18 +01:00
vof-nvram.bin spapr: Implement Open Firmware client interface 2021-07-09 10:38:19 +10:00
vof.bin spapr: Fix implementation of Open Firmware client interface 2021-07-09 10:55:11 +10: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/).

- 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-20220719.

- VOF (Virtual Open Firmware) is a minimalistic firmware to work with
  -machine pseries,x-vof=on. When enabled, the firmware acts as a slim shim and
  QEMU implements parts of the IEEE 1275 Open Firmware interface.

- 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://gitlab.com/qemu-project/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-stable202302". The firmware binaries bundle parts
  of the OpenSSL project, at git tag "OpenSSL_1_1_1s" (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.

- npcm7xx_bootrom.bin is a simplified, free (Apache 2.0) boot ROM for Nuvoton
  NPCM7xx BMC devices. It currently implements the bare minimum to load, parse,
  initialize and run boot images stored in SPI flash, but may grow more
  features over time as needed. The source code is available at:
  https://github.com/google/vbootrom