Fix QXL in seabios 0.6.2

This commit is contained in:
Justin M. Forbes 2011-07-13 11:50:25 -05:00
parent 35f47e682b
commit f2a4e67030
2 changed files with 24 additions and 2 deletions

View File

@ -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)

View File

@ -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@redhat.com> - 0.6.2-2
- Fix QXL bug in 0.6.2
* Wed Jul 13 2011 Justin M. forbes <jforbes@redhat.com> - 0.6.2-1
- Update to 0.6.2 upstream for a number of bugfixes