otionrom: Use local CFLAGS no global one
It is needed by %.o : %.c rule.
Signed-off-by: Juan Quintela <quintela@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
optionrom: make clean should remove raw and .d
Remove CFLAGS parameter in cc-option
With cc-option we are testing if gcc just accept a particular option, we don't need CFLAGS at all. And this fixes the recursive problem with CFLAGS
Bring pcbios, seabios, and vgabios into the tree as git submodules. Right now,they aren't integrated into the build but we can do that incrementally.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Update OpenBIOS images to r569
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Rename CPPFLAGS to QEMU_CFLAGS
Now we have to variables: QEMU_CFLAGS: flags without which we can't compileCFLAGS: "-g -O2"
We can now run:
make CFLAGS="-fbar" foo.omake CFLAGS="" foo.omake CFLAGS="-O3" foo.o
And it all should work.
Signed-off-by: Juan Quintela <quintela@redhat.com>...
Fix checksum writing in signboot.sh
The printf command takes an octal value after \, so we have to convertour decimal representation to octal first and then write it.
This unbreaks extboot signing. Multiboot wasn't affected yet becausethe checksum was < 8....
Do not try to invoke shebang scripts directly (NFS issues)
Signed-off-by: malc <av1474@comtv.ru>
Option rom makefile fixes
Fix toplevel option rom makefile rules.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Fix out of tree build broken by 791e08c753a9f9be3c3880b4ea83b6dfa4b6ccad
Use quiet-command for building optionrom
use cc-option for optionrom
QEMU BOCHS bios patches to use maxcpus value.
Signed-off-by: Jes Sorensen <jes@sgi.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
signrom.sh: portability fix
Attached patch makes signrom.sh working on NetBSD.The output of the 'od' command leads to a syntax errorwhich breaks the build.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Update to a hopefully more future proof FSF address
Fix non-ACPI Timer Interrupt Routing - v3
v1 -> v2 adds comment suggested by Ryan.v2 -> v3 clarifies comment and corrects entry count
Signed-off-by: Beth Kon <eak@us.ibm.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Fix multiboot.bin build on mingw32
This combination of ld/object was suggested by Bartlomiej Celary
Don't copy multiboot.bin into pc-bios after built
That dirties the working directory of the tree.
bios: Fix multiple calls into smbios_load_ex
We're marking the used entry bitmap in smbios_load_external() for eachtype we check, regardless of whether we loaded anything. This makessubsequent calls behave as if we've already loaded the tables from qemu...
Regenerate BIOS and add patches for -boot option
Replace signrom with shell script v3
In order to not execute code we just compiled, let's replace signromwith a shell script that does the same thing while staying compatibleto pretty much every system available.
This should make cross-compilation for windows easier....
Update OpenBIOS images to r505
For Sparc64, this fixes the PCI bridge configuration bugs revealed by theimproved bridge handling (b7ee1603c16c1feb0d439d2ddf6cf824119d0aab).
Work around Solaris gas problem
Multiboot build system v4
In order to build the multiboot option rom, we need a Makefile and a toolto sign the rom with.
Both are provided by this patch and mostly taken from the extboot source,written by Anthony Liguori.
Once built, the resulting binary gets copied to pc-bios automatically....
Multiboot support v5
This patch implements support for Multiboot on x86 for -kernel.Multiboot is a "new" approach to get rid of different bootloaders, providinga unified interface for the kernel. It supports command line options andkernel modules.
The two probably best known projects using multiboot are Xen and GNU Hurd....
microblaze: Fix loading of petalogix s3adsp1800 dtb.
Provide a petalogix-s3adsp1800.dtb blob.Correct loading of the petalogix dtb.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Move keymaps into pc-bios
This isn't the most ideal layout, but it makes -L /path/to/git/pc-bios JustWork which is very convenient.
bios: Use the correct mask to size the PCI option ROM BAR
Bit 0 is the enable bit, which we not only don't want to set, butit 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>
Enable power button even generation.
Signed-off-by: Gleb Natapov <gleb@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
sending NUMA topology to BIOS (Andre Przywara)
uses the QEMU firmware configuration interfacce to send the NUMAtopology to the BIOS, which has to setup the tables. Only one firmwareconfiguration channel is used.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>...
Fix non-ACPI Timer Interrupt Routing (Beth Kon)
Replicate ACPI irq0->inti2 override in mp table for non-acpi case.
v1 -> v2 adds comment suggested by Ryan.
...
qemu: Add support for SMBIOS command line otions (Alex Williamson)
Create a new -smbios option (x86-only) to allow binary SMBIOS entriesto be passed through to the BIOS or modify the default values ofindividual fields of type 0 and 1 entries on the command line....
Make PCI config status register read-only
From the documentation I can find, this register is supposed to be read-only.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7070 c046a42c-6fe2-441c-8c8c-71466251a162
Update OpenBIOS images to r482
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6962 c046a42c-6fe2-441c-8c8c-71466251a162
Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno)
Use firmware configuration device for boot device, kernel, initrd andkernel command line parameters on PPC, Sparc32 and Sparc64.
Update OpenBIOS images to r479 which supports the change....
pc-bios/Makefile: add a rule to produce dtb files
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6732 c046a42c-6fe2-441c-8c8c-71466251a162
kvm/powerpc: flat device tree files for MPC8544DS
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>...
Update to OpenBIOS 1.0
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6658 c046a42c-6fe2-441c-8c8c-71466251a162
Allow additions of ACPI tables from command line (Gleb Natapov)
This is needed to dynamically add SLIC tables with Windowsactivation keys.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6650 c046a42c-6fe2-441c-8c8c-71466251a162
Add BIOS patches necessary for hotplug (Marcelo Tosatti)
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
Update PC BIOS to latest bits from Bochs
A number of patches were merged since we last pulled.
Thanks to Marcelo Tosatti for rebasing the existing patches and testing.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6589 c046a42c-6fe2-441c-8c8c-71466251a162
Update Sparc images
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6563 c046a42c-6fe2-441c-8c8c-71466251a162
Switch Mac99 to OpenBIOS
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6560 c046a42c-6fe2-441c-8c8c-71466251a162
Remove accidental addition of local patch.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6509 c046a42c-6fe2-441c-8c8c-71466251a162
Split VNC defines to vnc.h (Alexander Graf)
The VNC protocol contains quite some constants, some of which arecurrently hardcoded in the vnc.c code. This is not exactly pretty.
Let's move all those constants out to vnc.h, so they are clearlyseparated. While at it, I also included other defines that will be...
Add BIOS fixes from KVM tree
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
Update openbios-ppc to revision 418
- fix milliseconds PROM call- fix PCI I/O ports assignation- misc fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6363 c046a42c-6fe2-441c-8c8c-71466251a162
Update OpenBIOS PowerPC image to revision 406
- Support kernel arguments through append Quik support- PowerMac serial ports supports
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6294 c046a42c-6fe2-441c-8c8c-71466251a162
Update bochs bios
They have applied all of our patches and they have an additional HPET fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6289 c046a42c-6fe2-441c-8c8c-71466251a162
Update Sparc32 and Sparc64 images
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6273 c046a42c-6fe2-441c-8c8c-71466251a162
Update openbios-ppc to revision 373
Fix boot on CD-ROM.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6264 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc: add an openbios-ppc image
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6260 c046a42c-6fe2-441c-8c8c-71466251a162
Update to latest Bochs BIOS
A number of our patches have been merged so we can now remove them from ourqueue.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6117 c046a42c-6fe2-441c-8c8c-71466251a162
Remove obsolete VGABIOS patch.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6116 c046a42c-6fe2-441c-8c8c-71466251a162
Add patch to allow Bochs patch queue to be built from another directory.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6110 c046a42c-6fe2-441c-8c8c-71466251a162
Add BIOS build instructions (Andre Przywara)
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
Make sure ACPI structures are byte-aligned
Apparently, guests are very tolerant of corrupt ACPI tables because ourtables have been badly corrupted for some time now. A version ofKnoppix using a 2.6.11 kernel refused to boot and it turned out it wasdue to the interrupt override table introduced by the recent HPET...
Add HPET emulation to qemu (Beth Kon)
This patch adds HPET emulation. It can be disabled with -disable-hpet. An hpetprovides a more finely granular clocksource than otherwise available on PC.This means that latency-dependent applications (e.g. multimedia) will generally...
Update VGA BIOS
Now built from the kernel.org git tree.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6079 c046a42c-6fe2-441c-8c8c-71466251a162
Use kernel.org git mirror instead of repo.or.cz. The kernel.org gitmirror is updated more regularly and reliably.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6078 c046a42c-6fe2-441c-8c8c-71466251a162
Update to the latest Bochs BIOS
Update the PC BIOS to the latest version, split out the patches intopatch series, and update the README to point to the new location of theBochs BIOS source tree.
Also update the gitignore to allow the patch queue directory to be used....
Add bamboo.dtb compiled from bamboo.dts
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6070 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc: IBM PowerPC 440EP Bamboo reference board emulation
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,...
Remove unnecessary trailing newlines
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6000 c046a42c-6fe2-441c-8c8c-71466251a162
Update OpenBIOS images to SVN r237.
Changes:r219: Fix #size-cells for HelenOS, add /openprom/version noder220: Fix typor221: More realistic mmu_translater222: Fix device names to allow Net/OpenBSD to bootr223: add set-callback for Aurora 2.0r224: Switch keyboard controller to translated mode so it works as expected...
bios: update from bochs release 2.3.7
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5039 c046a42c-6fe2-441c-8c8c-71466251a162
Update OpenBIOS images to SVN revision 218. Changes:r186: Revert broken r161, fix identification string printing (Igor Kovalenko)r187: Fix NetBSD reset problemr188: Add a TODO for Sparcr189: Fix some Sparc32 compile warningsr190: Fix some Sparc64 compile warnings...
Add e1000 etherboot ROM from http://www.rom-o-matic.net
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4952 c046a42c-6fe2-441c-8c8c-71466251a162
BIOS: Reenable processor SSDT generation. Don't advertise ACPI C2 or C3support. Thanks to Avi Kivity for the pointer.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4275 c046a42c-6fe2-441c-8c8c-71466251a162
bios: disable processor SSDT generation. Fixes high idle load onx86/x86-64.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4270 c046a42c-6fe2-441c-8c8c-71466251a162
bios: add support to memory above the pci hole
(Izik Eidus)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4237 c046a42c-6fe2-441c-8c8c-71466251a162
update from latest Bochs BIOS
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4115 c046a42c-6fe2-441c-8c8c-71466251a162
Move AUX1 and AUX2 to correct locations
Update Sparc32 OpenBIOS image to SVN revision 185. Changes:r184: Enforce malloc alignmentr185: 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
Update Sparc32 OpenBIOS image to SVN revision 183. Changes:r182: Add handlers for timer interruptsr183: 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
Update OpenBIOS images to SVN revision 181. Changes:r177:Reset fixes: * recalculate CRC to avoid error message and halt after reset * fix bug that crashed SS10/SMP when resetr178: Remove unused variabler179: Improved Module ID generationr180: Add support for eccmemctl...
Update OpenBIOS image to SVN revision 176. Changes:r172: Enable boot mode in the exception handler for both SuperSparc and TurboSparcr173: More CPU definitionsr174: Add Sparc64 CPU identificationr175: Add SPARCserver 600MP emulationr176: Update OHW interface to version 3....
Really update the image
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3406 c046a42c-6fe2-441c-8c8c-71466251a162
Update Sparc32 OpenBIOS image to SVN revision 171. Changes:r170: Fix exception handling and printoutr171: Fix 8 byte alignment problems
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3403 c046a42c-6fe2-441c-8c8c-71466251a162
Quickly hack PowerPC BIOS able to boot on CDROM again.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3309 c046a42c-6fe2-441c-8c8c-71466251a162
r158: Fix wrong number of clean/saveable windowsr159: Revert previous patchr160: Fix nvram size, arch_init hackr161: Fix Sparc64 insw and outswr162: Fix read only location write attemptr163:Change virtual address below 4GMap first 16M of RAMExecute a kernel if loaded by Qemu...
Update Sparc32 and Sparc64 OpenBIOS image to SVN revision 157. Changes:r150: Try to fix system reset for SMP and SS-10 casesr151: Fix obp_dumb_memallocr152: Fix mapping more than 2G memoryr153: Get a real memory allocator for Sparc, based on PPC ofmem...
Delete one more leftover file.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2838 c046a42c-6fe2-441c-8c8c-71466251a162
Remove leftover file, should have happened in the Linux loader rewrite commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2836 c046a42c-6fe2-441c-8c8c-71466251a162
Linux loader rewrite, by H. Peter Anvin.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2835 c046a42c-6fe2-441c-8c8c-71466251a162
Update Sparc32 OpenBIOS image to SVN revision 149. Changes:r145: Fix power-management location for SS-10r146: Fix overallocationr147: NetBSD and OpenBSD fixes: - Correct timer and interrupt controller mappings - Add ESP clock frequency to avoid division by zero...
Update OpenBIOS/Sparc32 to SVN 144. Changes: - Fix power-management location - Fix out of bounds accesses - Increase virtual memory supply to meet NetBSD and OpenBSD demand - More obviously alarming return values for find_pte - Fix unaligned memory access...
Update Sparc32 rom to support *BSD boot and 24 bit TCX
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2728 c046a42c-6fe2-441c-8c8c-71466251a162
Update OpenBIOS Sparc images to SVN 125
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2688 c046a42c-6fe2-441c-8c8c-71466251a162
Update OpenBIOS for Sparc32 and add a Sparc64 image
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2668 c046a42c-6fe2-441c-8c8c-71466251a162
reset rombios32 area
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2403 c046a42c-6fe2-441c-8c8c-71466251a162
Add new Etherboot ROMs for PXE boot.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2301 c046a42c-6fe2-441c-8c8c-71466251a162
Add -boot n option for x86 using PXE, by Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2293 c046a42c-6fe2-441c-8c8c-71466251a162
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2208 c046a42c-6fe2-441c-8c8c-71466251a162
do not generate MP table if one CPU (no APIC in QEMU in this case) - added wbinvd (ignored in QEMU but useful on real hardware)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2191 c046a42c-6fe2-441c-8c8c-71466251a162
synced to Bochs BIOS - use 32 bit pushf/popf in 32 bit PCI bios - moved some useful defines in rombios.h
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2188 c046a42c-6fe2-441c-8c8c-71466251a162
updated
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2178 c046a42c-6fe2-441c-8c8c-71466251a162
moved PCI, MP and ACPI init to bios
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2167 c046a42c-6fe2-441c-8c8c-71466251a162
Update sparc bios image (Blue Swirl).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2162 c046a42c-6fe2-441c-8c8c-71466251a162
Remove OpenBIOS ESP patch. Merged upstream.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2108 c046a42c-6fe2-441c-8c8c-71466251a162
SCSI and USB async IO support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2107 c046a42c-6fe2-441c-8c8c-71466251a162