blob: 4dd1860b485a346c41119046aad4aac00c9ab4d1 [file] [log] [blame]
Jun Nakajima4d07f562011-02-15 19:08:51 -08001This project has the source code to build two binaries: bios.bin and
2vgabios-cirrus.bin, which are required for x86 emulation in the
3Android emulator: platform/external/qemu.
4
5
6SOURCE CODE
7
8+ bios.bin: git://git.kernel.org/pub/scm/virt/bochs/bochs.git
9
Jun Nakajimabc028d42011-02-28 18:37:28 -080010 The file bios.bin is actually BIOS-bochs-latest, which is built from
Jun Nakajima4d07f562011-02-15 19:08:51 -080011bochs/bios. We used the following commit in the bochs git tree so that
12it can match with the qemu tree in platform/external/qemu:
13
14 commit 04387139e3b5ac97b5633cd40b3d87cdf45efd6c
15 Author: sshwarts <sshwarts>
16 Date: Mon Feb 9 19:46:34 2009 +0000
17
18 Fixed compilation error + x86-64 correctness fix
19
20 Since our purpose is to build only rombios16.bin, we populated part
21of the bochs tree in the git tree above.
22
23+ vgabios-cirrus.bin: git://git.kernel.org/pub/scm/virt/vgabios/vgabios.git
24
25 The file vgabios-cirrus.bin is VGABIOS-lgpl-latest.cirrus.bin, which
26is built by the tree, and we used the following commit.
27
28 commit 33636cbdd93da79c903b91b50ae087bb814b9332
29 Author: vruppert <vruppert>
30 Date: Mon Jan 31 17:28:09 2011 +0000
31
32 - added HDTV resolutions (patch by Tristan Schmelcher)
33
34TOOLS REQUIRED TO BUILD
35
36 The build requires dev86 rpm or bin86 & bcc debs version >= 0.16.14.
37(visit http://www.debath.co.uk/dev86/ for more information)
38
39HOW TO BUILD
40
41 Just run make like,
42 $ make
43
44 To clean up,
45 $ make clean
46
47OUTPUT
48
49 The two binaries rombios16.bin and VGABIOS-lgpl-latest.cirrus.binare
50copied from the directories accordingly, and renamed to bios.bin and
51vgabios-cirrus.bin.
52