xref: /openbmc/qemu/pc-bios/README (revision 2e689e8b5b9425eca64f301ddd69259dd36f4ca6)
1c0ced0f3SStefan Weil- SeaBIOS (bios.bin) is the successor of pc bios.
2c0ced0f3SStefan Weil  See http://www.seabios.org/ for more information.
3f5dc4c7cSaliguori
47f5d44e0Sbellard- The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios
5c34ebfdcSAnthony Liguori  project (http://www.nongnu.org/vgabios/).
6fa36761dSbellard
70986ac3bSbellard- OpenBIOS (http://www.openbios.org/) is a free (GPL v2) portable
80986ac3bSbellard  firmware implementation. The goal is to implement a 100% IEEE
90986ac3bSbellard  1275-1994 (referred to as Open Firmware) compliant firmware.
100bce98dfSBlue Swirl  The included images for PowerPC (for 32 and 64 bit PPC CPUs),
119eb08a43SMark Cave-Ayland  Sparc32 (including QEMU,tcx.bin and QEMU,cgthree.bin) and Sparc64 are built
125264917bSMark Cave-Ayland  from OpenBIOS SVN revision 1280.
13eec85c2aSths
14a9f8ad8fSDavid Gibson- SLOF (Slimline Open Firmware) is a free IEEE 1275 Open Firmware
15a9f8ad8fSDavid Gibson  implementation for certain IBM POWER hardware.  The sources are at
167f98b4f2SAlexey Kardashevskiy  https://gitlab.com/slof/slof, and the image currently in qemu is
177f98b4f2SAlexey Kardashevskiy  built from git tag qemu-slof-20241106.
18a9f8ad8fSDavid Gibson
19fc8c745dSAlexey Kardashevskiy- VOF (Virtual Open Firmware) is a minimalistic firmware to work with
20fc8c745dSAlexey Kardashevskiy  -machine pseries,x-vof=on. When enabled, the firmware acts as a slim shim and
21fc8c745dSAlexey Kardashevskiy  QEMU implements parts of the IEEE 1275 Open Firmware interface.
22fc8c745dSAlexey Kardashevskiy
2336d8d02dSAlex Williamson- The PXE roms come from the iPXE project. Built with BANNER_TIME 0.
2436d8d02dSAlex Williamson  Sources available at http://ipxe.org.  Vendor:Device ID -> ROM mapping:
2574b12befSAnthony Liguori
2636d8d02dSAlex Williamson	8086:100e -> pxe-e1000.rom
2736d8d02dSAlex Williamson	8086:1209 -> pxe-eepro100.rom
2836d8d02dSAlex Williamson	1050:0940 -> pxe-ne2k_pci.rom
2936d8d02dSAlex Williamson	1022:2000 -> pxe-pcnet.rom
3036d8d02dSAlex Williamson	10ec:8139 -> pxe-rtl8139.rom
3136d8d02dSAlex Williamson	1af4:1000 -> pxe-virtio.rom
32fe270d04SAlexander Graf
33753d11f2SRichard Henderson- The sources for the Alpha palcode image is available from:
3406bef596SStefan Hajnoczi  https://github.com/rth7680/qemu-palcode.git
354e73c781SAlexander Graf
364e73c781SAlexander Graf- The u-boot binary for e500 comes from the upstream denx u-boot project where
374e73c781SAlexander Graf  it was compiled using the qemu-ppce500 target.
38c5ea4ec1SStefan Hajnoczi  A git mirror is available at: https://gitlab.com/qemu-project/u-boot.git
394e73c781SAlexander Graf  The hash used to compile the current version is: 2072e72
40bcad45deSCédric Le Goater
41bcad45deSCédric Le Goater- Skiboot (https://github.com/open-power/skiboot/) is an OPAL
42bcad45deSCédric Le Goater  (OpenPower Abstraction Layer) firmware for OpenPOWER systems. It can
43bcad45deSCédric Le Goater  run an hypervisor OS or simply a host OS on the "baremetal"
44bcad45deSCédric Le Goater  platform, also known as the PowerNV (Non-Virtualized) platform.
450806b30cSMark Cave-Ayland
4680f93213SNicholas Piggin- pnv-pnor.bin is a non-volatile RAM image used by PowerNV, which stores
4780f93213SNicholas Piggin  NVRAM BIOS settings among other things. This image was created with the
4880f93213SNicholas Piggin  following command (the ffspart tool can be found in the skiboot source tree):
4980f93213SNicholas Piggin
5080f93213SNicholas Piggin  ffspart -s 0x1000 -c 34 -i pnv-pnor.in -p pnv-pnor.bin
5180f93213SNicholas Piggin
5280f93213SNicholas Piggin  Where pnv-pnor.in contains the two lines (no leading whitespace):
5380f93213SNicholas Piggin
5480f93213SNicholas Piggin  NVRAM,0x01000,0x00020000,,,/dev/zero
5580f93213SNicholas Piggin  VERSION,0x21000,0x00001000,,,/dev/zero
5680f93213SNicholas Piggin
5780f93213SNicholas Piggin  skiboot is then booted once to format the NVRAM partition.
5880f93213SNicholas Piggin
590806b30cSMark Cave-Ayland- QemuMacDrivers (https://github.com/ozbenh/QemuMacDrivers) is a project to
600806b30cSMark Cave-Ayland  provide virtualised drivers for PPC MacOS guests.
6113814db0SLaszlo Ersek
6213814db0SLaszlo Ersek- The "edk2-*.fd.bz2" images are platform firmware binaries and matching UEFI
6313814db0SLaszlo Ersek  variable store templates built from the TianoCore community's EFI Development
6413814db0SLaszlo Ersek  Kit II project
6513814db0SLaszlo Ersek  <https://github.com/tianocore/tianocore.github.io/wiki/EDK-II>. The images
669e8a55aaSGerd Hoffmann  were built at git tag "edk2-stable202302". The firmware binaries bundle parts
679e8a55aaSGerd Hoffmann  of the OpenSSL project, at git tag "OpenSSL_1_1_1s" (the OpenSSL tag is a
68541617caSLaszlo Ersek  function of the edk2 tag). Parts of the Berkeley SoftFloat library are
69541617caSLaszlo Ersek  bundled as well, at Release 3e plus a subsequent typo fix (commit
70541617caSLaszlo Ersek  b64af41c3276f97f0e181920400ee056b9c88037), as an OpenSSL dependency on 32-bit
71541617caSLaszlo Ersek  ARM. Licensing information is given in "edk2-licenses.txt". The image files
72541617caSLaszlo Ersek  are described by the JSON documents in the "pc-bios/descriptors" directory,
73541617caSLaszlo Ersek  which conform to the "docs/interop/firmware.json" schema.
7491f3a2f0SAlistair Francis
7591f3a2f0SAlistair Francis- OpenSBI (https://github.com/riscv/opensbi) aims to provide an open-source
7691f3a2f0SAlistair Francis  reference implementation of the RISC-V Supervisor Binary Interface (SBI)
7791f3a2f0SAlistair Francis  specifications for platform-specific firmwares executing in M-mode. For all
7891f3a2f0SAlistair Francis  supported platforms, OpenSBI provides several runtime firmware examples.
7991f3a2f0SAlistair Francis  These example firmwares can be used to replace the legacy riscv-pk bootloader
8091f3a2f0SAlistair Francis  and enable the use of well-known bootloaders such as U-Boot.
8191f3a2f0SAlistair Francis  OpenSBI is distributed under the terms of the BSD 2-clause license
8291f3a2f0SAlistair Francis  ("Simplified BSD License" or "FreeBSD License", SPDX: BSD-2-Clause). OpenSBI
83a0e93dd8SManos Pitsidianakis  source code also contains code reused from other projects described here:
8491f3a2f0SAlistair Francis  https://github.com/riscv/opensbi/blob/master/ThirdPartyNotices.md.
85d1cb5edaSHavard Skinnemoen
86269b7effSHao Wu- npcm{7xx,8xx}_bootrom.bin is a simplified, free (Apache 2.0) boot ROM for
87269b7effSHao Wu  Nuvoton NPCM7xx/8xx BMC devices. It currently implements the bare minimum to
88269b7effSHao Wu  load, parse, initialize and run boot images stored in SPI flash, but may grow
89269b7effSHao Wu  more features over time as needed. The source code is available at:
90d1cb5edaSHavard Skinnemoen  https://github.com/google/vbootrom
912536c15aSHelge Deller
92*2e689e8bSJamin Lin- ast27x0_bootrom.bin is a simplified, free (Apache 2.0) boot ROM for
93*2e689e8bSJamin Lin  ASPEED AST27x0 BMC SOC. It currently implements the bare minimum to
94*2e689e8bSJamin Lin  load, parse, initialize and run boot images stored in SPI flash, but may grow
95*2e689e8bSJamin Lin  more features over time as needed. The source code is available at:
96*2e689e8bSJamin Lin  https://github.com/google/vbootrom
97*2e689e8bSJamin Lin
982536c15aSHelge Deller- hppa-firmware.img (32-bit) and hppa-firmware64.img (64-bit) are firmware
992536c15aSHelge Deller  files for the HP-PARISC (hppa) architecture.
1002536c15aSHelge Deller  They are built form the SeaBIOS-hppa sources, which is a fork of SeaBIOS
1012536c15aSHelge Deller  adapted for hppa.
1022536c15aSHelge Deller  SeaBIOS-hppa is available at https://github.com/hdeller/seabios-hppa
103