Difference between revisions of "QEMU"

From coreboot
Jump to navigation Jump to search
(→‎Ready-made QEMU images: First ready-made QEMU image containing coreboot v3 and coreinfo.)
(Notes about vgabios-cirrus.bin.)
Line 9: Line 9:


We'll soon provide various downloadable QEMU images you can use to try out coreboot.
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 ===
=== coreboot v3 + coreinfo ===


[[Image:Coreinfo nvram.png|thumb|right|coreinfo NVRAM dump.]]
$ mkdir tmp
$ cd tmp
  $ wget http://www.coreboot.org/images/0/06/Qemu_coreboot_coreinfo.zip
  $ 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 Qemu_coreboot_coreinfo.zip
  $ qemu -L . -hda /dev/zero -serial -stdio
$ unzip Vgabios-cirrus.zip
$ cd ..
  $ qemu -L tmp -hda /dev/zero -serial -stdio

Revision as of 21:53, 31 March 2008

You can easily try out coreboot using QEMU, without having to actually flash the BIOS chip on your real hardware.

Tutorials

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

coreinfo NVRAM dump.
$ mkdir tmp
$ cd tmp
$ 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
$ cd ..
$ qemu -L tmp -hda /dev/zero -serial -stdio