summaryrefslogtreecommitdiffstats
path: root/pc-bios
Commit message (Collapse)AuthorAgeFilesLines
* S390: ccw firmware: Add compiled blobAlexander Graf2013-04-261-0/+0
| | | | | | | | Now that we have all the source code ready, add a compiled blob into the QEMU source tree, so that people without access to an s390 compiler can run the s390-ccw firmware. Signed-off-by: Alexander Graf <agraf@suse.de>
* s390-ccw.img: Get queue config from host.Cornelia Huck2013-04-262-3/+12
| | | | | | | Ask the host about the configuration instead of guessing it. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* s390-ccw.img: Rudimentary error checking.Cornelia Huck2013-04-261-6/+15
| | | | | | | Try to handle at least some of the errors that may happen. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* s390-ccw.img: Enhance drain_irqs().Cornelia Huck2013-04-261-2/+11
| | | | | | | | - Use tpi + tsch to get interrupts. - Return an error if the irb indicates problems. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* s390-ccw.img: Detect devices with stsch.Cornelia Huck2013-04-261-3/+6
| | | | | | | | | stsch is the canonical way to detect devices. As a bonus, we can abort the loop if we get cc 3, and we need to check only the valid devices (dnv set). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* s390-ccw.img: Fix compile warning in s390 ccw virtio codeChristian Borntraeger2013-04-261-1/+3
| | | | | | | | | | | Lets fix this gcc warning: virtio.c: In function ‘vring_send_buf’: virtio.c:125:35: error: operation on ‘vr->next_idx’ may be undefined [-Werror=sequence-point] Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* s390-ccw.img: Take care of the elf->img transitionChristian Borntraeger2013-04-261-2/+2
| | | | | | | | We have to call strip with s390-ccw.elf as input and s390-ccw.img as output Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* s390-ccw.img: replace while loop with a disabled wait on s390 biosChristian Borntraeger2013-04-263-0/+20
| | | | | | | | dont waste cpu power on an error condition. Lets stop the guest with a disabled wait. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
* S390: ccw firmware: Add MakefileAlexander Graf2013-04-261-0/+26
| | | | | | | | This patch adds a makefile, so we can build our ccw firmware. Also add the resulting binaries to .gitignore, so that nobody is annoyed they might be in the tree. Signed-off-by: Alexander Graf <agraf@suse.de>
* S390: ccw firmware: Add bootmap interpreterAlexander Graf2013-04-261-0/+235
| | | | | | | | On s390, there is an architected boot map format that we can read to boot a certain entry off the disk. Implement a simple reader for this that always boots the first (default) entry. Signed-off-by: Alexander Graf <agraf@suse.de>
* S390: ccw firmware: Add glue headerAlexander Graf2013-04-261-0/+131
| | | | | | | | | Like all great programs, we have to call between different functions in different object files. And all of them need a common ground of defines. Provide a file that provides these defines. Signed-off-by: Alexander Graf <agraf@suse.de>
* S390: ccw firmware: Add virtio device driversAlexander Graf2013-04-263-0/+754
| | | | | | | In order to boot, we need to be able to access a virtio-blk device through the CCW bus. Implement support for this. Signed-off-by: Alexander Graf <agraf@suse.de>
* S390: ccw firmware: Add sclp outputAlexander Graf2013-04-262-0/+188
| | | | | | | | | | In order to communicate with the user, we need an I/O mechanism that he can read. Implement SCLP ASCII support, which happens to be the default in the s390 ccw machine. This file is missing read support for now. It can only print messages. Signed-off-by: Alexander Graf <agraf@suse.de>
* S390: ccw firmware: Add main programAlexander Graf2013-04-261-0/+56
| | | | | | | | This C file is the main driving piece of the s390 ccw firmware. It provides a search for a workable block device, sets it as the default to boot off of and boots from it. Signed-off-by: Alexander Graf <agraf@suse.de>
* S390: ccw firmware: Add start assemblyAlexander Graf2013-04-261-0/+16
| | | | | | | We want to write most of our code in C, so add a small assembly stub that jumps straight into C code for us to continue booting. Signed-off-by: Alexander Graf <agraf@suse.de>
* hw: move headers to include/Paolo Bonzini2013-04-081-1/+1
| | | | | | | | | Many of these should be cleaned up with proper qdev-/QOM-ification. Right now there are many catch-all headers in include/hw/ARCH depending on cpu.h, and this makes it necessary to compile these files per-target. However, fixing this does not belong in these patches. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* ipxe: update binariesGerd Hoffmann2013-03-256-0/+0
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Add efi rom binariesGerd Hoffmann2013-03-186-0/+0
| | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* update seabios to 1.7.2.1Gerd Hoffmann2013-02-281-0/+0
| | | | | | | | | | | | | | | | | | | Alex Williamson (3): seabios q35: Enable all PIRQn IRQs at startup seabios q35: Add new PCI slot to irq routing function seabios: Add a dummy PCI slot to irq mapping function Avik Sil (1): USB-EHCI: Fix null pointer assignment Kevin O'Connor (4): Update tools/acpi_extract.py to handle iasl 20130117 release. Fix Makefile - don't reference "out/" directly, instead use "$(OUT)". build: Don't require $(OUT) to be a sub-directory of the main directory. Verify CC is valid during build tests. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Revert "Update OpenBIOS images"Alexander Graf2013-02-144-1/+1
| | | | | | | | | | | This reverts commit 10442558ab1797bfbb01285b909e34c5cf038f12. With the updated OpenBIOS image, -M g3beige fails to boot quik. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-id: 1360796292-27078-1-git-send-email-agraf@suse.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Update OpenBIOS imagesBlue Swirl2013-02-094-1/+1
| | | | | | Update OpenBIOS images to SVN r1097 built from submodule. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* bios: recompile BIOSAnthony Liguori2013-02-051-0/+0
| | | | | | | | | | | | | | SeaBIOS is really close to spilling over to 256k. Until we can better handle migration across RAM block size changes, recompile SeaBIOS with a compiler that causes the binary to still fit in 128k. This was built with: gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC) On 64-bit Fedora 18. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* seabios: update to 1.7.2 releaseGerd Hoffmann2013-01-213-0/+0
| | | | | | | | | | | | | | | | | | Not that many changes as we have a pretty recent git snapshot in master already: Hannes Reinecke (1): megasas: Invert PCI device selection Kevin O'Connor (2): Minor: Separate UUID display from F12 boot prompt. boot: Support "halt" in the boot order to prevent default boot attempts. Laszlo Ersek (1): display_uuid(): fix incomplete check after the loop Paolo Bonzini (1): vgabios: implement AX=1120H..1124H functions
* Update seabios to a810e4e72a0d42c7bc04eda57382f8e019add901Gerd Hoffmann2012-12-203-0/+0
| | | | | | | | | | | | | | | | | | | | | | | git shortlog: Kevin O'Connor (6): floppy: Minor - reduce handle_0e code size when CONFIG_FLOPPY is disabled. vga: Minor comment spelling fix. Don't recursively evaluate CFLAGS variables. Don't use gcc's -combine option. Add compile checking phase to build. acpi: Use prt_slot() macro to describe irq pins of first PCI device. Laszlo Ersek (1): maininit(): print machine UUID under seabios version message Paolo Bonzini (1): acpi: reintroduce LNKS Paolo's patch fixes the FreeBSD boot failure. Cc: qemu-stable@nongnu.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agrafBlue Swirl2012-12-152-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf: (40 commits) pseries: Increase default NVRAM size target-ppc: Don't use hwaddr to represent hardware state PPC: e500: pci: Export slot2irq calculation PPC: E500plat: Make a lot of PCI slots available PPC: E500: Move PCI slot information into params PPC: E500: Generate dt pci irq map dynamically PPC: E500: PCI: Make IRQ calculation more generic PPC: E500: PCI: Make first slot qdev settable openpic: Accelerate pending irq search openpic: fix minor coding style issues MSI-X: Fix endianness PPC: e500: Declare pci bridge as bridge PPC: e500: Add MSI support openpic: add Shared MSI support openpic: make brr1 model specific openpic: convert to qdev openpic: remove irq_out openpic: rename openpic_t to OpenPICState openpic: convert simple reg operations to builtin bitops openpic: remove unused type variable ...
| * pseries: Update SLOF for NVRAM supportDavid Gibson2012-12-142-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Now that we have implemented PAPR compatible NVRAM interfaces in qemu, this updates the SLOF firmware to actually initialize and use the NVRAM as a PAPR guest firmware is expected to do. This SLOF update also includes an ugly but useful workaround for a bug in the SLES11 installer which caused it to fail under KVM. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
* | seabios: update to e8a76b0f225bba5ba9d63ab227e0a37b3beb1059Gerd Hoffmann2012-12-113-0/+0
|/ | | | | | | | | | | | | This patch updates seabios to latest git master. Changes: (1) q35 patches merged. (2) some acpi cleanups. (3) fixes irq 8 conflict. (3) makes this a candidate for the stable branch Cc: qemu-stable@nongnu.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Merge remote-tracking branch 'kraxel/seabios-b1c35f2' into stagingAnthony Liguori2012-11-302-0/+0
|\ | | | | | | | | | | | | | | | | * kraxel/seabios-b1c35f2: seabios: update binaries in pc-bios/ roms: also copy the dsdt when updating seabios. seabios: update to b1c35f2b28cc0c94ebed8176ff61ac0e0b377798 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| * seabios: update binaries in pc-bios/Gerd Hoffmann2012-11-302-0/+0
| | | | | | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* | multiboot: fix e801 memory mapPaolo Bonzini2012-11-302-0/+7
|/ | | | | | | | | | | | The e801 memory sizes in the multiboot structures hard-code the available low memory to 640. However, the value should not include the size of the EBDA. Fill the value in the option ROM, getting the size of low memory from the BIOS. Cc: Alexander Graf <agraf@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* Update OpenBIOS PPC imageAurelien Jarno2012-08-282-1/+1
| | | | | | | | Update OpenBIOS PPC image to SVN r1063 to fix issues introduced by commit 9e56edcf. The code change in this revision only affects PPC, so OpenBIOS SPARC images are not updated. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Update OpenBIOS imagesBlue Swirl2012-08-194-1/+1
| | | | | | | Update OpenBIOS images to SVN r1062. Build with GCC 4.6.0 in order to avoid boot problems introduced by GCC 4.7.[01]. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* pseries: Update SLOF firmware imageDavid Gibson2012-08-152-1/+1
| | | | | | | | This updates SLOF to handle the necessary device tree properties for MSI and MSI-X. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
* pseries: Update SLOFBenjamin Herrenschmidt2012-08-152-1/+1
| | | | | | | | | | | | | This patch updates the SLOF version, introducing a number of fixes: * add proper graphics support * fix bugs with graphical terminal under grub2 * fix bugs in handling of 64-bit unit addresses * fix VSCSI representation to be closer to PowerVM * fix bugs which caused grub2 to crash Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
* update seabios to latest masterGerd Hoffmann2012-08-071-0/+0
| | | | | | | | | | | | | | | Upstream seabios commit 5a023065388287e261ae9212452ff541f9fa9cd3 Major changes since 1.7.0: - Usual share of bugfixes and cleanups ;) - Support for 64bit PCI bars and mapping those above 4G. - Stack switching for real mode irq handlers to reduce seabios stack footprint. - Support for booting from lsi scsi hba. - Support for booting from usb attached scsi. - Support for non-linear apic ids. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* qemu-keymaps: Finnish keyboard mapping brokenMichael Tokarev2012-07-131-2/+0
| | | | | | | | As mentioned in http://bugs.debian.org/660154 , finnish keyboard mapping is kind of broken. Fix it as Timo Sirainen suggests in #660154. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
* PPC: e500: dt: start with empty device treeAlexander Graf2012-06-242-14/+0
| | | | | | | | Now that all of the device tree bits are generated during runtime, we can get rid of the device tree blob and instead start from scratch with an empty device tree. Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: e500: dt: create pci node dynamicallyAlexander Graf2012-06-242-46/+0
| | | | Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: e500: dt: create global-utils node dynamicallyAlexander Graf2012-06-241-6/+0
| | | | Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: e500: dt: create serial nodes dynamicallyAlexander Graf2012-06-241-26/+0
| | | | Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: e500: dt: create /soc8544 node dynamicallyAlexander Graf2012-06-241-9/+0
| | | | Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: e500: dt: create / node dynamicallyAlexander Graf2012-06-242-5/+0
| | | | Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: e500: dt: create /hypervisor node dynamicallyAlexander Graf2012-06-242-3/+0
| | | | Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: e500: dt: create /cpus node dynamicallyAlexander Graf2012-06-242-5/+0
| | | | Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: e500: dt: create memory node dynamicallyAlexander Graf2012-06-242-5/+0
| | | | Signed-off-by: Alexander Graf <agraf@suse.de>
* pc-bios: Update OpenBIOS imagesBlue Swirl2012-05-304-1/+1
| | | | | | Update OpenBIOS images to r1060 built from submodule. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* pc-bios: update OpenBIOS imagesBlue Swirl2012-05-014-1/+1
| | | | | | Update OpenBIOS images to SVN r1056. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* sdl: Add QEMU mascot icon for use with SDLStefan Weil2012-04-261-0/+0
| | | | | | | | | | | | | | | This is a bitmap file (32x32x4) derived from the official QEMU mascot (which was designed by Benoît Canet). I stripped the text from the SVG to get a nearly square image and converted the result to BMP without any manual optimization. The bitmap is currently used by QEMU's SDL interface and replaces the default X icon. v2: Add qemu-icon.bmp to Makefile. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* seabios: update to 1.7.0Gerd Hoffmann2012-04-171-0/+0
| | | | | | | Update roms/seabios and pc-bios/bios.bin to the 1.7.0 release. Most noticable new feature is virtio-scsi support. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* signrom: Rewrite as python scriptJan Kiszka2012-04-161-1/+1
| | | | | | | | Now that we have a hard dependency on python anyway, we can replace the slow shell script to calculate the option ROM checksum with a fast AND portable python version. Tested both with python 2.7 and 3.1. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
OpenPOWER on IntegriCloud