From 07381501a0b45b3b34328ffd51fdd21b623e947e Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Tue, 24 Nov 2020 12:45:30 -0500 Subject: [PATCH] Update to seabios 1.14.0 Signed-off-by: Cole Robinson --- .gitignore | 1 + config.seabios-128k | 8 +++++--- config.seabios-microvm | 26 ++++++++++++++++++++++++++ seabios.spec | 11 +++++++---- sources | 2 +- 5 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 config.seabios-microvm diff --git a/.gitignore b/.gitignore index e81d6cc..276e10a 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ seabios-0.6.0.tar.gz /seabios-1.12.0.tar.gz /seabios-1.12.1.tar.xz /seabios-1.13.0.tar.gz +/seabios-1.14.0.tar.gz diff --git a/config.seabios-128k b/config.seabios-128k index 1c5f888..7e279e1 100644 --- a/config.seabios-128k +++ b/config.seabios-128k @@ -11,10 +11,12 @@ CONFIG_USB_UAS=n CONFIG_SDCARD=n CONFIG_TCGBIOS=n CONFIG_MPT_SCSI=n +CONFIG_ESP_SCSI=n +CONFIG_MEGASAS=n CONFIG_PVSCSI=n CONFIG_NVME=n CONFIG_USE_SMM=n CONFIG_VGAHOOKS=n -CONFIG_ESP_SCSI=n -CONFIG_LSI_SCSI=n -CONFIG_MEGASAS=n +CONFIG_HOST_BIOS_GEOMETRY=n +CONFIG_ACPI_PARSE=n +CONFIG_SERCON=n diff --git a/config.seabios-microvm b/config.seabios-microvm new file mode 100644 index 0000000..a253e2e --- /dev/null +++ b/config.seabios-microvm @@ -0,0 +1,26 @@ +CONFIG_QEMU=y +CONFIG_QEMU_HARDWARE=y +CONFIG_PERMIT_UNALIGNED_PCIROM=y +CONFIG_ROM_SIZE=128 +CONFIG_XEN=n +CONFIG_BOOTSPLASH=n +CONFIG_ATA=n +CONFIG_AHCI=n +CONFIG_SDCARD=n +CONFIG_PVSCSI=n +CONFIG_ESP_SCSI=n +CONFIG_LSI_SCSI=n +CONFIG_MEGASAS=n +CONFIG_MPT_SCSI=n +CONFIG_FLOPPY=n +CONFIG_FLASH_FLOPPY=n +CONFIG_NVME=n +CONFIG_PS2PORT=n +CONFIG_USB=n +CONFIG_LPT=n +CONFIG_RTC_TIMER=n +CONFIG_USE_SMM=n +CONFIG_PMTIMER=n +CONFIG_TCGBIOS=n +CONFIG_HARDWARE_IRQ=n +CONFIG_ACPI_PARSE=y diff --git a/seabios.spec b/seabios.spec index d9cf3a0..beaa051 100644 --- a/seabios.spec +++ b/seabios.spec @@ -3,15 +3,14 @@ %endif Name: seabios -Version: 1.13.0 -Release: 3%{?dist} +Version: 1.14.0 +Release: 1%{?dist} Summary: Open-source legacy BIOS implementation License: LGPLv3 URL: http://www.coreboot.org/SeaBIOS Source0: http://code.coreboot.org/p/seabios/downloads/get/%{name}-%{version}.tar.gz -#Source0: %%{name}-%%{version}.tar.xz Patch0001: 0001-Workaround-for-a-win8.1-32-S4-resume-bug.patch Patch0002: 0002-reserve-more-memory-on-fseg.patch @@ -79,7 +78,6 @@ that a typical x86 proprietary BIOS implements. %package -n seavgabios-bin Summary: Seavgabios for x86 Buildarch: noarch -Obsoletes: vgabios %description -n seavgabios-bin SeaVGABIOS is an open-source VGABIOS implementation. @@ -90,6 +88,7 @@ SeaVGABIOS is an open-source VGABIOS implementation. %autopatch -p1 %build +%define _lto_cflags %{nil} export CFLAGS="$RPM_OPT_FLAGS" mkdir binaries @@ -119,6 +118,7 @@ build_bios() { # seabios build_bios %{_sourcedir}/config.seabios-128k bios.bin bios.bin build_bios %{_sourcedir}/config.seabios-256k bios.bin bios-256k.bin +build_bios %{_sourcedir}/config.seabios-microvm bios.bin bios-microvm.bin %if 0%{?fedora:1} build_bios %{_sourcedir}/config.csm Csm16.bin bios-csm.bin build_bios %{_sourcedir}/config.coreboot bios.bin.elf bios-coreboot.bin @@ -158,6 +158,9 @@ install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios %changelog +* Tue Nov 24 2020 Cole Robinson - 1.14.0-1 +- Update to 1.14.0 + * Wed Jul 29 2020 Fedora Release Engineering - 1.13.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index d2fea4d..3163139 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (seabios-1.13.0.tar.gz) = 167ae289b140486b99e27444718096c3359ce4dc55ca9d6ffccdac85053e7f0af2d02e0af0b313c0a8814a313a3c7c5b47a428aa2c30b1c63b2eea90f8b4f368 +SHA512 (seabios-1.14.0.tar.gz) = 215c42f59425f8abd062be7b11fc0e39c977cee5001a2381551b0f851ac337d0dd53c065267e6dee0e710ffd700fa635f9007b89da8dfce0f47122c984ee8146