[seabios] Fix QXL in seabios 0.6.2

Justin M. Forbes jforbes at fedoraproject.org
Wed Jul 13 16:51:06 UTC 2011


commit f2a4e6703012c1a29b64451cd2e3a6e860b4ed12
Author: Justin M. Forbes <jforbes at redhat.com>
Date:   Wed Jul 13 11:50:25 2011 -0500

    Fix QXL in seabios 0.6.2

 seabios-0.6.2-fix-QXL.patch |   17 +++++++++++++++++
 seabios.spec                |    9 +++++++--
 2 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/seabios-0.6.2-fix-QXL.patch b/seabios-0.6.2-fix-QXL.patch
new file mode 100644
index 0000000..800c5ca
--- /dev/null
+++ b/seabios-0.6.2-fix-QXL.patch
@@ -0,0 +1,17 @@
+
+Beware that seabios 0.6.2 is broken for QXL. You need to apply this
+patch
+
+diff --git a/src/config.h b/src/config.h
+index e6e07c9..cd71c3a 100644
+--- a/src/config.h
++++ b/src/config.h
+@@ -51,7 +51,7 @@
+ #define BUILD_PCIPREFMEM_END      0
+ #else
+ #define BUILD_PCIMEM_START        0xf0000000
+-#define BUILD_PCIMEM_SIZE         0x08000000    /* half- of pci window */
++#define BUILD_PCIMEM_SIZE         0x09000000    /* half- of pci window */
+ #define BUILD_PCIMEM_END          (BUILD_PCIMEM_START + BUILD_PCIMEM_SIZE)
+ #define BUILD_PCIPREFMEM_START    BUILD_PCIMEM_END
+ #define BUILD_PCIPREFMEM_SIZE     (BUILD_PCIPREFMEM_END - BUILD_PCIPREFMEM_START)
diff --git a/seabios.spec b/seabios.spec
index d01b63c..1b12a9a 100644
--- a/seabios.spec
+++ b/seabios.spec
@@ -1,6 +1,6 @@
 Name:           seabios
 Version:        0.6.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Open-source legacy BIOS implementation
 
 Group:          Applications/Emulators
@@ -8,7 +8,8 @@ License:        LGPLv3
 URL:            http://www.coreboot.org/SeaBIOS
 Source0:        http://www.linuxtogo.org/~kevin/SeaBIOS/%{name}-%{version}.tar.gz
 
-Patch0: seabios-0.6.2-build.patch
+Patch00: seabios-0.6.2-build.patch
+Patch01: seabios-0.6.2-fix-QXL.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -41,6 +42,7 @@ that a typical x86 proprietary BIOS implements.
 %setup -q
 
 %patch00 -p1
+%patch01 -p1
 
 # Makefile changes version to include date and buildhost
 sed -i 's,VERSION=%{version}.*,VERSION=%{version},g' Makefile
@@ -78,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jul 13 2011 Justin M. Forbes <jforbes at redhat.com> - 0.6.2-2
+- Fix QXL bug in 0.6.2
+
 * Wed Jul 13 2011 Justin M. forbes <jforbes at redhat.com> - 0.6.2-1
 - Update to 0.6.2 upstream for a number of bugfixes
 


More information about the scm-commits mailing list