Remove package seabios.

We been using unmodified upstream version of this package
for some time now.

Change-Id: Ife87ed5db8e22d6a3bab140d219f9ddd5a8de7a7
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2018-08-01 15:45:13 -04:00
parent 3a3a0a2e2d
commit b7bce6b9ff
7 changed files with 0 additions and 139 deletions

View File

@ -1 +0,0 @@
seabios

View File

@ -1 +0,0 @@
TIS_PATCH_VER=2

View File

@ -1,26 +0,0 @@
From 2278e76d2a6933e91ee176386f7aa86529c2d3e8 Mon Sep 17 00:00:00 2001
From: Scott Little <scott.little@windriver.com>
Date: Mon, 2 Oct 2017 17:01:00 -0400
Subject: [PATCH 1/2] WRS: 0001-Update-package-versioning-for-TIS-format.patch
Conflicts:
SPECS/seabios.spec
---
SPECS/seabios.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/seabios.spec b/SPECS/seabios.spec
index 0b255d3..1603f16 100644
--- a/SPECS/seabios.spec
+++ b/SPECS/seabios.spec
@@ -1,6 +1,6 @@
Name: seabios
Version: 1.10.2
-Release: 3%{?dist}.1
+Release: 3.el7_4.1%{?_tis_dist}.%{tis_patch_ver}
Summary: Open-source legacy BIOS implementation
Group: Applications/Emulators
--
1.9.1

View File

@ -1,2 +0,0 @@
0001-Update-package-versioning-for-TIS-format.patch
meta-CGTS-5175-Add-instrumentation-to-debug-boot-failures.patch

View File

@ -1,41 +0,0 @@
From 604f198f6eb2d43452e35f51b98087a1bb872021 Mon Sep 17 00:00:00 2001
From: Scott Little <scott.little@windriver.com>
Date: Mon, 2 Oct 2017 17:01:00 -0400
Subject: [PATCH 2/2] WRS:
meta-CGTS-5175-Add-instrumentation-to-debug-boot-failures.patch
Conflicts:
SPECS/seabios.spec
---
SPECS/seabios.spec | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/SPECS/seabios.spec b/SPECS/seabios.spec
index 1603f16..d8c986f 100644
--- a/SPECS/seabios.spec
+++ b/SPECS/seabios.spec
@@ -37,6 +37,11 @@ Patch10: seabios-virtio-scsi-enumerate-luns-with-REPORT-LUNS.patch
Patch11: seabios-usb-uas-enumerate-luns-with-REPORT-LUNS.patch
# For bz#1472131 - Guest OS will down when disk enable the IOMMU for Virtio
Patch12: seabios-virtio-IOMMU-support.patch
+
+# WRS patches
+# CGTS-5175: Instance can not startup due to "No bootable device"
+Patch100: CGTS-5175-Add-instrumentation-to-debug-boot-failures.patch
+
BuildRequires: python iasl
ExclusiveArch: x86_64 %{power64}
@@ -99,6 +104,9 @@ SeaVGABIOS is an open-source VGABIOS implementation.
%patch11 -p1
%patch12 -p1
+# WRS patches
+%patch100 -p1
+
%build
%ifarch x86_64
export CFLAGS="$RPM_OPT_FLAGS"
--
1.9.1

View File

@ -1,67 +0,0 @@
From 7cc3d0e6149ea9276edef25ba85d08879ee40771 Mon Sep 17 00:00:00 2001
From: Jim Gauld <james.gauld@windriver.com>
Date: Thu, 6 Oct 2016 14:18:35 -0400
Subject: [PATCH 1/1] CGTS-5175: Add instrumentation to debug boot failures
from disk
This adds print statements with prefix "Debug:" showing
boot register flags before and after interrupt, etc.
In the case we get instances with "No bootable device", we want
to see more information in the case where retry is not sufficient.
---
src/boot.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/boot.c b/src/boot.c
index 706b7df..c89086b 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -2,6 +2,7 @@
//
// Copyright (C) 2008-2013 Kevin O'Connor <kevin@koconnor.net>
// Copyright (C) 2002 MandrakeSoft S.A.
+// Copyright (C) 2016 Wind River Systems, Inc. All rights reserved.
//
// This file may be distributed under the terms of the GNU LGPLv3 license.
@@ -596,7 +597,7 @@ bcv_prepboot(void)
static void
call_boot_entry(struct segoff_s bootsegip, u8 bootdrv)
{
- dprintf(1, "Booting from %04x:%04x\n", bootsegip.seg, bootsegip.offset);
+ printf("Debug: Booting from %04x:%04x\n", bootsegip.seg, bootsegip.offset);
struct bregs br;
memset(&br, 0, sizeof(br));
br.flags = F_IF;
@@ -622,9 +623,11 @@ boot_disk(u8 bootdrv, int checksig)
br.ah = 2;
br.al = 1;
br.cl = 1;
+ printf("Debug: boot_disk: pre: br.flags=%04x\n", br.flags);
call16_int(0x13, &br);
if (br.flags & F_CF) {
+ printf("Debug: boot_disk: post: br.flags=%04x, F_CF=%04x\n", br.flags, F_CF);
printf("Boot failed: could not read the boot disk\n\n");
return;
}
@@ -719,6 +722,7 @@ do_boot(int seq_nr)
if (! CONFIG_BOOT)
panic("Boot support not compiled in.\n");
+ printf("Debug: do_boot: seq_nr=%d, BEVCount=%d\n", seq_nr, BEVCount);
if (seq_nr >= BEVCount)
boot_fail();
@@ -748,6 +752,7 @@ do_boot(int seq_nr)
}
// Boot failed: invoke the boot recovery function
+ printf("Debug: do_boot: boot recovery\n");
struct bregs br;
memset(&br, 0, sizeof(br));
br.flags = F_IF;
--
1.9.1

View File

@ -1 +0,0 @@
mirror:Source/seabios-1.10.2-3.el7_4.1.src.rpm