Jun Nakajima | 4d07f56 | 2011-02-15 19:08:51 -0800 | [diff] [blame] | 1 | This project has the source code to build two binaries: bios.bin and |
| 2 | vgabios-cirrus.bin, which are required for x86 emulation in the |
| 3 | Android emulator: platform/external/qemu. |
| 4 | |
| 5 | |
| 6 | SOURCE CODE |
| 7 | |
| 8 | + bios.bin: git://git.kernel.org/pub/scm/virt/bochs/bochs.git |
| 9 | |
Jun Nakajima | bc028d4 | 2011-02-28 18:37:28 -0800 | [diff] [blame] | 10 | The file bios.bin is actually BIOS-bochs-latest, which is built from |
Jun Nakajima | 4d07f56 | 2011-02-15 19:08:51 -0800 | [diff] [blame] | 11 | bochs/bios. We used the following commit in the bochs git tree so that |
| 12 | it 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 |
| 21 | of 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 |
| 26 | is 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 | |
| 34 | TOOLS 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 | |
| 39 | HOW TO BUILD |
| 40 | |
| 41 | Just run make like, |
| 42 | $ make |
| 43 | |
| 44 | To clean up, |
| 45 | $ make clean |
| 46 | |
| 47 | OUTPUT |
| 48 | |
| 49 | The two binaries rombios16.bin and VGABIOS-lgpl-latest.cirrus.binare |
| 50 | copied from the directories accordingly, and renamed to bios.bin and |
| 51 | vgabios-cirrus.bin. |
| 52 | |