xref: /openbmc/qemu/pc-bios/README (revision f5dc4c7c9f36561d9edf65162335d5e0666c3883)
1ca7b25e3Saliguori- The PC BIOS comes from the Bochs project (http://bochs.sourceforge.net/).
2ca7b25e3Saliguori  The patches in bios-pq have been applied. The binary is based on the revision
3ca7b25e3Saliguori  in bios-pq/HEAD with the patches in bios-pq/series applied.  The git repo
411570ed3Saliguori  that HEAD refers to is located at
511570ed3Saliguori  git://git.kernel.org/pub/scm/virt/bochs/bochs.git
63f433d2cSbellard
7*f5dc4c7cSaliguori  To build these use the following instructions:
8*f5dc4c7cSaliguori  using guilt:
9*f5dc4c7cSaliguori  $ export QEMUSRC=/path/to/qemu/svn
10*f5dc4c7cSaliguori  $ git clone git://git.kernel.org/pub/scm/virt/bochs/bochs.git
11*f5dc4c7cSaliguori  $ cd bochs
12*f5dc4c7cSaliguori  $ git checkout -b qemu-bios $(cat $QEMUSRC/pc-bios/bios-pq/HEAD)
13*f5dc4c7cSaliguori
14*f5dc4c7cSaliguori  $ mkdir -p .git/patches
15*f5dc4c7cSaliguori  $ ln -s $QEMUSRC/pc-bios/bios-pq .git/patches/qemu-bios
16*f5dc4c7cSaliguori  $ touch .git/patches/qemu-bios/status
17*f5dc4c7cSaliguori  $ guilt push -a
18*f5dc4c7cSaliguori  $ ./configure
19*f5dc4c7cSaliguori  $ cd bios
20*f5dc4c7cSaliguori  $ make
21*f5dc4c7cSaliguori  $ cp BIOS-bochs-latest $QEMUSRC/pc-bios/bios.bin
22*f5dc4c7cSaliguori
23*f5dc4c7cSaliguori  or alternatively (after the git checkout):
24*f5dc4c7cSaliguori  $ for p in $(cat $QEMUSRC/pc-bios/bios-pq/series); do git am $p; done
25*f5dc4c7cSaliguori  $ ./configure
26*f5dc4c7cSaliguori  $ make bios
27*f5dc4c7cSaliguori
287f5d44e0Sbellard- The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios
296f484e73Saliguori  project (http://www.nongnu.org/vgabios/).  The binary is based on the revision
306f484e73Saliguori  in vgabios-pq/HEAD with the patches in vgabios-pq/series applied.  The git
316f484e73Saliguori  repo that HEAD refers to is located at
326f484e73Saliguori  git://git.kernel.org/pub/scm/virt/vgabios/vgabios.git
33fa36761dSbellard
34fa36761dSbellard- The PowerPC Open Hack'Ware Open Firmware Compatible BIOS is
3533d08439Sbellard  available at http://perso.magic.fr/l_indien/OpenHackWare/index.htm.
368d5f07faSbellard
3733d08439Sbellard- video.x is a PowerMac NDRV compatible driver for a VGA frame
3833d08439Sbellard  buffer. It comes from the Mac-on-Linux project
3933d08439Sbellard  (http://www.maconlinux.org/).
400986ac3bSbellard
410986ac3bSbellard- OpenBIOS (http://www.openbios.org/) is a free (GPL v2) portable
420986ac3bSbellard  firmware implementation. The goal is to implement a 100% IEEE
430986ac3bSbellard  1275-1994 (referred to as Open Firmware) compliant firmware.
44b031ebc5Sblueswir1  The included Sparc32 and Sparc64 images are built from SVN revision 237.
45eec85c2aSths
46eec85c2aSths- The PXE roms come from Rom-o-Matic etherboot 5.4.2.
47eec85c2aSths  pcnet32:pcnet32 -- [0x1022,0x2000]
48eec85c2aSths  ns8390:winbond940 -- [0x1050,0x0940]
49eec85c2aSths  rtl8139:rtl8139 -- [0x10ec,0x8139]
50eec85c2aSths  http://rom-o-matic.net/
51