aboutsummaryrefslogtreecommitdiffstats
path: root/pc-bios
AgeCommit message (Collapse)AuthorFilesLines
2009-06-03microblaze: Fix loading of petalogix s3adsp1800 dtb.Edgar E. Iglesias1-0/+0
Provide a petalogix-s3adsp1800.dtb blob. Correct loading of the petalogix dtb. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2009-05-28Move keymaps into pc-biosAnthony Liguori35-0/+3627
This isn't the most ideal layout, but it makes -L /path/to/git/pc-bios Just Work which is very convenient. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-22bios: Use the correct mask to size the PCI option ROM BARAnthony Liguori3-0/+34
Bit 0 is the enable bit, which we not only don't want to set, but it will stick and make us think it's an I/O port resource. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-05-08Enable power button even generation.Anthony Liguori3-0/+21
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-04-21sending NUMA topology to BIOS (Andre Przywara)aliguori3-0/+306
uses the QEMU firmware configuration interfacce to send the NUMA topology to the BIOS, which has to setup the tables. Only one firmware configuration channel is used. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7212 c046a42c-6fe2-441c-8c8c-71466251a162
2009-04-17Fix non-ACPI Timer Interrupt Routing (Beth Kon)aliguori3-0/+39
Replicate ACPI irq0->inti2 override in mp table for non-acpi case. v1 -> v2 adds comment suggested by Ryan. Signed-off-by: Beth Kon <eak@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7169 c046a42c-6fe2-441c-8c8c-71466251a162
2009-04-17qemu: Add support for SMBIOS command line otions (Alex Williamson)aliguori3-0/+471
Create a new -smbios option (x86-only) to allow binary SMBIOS entries to be passed through to the BIOS or modify the default values of individual fields of type 0 and 1 entries on the command line. Binary SMBIOS entries can be generated as follows: dmidecode -t 1 -u | grep $'^\t\t[^"]' | xargs -n1 | \ perl -lne 'printf "%c", hex($_)' > smbios_type_1.bin These can then be passed to the BIOS using this switch: -smbios file=smbios_type_1.bin Command line generation supports the following syntax: -smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d] -smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str] [,uuid=$(uuidgen)][,sku=str][,family=str] For instance, to add a serial number to the type 1 table: -smbios type=1,serial=0123456789 Interface is extensible to support more fields/tables as needed. aliguori: remove texi formatting from help output Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7163 c046a42c-6fe2-441c-8c8c-71466251a162
2009-04-10Make PCI config status register read-onlyaliguori1-14/+9
From the documentation I can find, this register is supposed to be read-only. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7070 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-31Update OpenBIOS images to r482blueswir14-1/+1
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6962 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-08Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno)blueswir14-1/+1
Use firmware configuration device for boot device, kernel, initrd and kernel command line parameters on PPC, Sparc32 and Sparc64. Update OpenBIOS images to r479 which supports the change. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6777 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-07pc-bios/Makefile: add a rule to produce dtb filesaurel321-0/+3
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6732 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-02kvm/powerpc: flat device tree files for MPC8544DSaurel322-0/+122
mpc8544ds.dts is copied from kerenl. Non-supported devices has been removed. Signed-off-by: Liu Yu <yu.liu@freescale.com> Acked-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6664 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-01Update to OpenBIOS 1.0blueswir14-2/+2
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6658 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-27Allow additions of ACPI tables from command line (Gleb Natapov)aliguori3-0/+156
This is needed to dynamically add SLIC tables with Windows activation keys. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6650 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-11Add BIOS patches necessary for hotplug (Marcelo Tosatti)aliguori7-0/+373
See each patch for appropriate Signed-off-by's. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6590 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-11Update PC BIOS to latest bits from Bochsaliguori11-436/+33
A number of patches were merged since we last pulled. Thanks to Marcelo Tosatti for rebasing the existing patches and testing. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6589 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-08Update Sparc imagesblueswir13-2/+2
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6563 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-08Switch Mac99 to OpenBIOSblueswir12-1/+1
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6560 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-03Remove accidental addition of local patch.aliguori1-1/+0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6509 c046a42c-6fe2-441c-8c8c-71466251a162
2009-02-02Split VNC defines to vnc.h (Alexander Graf)aliguori1-0/+1
The VNC protocol contains quite some constants, some of which are currently hardcoded in the vnc.c code. This is not exactly pretty. Let's move all those constants out to vnc.h, so they are clearly separated. While at it, I also included other defines that will be used later in this patch series. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6493 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-21Add BIOS fixes from KVM treealiguori12-1/+695
See each patch for individual Signed-off-by's/commit logs git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6392 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-18Update openbios-ppc to revision 418aurel322-1/+1
- fix milliseconds PROM call - fix PCI I/O ports assignation - misc fixes Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6363 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-14Update OpenBIOS PowerPC image to revision 406aurel322-1/+1
- Support kernel arguments through -append - Quik support - PowerMac serial ports supports Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6294 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-13Update bochs biosaliguori6-344/+1
They have applied all of our patches and they have an additional HPET fix. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6289 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-12Update Sparc32 and Sparc64 imagesblueswir13-1/+1
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6273 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-09Update openbios-ppc to revision 373aurel322-1/+1
Fix boot on CD-ROM. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6264 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-09target-ppc: add an openbios-ppc imageaurel322-0/+1
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6260 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-21Update to latest Bochs BIOSaliguori6-94/+1
A number of our patches have been merged so we can now remove them from our queue. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6117 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-21Remove obsolete VGABIOS patch.aliguori1-896/+0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6116 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-19Add patch to allow Bochs patch queue to be built from another directory.aliguori2-0/+34
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6110 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-19Add BIOS build instructions (Andre Przywara)aliguori1-0/+21
aliguori: did a little indenting and motion for aesthics. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6109 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-19Make sure ACPI structures are byte-alignedaliguori3-0/+37
Apparently, guests are very tolerant of corrupt ACPI tables because our tables have been badly corrupted for some time now. A version of Knoppix using a 2.6.11 kernel refused to boot and it turned out it was due to the interrupt override table introduced by the recent HPET commit. This patch updates the BIOS and introduces a patch to pack the ACPI tables. If you have a guest that used to work and is broken by the this commit, let me know. We have some weird hacks in the tables that I suspect are work arounds for this bug. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6108 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Add HPET emulation to qemu (Beth Kon)aliguori3-0/+191
This patch adds HPET emulation. It can be disabled with -disable-hpet. An hpet provides a more finely granular clocksource than otherwise available on PC. This means that latency-dependent applications (e.g. multimedia) will generally be smoother when using the HPET. Signed-off-by: Beth Kon <eak@us.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6081 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Update VGA BIOSaliguori5-1/+5
Now built from the kernel.org git tree. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6079 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Use kernel.org git mirror instead of repo.or.cz. The kernel.org git aliguori2-2/+3
mirror is updated more regularly and reliably. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6078 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Update to the latest Bochs BIOSaliguori8-42/+86
Update the PC BIOS to the latest version, split out the patches into patch series, and update the README to point to the new location of the Bochs BIOS source tree. Also update the gitignore to allow the patch queue directory to be used. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6077 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-17Add bamboo.dtb compiled from bamboo.dtsaurel321-0/+0
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6070 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-16target-ppc: IBM PowerPC 440EP Bamboo reference board emulationaurel321-0/+234
Since most IO devices are integrated into the 440EP chip, "Bamboo support" mostly entails implementing the -kernel, -initrd, and -append options. These options are implemented by loading the guest as if u-boot had done it, i.e. loading a flat device tree, updating it to hold initrd addresses, ram size, and command line, and passing the FDT address in r3. Since we use it with KVM, we enable the virtio block driver and include hooks necessary for KVM support. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6067 c046a42c-6fe2-441c-8c8c-71466251a162
2008-12-13Remove unnecessary trailing newlinesblueswir11-1/+0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6000 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-18Update OpenBIOS images to SVN r237.blueswir13-1/+1
Changes: r219: Fix #size-cells for HelenOS, add /openprom/version node r220: Fix typo r221: More realistic mmu_translate r222: Fix device names to allow Net/OpenBSD to boot r223: add set-callback for Aurora 2.0 r224: Switch keyboard controller to translated mode so it works as expected r225: Add mmu release (claim added in r219) r226: Set variable defaults before nvram_init also for Sparc64 (cf. r136) r227: Use nvram boot-args and boot-device variables also for Sparc64 (cf. r137) r228: Fix compilation on OpenBSD: avoid accidental system include file use r229: Rename /packages/client-iface to /openprom/client-services r230 From Igor V. Kovalenko: This openbios-grubfs-ext2fs-block.patch fixes a problem where inode pointer is truncated to 32bit integer and then sign-extended to 64bit integer while passing second pointer argument to ext2_rdfsb. r231: Fix pad alignment r232: Remove package finding code that finds unrelated packages r233: Fix virtual to physical address translation (Igor Kovalenko) r234: Implement itlb/dtlb directed writes (Igor Kovalenko) r235: Fix warnings that would be caused by ld flag --warn-common r236: Enable ld flag --warn-common r237: Use the firmware device introduced in Qemu SVN r5256 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5262 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-21bios: update from bochs release 2.3.7aurel322-75/+24
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5039 c046a42c-6fe2-441c-8c8c-71466251a162
2008-08-02Update OpenBIOS images to SVN revision 218. Changes:blueswir13-2/+1
r186: Revert broken r161, fix identification string printing (Igor Kovalenko) r187: Fix NetBSD reset problem r188: Add a TODO for Sparc r189: Fix some Sparc32 compile warnings r190: Fix some Sparc64 compile warnings r191: Add prototypes for [v]snprintf r192: Add a common header file for libgcc functions r193: Implement obmem for NetBSD loader r194: Add Make dependencies for some files, unify Sparc32/64 build.xml files r195: Remove debug messages r196: Add a.out support for SILO r198: Add a CPU node r199: Add (bogus) memory nodes r200: Add idprom node r201: Make serial console usable r202: Add MMU node and ops r203: Add trap table setting function to client interface r204: Fix MMU translation r205: Handle 32 bit windows, remove now unused files r206: Support for simple boot device selection r207: Fix TLB entry generation r208: Fix printing of exception messages r209: Set up tick_cmpr, update assembly flags r210: Add a clock-frequency node r211: Fix available and total memory Implement a static list of mmu translations Map more pages Add a fake unmap method r212: Fix builtin.c dependencies r213: Add FCode boot loader for Solaris etc. r214: Add correct reset vectors r215: Add T1 and T2 CPUs r216: Fix wrong translations r217: Add bootargs property for kernel command line r218: Finally fix the very obscure problem which prevented normal and especially FCode boot: too small heap (used for Forth memory)! Remove forced arch_init and boot hacks git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4983 c046a42c-6fe2-441c-8c8c-71466251a162
2008-07-26Add e1000 etherboot ROM from http://www.rom-o-matic.netaliguori1-0/+0
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4952 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-28BIOS: Reenable processor SSDT generation. Don't advertise ACPI C2 or C3aurel322-42/+39
support. Thanks to Avi Kivity for the pointer. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4275 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-27bios: disable processor SSDT generation. Fixes high idle load onaurel322-44/+67
x86/x86-64. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4270 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-22bios: add support to memory above the pci holeaurel322-3/+127
(Izik Eidus) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4237 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-28update from latest Bochs BIOSaurel322-40/+35
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4115 c046a42c-6fe2-441c-8c8c-71466251a162
2008-02-01Move AUX1 and AUX2 to correct locationsblueswir12-1/+1
Update Sparc32 OpenBIOS image to SVN revision 185. Changes: r184: Enforce malloc alignment r185: Move AUX1 and AUX2 to correct locations, rename APC git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3946 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-29Update Sparc32 OpenBIOS image to SVN revision 183. Changes:blueswir12-2/+2
r182: Add handlers for timer interrupts r183: Print a message and halt if Sun4c or Sun4d git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3875 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-11Update OpenBIOS images to SVN revision 181. Changes:blueswir13-1/+1
r177: Reset fixes: * recalculate CRC to avoid error message and halt after reset * fix bug that crashed SS10/SMP when reset r178: Remove unused variable r179: Improved Module ID generation r180: Add support for eccmemctl r181: Add support for SPARCstation 20 machine type git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3804 c046a42c-6fe2-441c-8c8c-71466251a162