QEMU: Difference between revisions
(→Ready-made QEMU images: coreboot v3 + OpenBIOS QEMU image.) |
|||
Line 72: | Line 72: | ||
$ qemu -L foo -hda /dev/zero -serial stdio | $ qemu -L foo -hda /dev/zero -serial stdio | ||
=== coreboot v3 + OpenBIOS === | |||
[[Image:Qemu coreboot openbios.png|thumb|right|[[OpenBIOS]] payload.]] | |||
This is coreboot v3 (r672) and [[OpenBIOS]] (r186). | |||
$ mkdir foo | |||
$ cd foo | |||
$ wget http://www.coreboot.org/images/9/9d/Qemu_coreboot_openbios.zip | |||
$ wget http://www.coreboot.org/images/0/0d/Vgabios-cirrus.zip | |||
$ unzip Qemu_coreboot_openbios.zip | |||
$ unzip Vgabios-cirrus.zip | |||
$ mv qemu_coreboot_openbios.bin bios.bin | |||
$ cd .. | |||
$ qemu -L foo -hda /dev/zero -serial stdio | |||
{{PD-self}} | {{PD-self}} |
Revision as of 13:41, 30 April 2008
You can easily try out coreboot using QEMU, without having to actually flash the BIOS chip on your real hardware.
Tutorials
- QEMU Build Tutorial — Starting a Debian GNU/Linux system via coreboot + a Linux kernel, or via coreboot + FILO.
- Booting FreeBSD using coreboot — Booting FreeBSD via coreboot + ADLO.
Ready-made QEMU images
We'll soon provide various downloadable QEMU images you can use to try out coreboot.
You need a patched version of vgabios-cirrus.zip for these images to work fine, the version in QEMU's CVS repository does not yet work. The image from Debian's QEMU package (/usr/share/qemu/vgabios-cirrus.bin) is already patched and works, too.
coreboot v3 + coreinfo
$ mkdir foo $ cd foo $ wget http://www.coreboot.org/images/0/06/Qemu_coreboot_coreinfo.zip $ wget http://www.coreboot.org/images/0/0d/Vgabios-cirrus.zip $ unzip Qemu_coreboot_coreinfo.zip $ unzip Vgabios-cirrus.zip $ mv qemu_coreboot_coreinfo.bin bios.bin $ cd .. $ qemu -L foo -hda /dev/zero -serial stdio
coreboot v3 + invaders
$ mkdir foo $ cd foo $ wget http://www.coreboot.org/images/c/c8/Qemu_coreboot_invaders.zip $ wget http://www.coreboot.org/images/0/0d/Vgabios-cirrus.zip $ unzip Qemu_coreboot_invaders.zip $ unzip Vgabios-cirrus.zip $ mv qemu_coreboot_invaders.bin bios.bin $ cd .. $ qemu -L foo -hda /dev/zero -serial stdio
coreboot v3 + libpayload + tint
This is coreboot v3 (r656), libpayload (r3225), and tint 0.03b patched to be built against libpayload.
$ mkdir foo $ cd foo $ wget http://www.coreboot.org/images/6/62/Qemu_libpayload_tint.zip $ wget http://www.coreboot.org/images/0/0d/Vgabios-cirrus.zip $ unzip Qemu_libpayload_tint.zip $ unzip Vgabios-cirrus.zip $ mv qemu_libpayload_tint.bin bios.bin $ cd .. $ qemu -L foo -hda /dev/zero -serial stdio
coreboot v3 + Memtest86
This is coreboot v3 (r656) and Memtest86 (3.4) with serial support enabled. The VGA display in QEMU is broken after a few seconds, this is a known issue, but we don't yet know what exactly the problem is.
$ mkdir foo $ cd foo $ wget http://www.coreboot.org/images/3/33/Qemu_coreboot_memtest.zip $ wget http://www.coreboot.org/images/0/0d/Vgabios-cirrus.zip $ unzip Qemu_coreboot_memtest.zip $ unzip Vgabios-cirrus.zip $ mv qemu_coreboot_memtest.bin bios.bin $ cd .. $ qemu -L foo -hda /dev/zero -serial stdio
coreboot v3 + OpenBIOS
This is coreboot v3 (r672) and OpenBIOS (r186).
$ mkdir foo $ cd foo $ wget http://www.coreboot.org/images/9/9d/Qemu_coreboot_openbios.zip $ wget http://www.coreboot.org/images/0/0d/Vgabios-cirrus.zip $ unzip Qemu_coreboot_openbios.zip $ unzip Vgabios-cirrus.zip $ mv qemu_coreboot_openbios.bin bios.bin $ cd .. $ qemu -L foo -hda /dev/zero -serial stdio
I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.
In case this is not legally possible: |