summaryrefslogtreecommitdiffstats
path: root/pc-bios
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge remote-tracking branch 'qemu-kvm/memory/urgent' into stagingAnthony Liguori2012-03-192-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qemu-kvm/memory/urgent: (42 commits) memory: check for watchpoints when getting code ram_addr exec: fix write tlb entry misused as iotlb Sparc: avoid AREG0 wrappers for memory access helpers Sparc: avoid AREG0 for memory access helpers TCG: add 5 arg helpers to def-helper.h softmmu templates: optionally pass CPUState to memory access functions i386: Remove REGPARM sparc64: implement PCI and ISA irqs sparc: reset CPU state on reset apb: use normal PCI device header for PBM device w64: Fix data type of next_tb and tcg_qemu_tb_exec softfloat: fix for C99 vmstate: fix varrays with uint32_t indexes Fix large memory chunks allocation with tcg_malloc. hw/pxa2xx.c: Fix handling of pxa2xx_i2c variable offset within region hw/pxa2xx_lcd.c: drop target_phys_addr_t usage in device state hw/pxa2xx_dma.c: drop target_phys_addr_t usage in device state ARM: Remove unnecessary subpage workarounds malta: Fix display for LED array malta: Use symbolic hardware addresses ...
| * pseries: Update SLOF firmware imageDavid Gibson2012-03-152-1/+1
| | | | | | | | | | | | | | | | | | This patch updates the SLOF firmware image used on the pseries machine. The new version adds support for Cirrus VGA and virtfs, as well as including a number of bugfixes. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
* | Update seabios to 1.6.3.2Gerd Hoffmann2012-03-121-0/+0
|/ | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* pc-bios: update kvmvapic.binAvi Kivity2012-03-011-0/+0
| | | | Signed-off-by: Avi Kivity <avi@redhat.com>
* kvmvapic: Use optionrom helpersJan Kiszka2012-02-181-10/+8
| | | | | | | | Use OPTION_ROM_START/END from the common header file, add comment to init code. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* optionsrom: Reserve space for checksumJan Kiszka2012-02-181-1/+2
| | | | | | | | Always add a byte before the final 512-bytes alignment to reserve the space for the ROM checksum. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* kvmvapic: Simplify mp/up_set_tprJan Kiszka2012-02-181-5/+1
| | | | | | | | The CH registers is only written, never read. So we can remove these operations and, in case of up_set_tpr, also the ECX push/pop. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* kvmvapic: Add option ROMJan Kiszka2012-02-182-1/+342
| | | | | | | | | This imports and builds the original VAPIC option ROM of qemu-kvm. Its interaction with QEMU is described in the commit that introduces the corresponding device model. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
* optionroms: Silence intermediate file removalJan Kiszka2012-02-011-0/+3
| | | | | | | | | The build process of optionroms spits out an "rm ..." line. Moreover, it removes all .o files that can be handy for debugging purposes. So disable automatic intermediate removal. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* pseries: SLOF PCI flag dayBenjamin Herrenschmidt2012-01-212-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently on the pseries machine the SLOF firmware is used normally, but we bypass it when -kernel is specified. Having these two different boot paths can cause some confusion. In particular at present we need to "probe" the (emulated) PCI bus and produce device tree nodes for the PCI devices in qemu, for the -kernel case. In the SLOF case, it takes the device tree from qemu adds some stuff to it then passes it on to the kernel. It's been decided that a better approach is to always boot through SLOF, even when using -kernel. WIth this approach we can leave PCI probing and device node creation to SLOF in all cases which removes a bunch of code in qemu, and avoids iterating the PCI devices from the machine specific init code which we're not supposed to do. This patch changes qemu to always boot through SLOF, and not to create PCI nodes. Simultaneously it updates the included version of SLOF (submodule and binary image) to one which supports (and requires) the new approach. The new SLOF version also includes a number of unrelated enhancements: support for booting from virtio-pci devices and e1000, greatly improved FCode support and many bugfixes. It also makes SLOF ready to be used even when specifying a kernel on the qemu command line. 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>
* PPC: Bamboo: recompile device treeAlexander Graf2012-01-212-81/+47
| | | | | | | | | Recent dtc doesn't compile our dts anymore. Change all hex numbers to have 0x prefixes, indicate the old version and recompile using recent dtc. This doesn't change any semantics in the device tree. Signed-off-by: Alexander Graf <agraf@suse.de>
* seabios: Update to release 1.6.3.1Jan Kiszka2012-01-151-0/+0
| | | | | | | | | User visible changes in seabios: - Probe HPET existence (fix for -no-hpet) - Probe PCI existence (fix for -machine isapc) - usb: fix boot paths Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
* Fix spelling in comments, documentation and messagesStefan Weil2011-12-142-2/+2
| | | | | | | | | | | | | | | | | | | | | | | accidently->accidentally annother->another choosen->chosen consideres->considers decriptor->descriptor developement->development paramter->parameter preceed->precede preceeding->preceding priviledge->privilege propogation->propagation substraction->subtraction throught->through upto->up to usefull->useful Fix also grammar in posix-aio-compat.c Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
* Convert keymap file to UTF-8 encodingStefan Weil2011-12-061-1/+1
| | | | | | | | Most QEMU files either are pure ASCII or use UTF-8. Convert this keymap file which still used ISO-8859-1 to UTF-8. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
* add sgabios blob and submodulePaolo Bonzini2011-11-072-0/+6
| | | | | | | | The rom was not added together with the sgabios device and is not installed. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
* pseries: Update SLOF firmware imageDavid Gibson2011-10-302-1/+1
| | | | | | | | | | This patch is a general update to the SLOF firmware image used on the pseries machine. This doesn't contain updates for specific features but contains a number of bugfixes and enhancements in the main SLOF tree from Thomas Huth. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
* pseries: Update SLOF firmware imageDavid Gibson2011-10-302-1/+1
| | | | | | | | | | | | | | | | This patch updates the SLOF submodule and precompiled image. The new SLOF versions contains two changes of note: * The previous SLOF has a bug in SCSI condition handling that was exposed by recent updates to qemu's SCSI emulation. This update fixes the bug. * The previous SLOF has a bug in its addressing of SCSI devices, which can be exposed under certain conditions. The new SLOF also fixes this. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
* target-alpha: Add custom PALcode image for CLIPPER emulation.Richard Henderson2011-10-082-0/+3
| | | | Signed-off-by: Richard Henderson <rth@twiddle.net>
* MPC8544DS: Remove CPU nodesAlexander Graf2011-10-062-12/+0
| | | | | | | We want to generate the CPU nodes in machine init code, so remove them from the device tree definition that we precompile. Signed-off-by: Alexander Graf <agraf@suse.de>
* Add OpenBIOS as a submoduleBlue Swirl2011-09-284-3/+3
| | | | | | Update OpenBIOS images to r1047 built from submodule. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* seabios: update to masterGerd Hoffmann2011-08-101-0/+0
| | | | | | | | | | | commit 8e301472e324b6d6496d8b4ffc66863e99d7a505 user visible changes in seabios: * ahci is enabled by default (and thus in this build). * bootorder support for ahci. * two-pass pci allocator (orders bars by size for better packing). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* Update OpenBIOS images for Sparc32 and Sparc64Blue Swirl2011-07-203-4/+3
| | | | | | Update Sparc32 and Sparc64 OpenBIOS images to SVN revision 1045. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
* PPC: update openbios firmwareAlexander Graf2011-06-172-2/+4
| | | | | | | | There were some changes upstream to account for broken usage of mtmsr, so before applying the mtmsr patch we need to update OpenBIOS, otherwise the PPC target would break. Signed-off-by: Alexander Graf <agraf@suse.de>
* PPC: mpc8544ds: Add hypervisor nodeAlexander Graf2011-06-172-0/+3
| | | | | | | | | | | | When running a PPC guest with KVM that can do PV operations, we need to indicate the guest which instructions to use for a hypercall and that it is running as KVM guest. This logic was available on openbios based machines already. This patch also adds said functionality to the mpc8544ds machine. Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Scott Wood <scottwood@freescale.com>
* PPC: E500: Implement reboot controllerAlexander Graf2011-06-172-0/+6
| | | | | | | | | | | | | When Linux reboots an e500 VM, it writes to a magic register in the "global-utilities" device indicated by the device tree. We were not emulating that device so far, rendering the VM reboot-less. This patch implements that device with only the reboot functionality implemented and adds it to the device tree. With this patch applied, I can successfully reboot a -M mpc8544ds VM. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Andreas Färber <andreas.faerber@web.de>
* s390x: update zipl romAlexander Graf2011-06-031-0/+0
| | | | | | | | | The zipl bootloader rom we have has seen some dramatic speedups upstream, so let's update it to improve the experience when booting a guest image. This binary is based on commit id 9a0842dd9823d529f721b418d554f17c72e009e3. Signed-off-by: Alexander Graf <agraf@suse.de>
* PXE: Refresh all PXE ROMs from the ipxe submoduleAlex Williamson2011-04-187-10/+9
| | | | | | Add script to make this easy to repeat later. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
* PXE: Use consistent naming for PXE ROMsAlex Williamson2011-04-186-0/+0
| | | | | | And add missing ROMs to tarbin build target. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
* pc-bios/spapr-rtas.bin: remove executable flagAurelien Jarno2011-04-011-0/+0
| | | | Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* Add SLOF-based partition firmware for pSeries machine, allowing more boot ↵David Gibson2011-04-012-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options Currently, the emulated pSeries machine requires the use of the -kernel parameter in order to explicitly load a guest kernel. This means booting from the virtual disk, cdrom or network is not possible. This patch addresses this limitation by inserting a within-partition firmware image (derived from the "SLOF" free Open Firmware project). If -kernel is not specified, qemu will now load the SLOF image, which has access to the qemu boot device list through the device tree, and can boot from any of the usual virtual devices. In order to support the new firmware, an extension to the emulated machine/hypervisor is necessary. Unlike Linux, which expects multi-CPU entry to be handled kexec() style, the SLOF firmware expects only one CPU to be active at entry, and to use a hypervisor RTAS method to enable the other CPUs one by one. This patch also implements this 'start-cpu' method, so that SLOF can start the secondary CPUs and marshal them into the kexec() holding pattern ready for entry into the guest OS. Linux should, and in the future might directly use the start-cpu method to enable initially disabled CPUs, but for now it does require kexec() entry. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: David Gibson <dwg@au1.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
OpenPOWER on IntegriCloud