aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 9fb71134ff80d7cab34c9d3543c4c8ca79227406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
This project has the source code to build two binaries: bios.bin and
vgabios-cirrus.bin, which are required for x86 emulation in the
Android emulator: platform/external/qemu.


SOURCE CODE

+ bios.bin: git://git.kernel.org/pub/scm/virt/bochs/bochs.git

  The file bios.bin is actually rombios16.bin, which is built from
bochs/bios. We used the following commit in the bochs git tree so that
it can match with the qemu tree in platform/external/qemu:

    commit 04387139e3b5ac97b5633cd40b3d87cdf45efd6c
    Author: sshwarts <sshwarts>
    Date:   Mon Feb 9 19:46:34 2009 +0000

        Fixed compilation error + x86-64 correctness fix

  Since our purpose is to build only rombios16.bin, we populated part
of the bochs tree in the git tree above.

+ vgabios-cirrus.bin: git://git.kernel.org/pub/scm/virt/vgabios/vgabios.git

  The file vgabios-cirrus.bin is VGABIOS-lgpl-latest.cirrus.bin, which
is built by the tree, and we used the following commit.

    commit 33636cbdd93da79c903b91b50ae087bb814b9332
    Author: vruppert <vruppert>
    Date:   Mon Jan 31 17:28:09 2011 +0000

        - added HDTV resolutions (patch by Tristan Schmelcher)

TOOLS REQUIRED TO BUILD

  The build requires dev86 rpm or bin86 & bcc debs version >= 0.16.14.
(visit http://www.debath.co.uk/dev86/ for more information)

HOW TO BUILD

  Just run make like,
  $ make

  To clean up, 
  $ make clean

OUTPUT
  
  The two binaries rombios16.bin and VGABIOS-lgpl-latest.cirrus.binare
copied from the directories accordingly, and renamed to bios.bin and
vgabios-cirrus.bin.