Project

General

Profile

Actions

Bug #275

open

Securely running ATI/AMD VGA Option ROM fails with `Unknown INT15 function 5f08!`

Added by Paul Menzel over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
07/19/2020
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

coreboot master built with Secure Mode as Option ROM execution type (Secure mode)

CONFIG_PCI_OPTION_ROM_RUN_YABEL=y

halts with the message below, when run on the Lenovo T60 (Type 2007 with dedicated/external ATI/AMD graphics device).

coreboot-4.12-1529-gbcf07b2adb Sat Jul 18 22:03:11 UTC 2020 smm starting (log level: 7)...
SMI#: ACPI disabled.
APMC done.
PCI: 00:1f.0 init finished in 42 msecs
PCI: 00:1f.1 init
i82801gx_ide: initializing...
PCI: 00:1f.1 init finished in 2 msecs
PCI: 00:1f.2 init
i82801gx_sata: initializing...
SATA controller in AHCI mode.
PCI: 00:1f.2 init finished in 5 msecs
PCI: 01:00.0 init
FMAP: area COREBOOT found @ 60200 (1703424 bytes)
CBFS: Locating 'pci1002,7149.rom'
CBFS: Found @ offset 2ce40 size fc00
In CBFS, ROM address for PCI: 01:00.0 = 0xffe8d088
Copying VGA ROM Image from 0xffe8d088 to 0xc0000, 0xfc00 bytes
intel_vga_int15_handler: AX=5f08 BX=002d CX=0000 DX=4000
Unknown INT15 function 5f08!
Actions #1

Updated by Paul Menzel over 4 years ago

For comparison, with CONFIG_PCI_OPTION_ROM_RUN_REALMODE=y the output is:

CBFS: Locating 'pci1002,7149.rom'
CBFS: Found @ offset 28680 size fc00
In CBFS, ROM address for PCI: 01:00.0 = 0xffe888c8
Copying VGA ROM Image from 0xffe888c8 to 0xc0000, 0xfc00 bytes
Calling Option ROM...
intel_vga_int15_handler: AX=5f08 BX=ff2d CX=0000 DX=4000
Unknown INT15 function 5f08!
int15 call returned error.
intel_vga_int15_handler: AX=5f08 BX=0002 CX=8980 DX=4000
Unknown INT15 function 5f08!
int15 call returned error.
intel_vga_int15_handler: AX=5f08 BX=0005 CX=8913 DX=4000
Unknown INT15 function 5f08!
int15 call returned error.
intel_vga_int15_handler: AX=5f08 BX=0101 CX=0000 DX=0980
Unknown INT15 function 5f08!
int15 call returned error.
... Option ROM returned.
VBE: Getting information about VESA mode 4118
VBE: Unsupported video mode 118!
Supported Video Mode list for OpRom:
100
101
103
105
107
109
10a
130
110
111
113
114
116
117
119
11a
10d
10e
120
193
194
195
196
1b3
1b4
1b5
1b6
1c3
1c4
1c5
1c6
183
184
185
186
133
134
135
136
153
154
155
156
163
164
165
166
121
122
123
124
143
144
145
146
173
174
175
176
183
184
185
186
1d3
1d4
1d5
1d6
1e3
1e4
1e5
1e6

Error: In vbe_get_mode_info function
Actions

Also available in: Atom PDF