Skip to contentSkip to conversation

[6109] Add BIOS build instructions (Andre Przywara)

Qemu-devel Anthony Liguori 1 participant 1 message Dec 19, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 6109

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6109
Author:   aliguori
Date:     2008-12-19 16:22:03 +0000 (Fri, 19 Dec 2008)

Log Message:
-----------
Add BIOS build instructions (Andre Przywara)

aliguori: did a little indenting and motion for aesthics.

Modified Paths:
--------------
trunk/pc-bios/README

Modified: trunk/pc-bios/README
===================================================================

pc-bios/README +21 -0
@@ -4,6 +4,27 @@
   that HEAD refers to is located at
   git://git.kernel.org/pub/scm/virt/bochs/bochs.git
 
+  To build these use the following instructions:
+  using guilt:
+  $ export QEMUSRC=/path/to/qemu/svn
+  $ git clone git://git.kernel.org/pub/scm/virt/bochs/bochs.git
+  $ cd bochs
+  $ git checkout -b qemu-bios $(cat $QEMUSRC/pc-bios/bios-pq/HEAD)
+
+  $ mkdir -p .git/patches
+  $ ln -s $QEMUSRC/pc-bios/bios-pq .git/patches/qemu-bios
+  $ touch .git/patches/qemu-bios/status
+  $ guilt push -a
+  $ ./configure
+  $ cd bios
+  $ make
+  $ cp BIOS-bochs-latest $QEMUSRC/pc-bios/bios.bin
+
+  or alternatively (after the git checkout):
+  $ for p in $(cat $QEMUSRC/pc-bios/bios-pq/series); do git am $p; done
+  $ ./configure
+  $ make bios
+
 - The VGA BIOS and the Cirrus VGA BIOS come from the LGPL VGA bios
   project (http://www.nongnu.org/vgabios/).  The binary is based on the revision
   in vgabios-pq/HEAD with the patches in vgabios-pq/series applied.  The git