Debian Codegraph @

Documentation/releases/coreboot-25.03-relnotes.md

raw symbols SCIP
1 coreboot 25.03
2 ========================================================================
3
4 The coreboot project is pleased to announce the release of coreboot
5 25.03, marking another milestone in our ongoing work to delivering
6 open-source firmware. This release brings important improvements to
7 display handling, USB debugging capabilities, and CPU topology
8 management, along with various other enhancements that further improve
9 the reliability and performance of coreboot across supported platforms.
10
11 We extend our sincere thanks to all contributors who have made this
12 release possible. Your expertise and collaborative efforts continue to
13 propel the coreboot project forward. As always, we value the
14 participation of everyone in the community, from long-time developers to
15 those new to the project.
16
17 The next coreboot release, 25.06, is scheduled for the end of June 2025.
18
19
20
21 Significant or interesting changes
22 ----------------------------------
23
24 ### drivers/intel/fsp2_0: Enable panel-orientation aware bitmap rotation
25
26 Implement logo bitmap rotation within fsp_convert_bmp_to_gop_blt() to
27 support devices with portrait-oriented displays. The rotation is driven
28 by the panel framebuffer orientation, allowing the logo to be displayed
29 correctly regardless of physical panel orientation.
30
31 This resolves issues where the logo was displayed incorrectly on
32 portrait-oriented displays.
33
34 Additionally, discard the display orientation change if the LID is
35 closed aka built-in display is not active. This will ensure that display
36 orientation is proper when extended display is attached w/o any display
37 rotation.
38
39
40 ### util/find_usbdebug: Fix lsusb -t parsing for usbutils v016 and newer
41
42 Commit e24294ff9ade ("lsusb -t: print ports and buses and devices with
43 same width") [1] in the usbutils repository changed the format of the
44 lsusb -t output, breaking the find_usbdebug.sh script. This commit is
45 present in usbutils version 016 and later.
46
47 Use the output of lsusb -V to set the parsing patterns based on the
48 version in order to maintain compatibility with older versions of
49 usbutils. A simple integer comparison of the version number is used for
50 this, which will not work with versions older than v001 as those use a
51 0.nn version number format. However, since v001 was released in late
52 2010, it is probably safe to assume that no one will be using a version
53 of usbutils older than that. Usbutils v016 was released in late 2023 so
54 there could still conceivably be systems using older versions, such as
55 Ubuntu 22.04 LTS which is on v014.
56
57 [1] https://github.com/gregkh/usbutils/commit/e24294ff9ade6dafcd1909763e888d97b377c841
58
59
60 ### cpu/x86/topology: Fix FSP-S crash caused by shared core ID
61
62 This resolves a crash issue observed on Meteor Lake and introduced by
63 commit 70bdd2e1fad9fe89835aab240ed4b41a02f15078 ("cpu/x86/topology:
64 Simplify CPU topology initialization"). This commit simplifies the code
65 and provides more detailed CPU topology information by generalizing the
66 use of the Extended Topology Enumeration Leaves 0x1f. As a result, the
67 coreboot APIC core_id field does not provide the fully detailed path
68 information.
69
70 It turns out that the topology core identifier is used by the coreboot
71 MP service mp_get_processor_info() implementation. But the MP Service
72 EFI_CPU_PHYSICAL_LOCATION data structure only captures information about
73 the package, core, and thread. The core identifier returned to the MP
74 service caller must incorporate the full hierarchical path (die group,
75 die, module, tile, module and core).
76
77 This commit adds a new field to the cpu topology structure to represent
78 the core ID within the package.
79
80 For reference, here is that signature of the crash:
81 ```
82 LAPIC 0x40 in X2APIC mode.
83 CPU Index 2 - APIC 64 Unexpected Exception:13 @ 10:69f3d1e4 - Halting
84 Code: 0 eflags: 00010046 cr2: 00000000
85 eax: 00000001 ebx: 69f313e8 ecx: 0000004e edx: 00000000
86 edi: 69f38018 esi: 00000029 ebp: 69aeee0c esp: 69aeedc0
87 [...]
88 ```
89 The crash occurred when FSP attempted to lock the Protected
90 Processor Inventory Number Enable Control MSR (IA32_PPIN_CTL
91 0x4e).
92
93 ```
94 69f3d1d3: 8b 43 f4 mov -0xc(%ebx),%eax
95 69f3d1d6: 89 4d c4 mov %ecx,-0x3c(%ebp)
96 69f3d1d9: 89 45 dc mov %eax,-0x24(%ebp)
97 69f3d1dc: 8b 55 c4 mov -0x3c(%ebp),%edx
98 69f3d1df: 8b 45 c0 mov -0x40(%ebp),%eax
99 69f3d1e2: 8b 4d dc mov -0x24(%ebp),%ecx
100 69f3d1e5: 0f 30 wrmsr
101 69f3d1e7: e9 ee fd ff ff jmp 0xfffffe39
102 ```
103 FSP experiences issues due to attempting to lock the same register
104 multiple times for a single core. This is caused by an inconsistency in
105 the processor information data structure, where multiple cores share the
106 same identifier. This is not permitted and triggers a General Protection
107 Fault Exception.
108
109
110 ### {drivers, lib}: Move low-battery user notification logic outside FSP
111
112 This patch refactors low-battery user notification logic (Kconfig, APIs
113 to check if low-battery rendering is required, low-battery shutdown is
114 required) outside FSP driver code to ensure in future non-FSP platforms
115 might still be able to leverage this feature/logics to render the
116 low-battery indicator icon during boot.
117
118 Specifically, it:
119
120 * Moves Kconfig options related to low-battery notifications from
121 drivers/intel/fsp to lib/
122 * Relocates the low-battery check and shutdown APIs drivers/intel/fsp
123 to bootsplash.h
124 * Adjusts the vendor driver to utilize the new APIs for low-battery
125 rendering decisions.
126 * Drop the unwanted header file "fsp/api.h" from bmp_logo.c
127
128 This change avoids tight coupling of low-battery functionality to FSP,
129 promoting code reusability across platforms.
130
131
132 ### soc/intel/cannonlake: Use common ACPI code for SRAM and HECI
133
134 Use the newly-created ACPI devices in common/acpi, and adjust the SoC
135 ACPI name for the CSE/HECI device to match.
136
137
138 ### lib: Introduce early power off support Kconfig option
139
140 This commit introduces the `HAVE_EARLY_POWEROFF_SUPPORT` Kconfig option
141 and the `platform_do_early_poweroff()` API.
142
143 The Kconfig option enables platform-specific early power off support,
144 which is often required on Intel platforms. The corresponding API allows
145 platforms to implement the necessary hardware operations for early power
146 off, typically before memory initialization.
147
148
149
150 Additional coreboot changes
151 ---------------------------
152
153 * Numerous changes to Haswell open source ram init
154 * Numerous additions to intelp2m tool
155 * Enhanced power management and thermal control across multiple platforms
156 * Improved USB Type-C and Thunderbolt support
157 * Added support for early power off and low battery detection
158 * Enhanced display and graphics support across multiple platforms
159 * Improved memory initialization and training
160 * Added support for various new memory parts and configurations
161 * Enhanced ACPI support and device handling
162 * Improved security features and TPM support
163 * Enhanced EC (Embedded Controller) support across platforms
164 * Added support for various new touch panels and input devices
165 * Refactored and improved code organization across multiple subsystems
166 * Enhanced build system and toolchain support
167 * Improved documentation and testing infrastructure
168 * Added support for RISC-V architecture improvements
169 * Enhanced debugging and logging capabilities
170 * Improved error handling and recovery mechanisms
171 * Added 7500 MT/s support for DDR5
172
173
174
175 Changes to external resources
176 -----------------------------
177
178 ### Toolchain updates
179
180 * Update CMake from 3.30.2 to 3.31.3
181 * Update ACPICA from 20230628 to 20241212
182
183
184 ### Git submodule pointers
185
186 * arm-trusted-firmware: Update from commit id 15e5c6c91d to e5a1f4abee (608 commits)
187 * blobs: Update from commit id 14f8fcc1b4 to a0726508b8 (10 commits)
188 * fsp: Update from commit id 851f7105d8 to 86c9111639 (30 commits)
189 * intel-microcode: Update from commit id 8ac9378a84 to 8a62de41c0 (1 commits)
190 * vboot: Update from commit id f1f70f46dc to 3f94e2c7ed (49 commits)
191
192
193
194 Platform Updates
195 ----------------
196
197 ### Added mainboards:
198 * AMD Crater for Renoir SoC
199 * ASROCK Z87 Extreme3
200 * ASROCK Z87 Extreme4
201 * ASROCK Z87M Extreme4
202 * ASROCK Z87 Pro4
203 * ASUS P8H67-I DELUXE
204 * Google Dirks
205 * Google Guren
206 * Google Meliks
207 * Google Moxie
208 * Google Ocelot
209 * Google Pujjoniru
210 * Google Quandiso2
211 * Google Wyrdeer
212 * HP Pro 3400 Series
213 * Intel Ptlrvp
214 * Lenovo ThinkCentre M900
215 * NovaCustom V540TU (14")
216 * NovaCustom V560TU (16")
217 * StarLabs StarLite Mk V Smart Battery (N200)
218 * StarLabs StarBook Mk VII (165H)
219 * StarLabs StarBook Mk VII (N200)
220
221 ### Updated SoCs
222 * Added src/soc/xilinx/zynq7000
223
224
225
226 Statistics from the 24.12 to the 25.03 release
227 ----------------------------------------------
228
229 * Total Commits: 1001
230 * Average Commits per day: 10.05
231 * Total lines added: 88158
232 * Average lines added per commit: 88.07
233 * Number of patches adding more than 100 lines: 97
234 * Average lines added per small commit: 40.48
235 * Total lines removed: 22900
236 * Average lines removed per commit: 22.88
237 * Total difference between added and removed: 65258
238 * Total authors: 131
239 * New authors: 29
240
241
242
243 Significant Known and Open Issues
244 ---------------------------------
245
246 ### coreboot-wide or architecture-wide issues
247
248
249 * 519: make gconfig - could not find glade file
250 * 518: make xconfig - g++: fatal error: no input files
251
252
253
254 ### Payload-specific issues
255
256
257 * 577: SeaBIOS/EDK2 Windows 10 BSOD "UNSUPPORTED PROCESSOR"
258 * 552: X201 not booting with edk2 payload
259 * 549: SeaBIOS Windows 10/11 BSOD "ACPI BIOS ERROR" (Thinkpad W530)
260 * 499: edk2 boot fails with RESOURCE_ALLOCATION_TOP_DOWN enabled
261 * 496: Missing malloc check in libpayload
262 * 484: No USB keyboard support with secondary payloads
263 * 414: X9SAE-V: No USB keyboard init on SeaBIOS using Radeon RX 6800XT
264
265
266
267 ### Platform-specific issues
268
269
270 * 579: MAC address set by coreboot to RTL8111F does not persist
271 * 565: Wifi card not recognized on Lenovo M700 tiny
272 * 563: tty doesn't show on external display using edk2 on W530
273 * 548: Lenovo X201 Fails To Recognize Upgraded WiFi Card
274 * 538: x230: Dock Causes Internal Display to "Permanently" Malfunction
275 * 535: T420: Power light stays off after reboot
276 * 528: Building qemu-i440fx with CONFIG_CBFS_VERIFICATION fails
277 * 524: X2APIC Options cause Linux to crash on emulation/qemu-i440fx
278 * 517: lenovo x230 boot stuck with connected external monitor
279 * 509: SD Card hotplug not working on Apollo Lake
280 * 506: APL/GML don't boot OS when CPU microcode included "from tree"
281 * 505: Harcuvar CRB - 15 of 16 cores present in the operating system
282 * 499: T440p - EDK2 fails with RESOURCE_ALLOCATION_TOP_DOWN enabled
283 * 495: Stoney Chromebooks not booting PSPSecureOS
284 * 478: X200 booting Linux takes a long time with TSC
285 * 474: X200s crashes after graphic init with 8GB RAM
286 * 457: Haswell (t440p): CAR mem region conflicts with CBFS_SIZE > 8mb
287 * 453: Intel HDMI / DP Audio not present in Windows after libgfxinit
288 * 449: ThinkPad T440p fail to start, continuous beeping & LED blinking
289 * 448: Thinkpad T440P ACPI Battery Value Issues
290 * 446: Optiplex 9010 No Post
291 * 439: Lenovo X201 Turbo Boost not working (stuck on 2,4GHz)
292 * 427: x200: Two battery charging issues
293 * 412: x230 reboots on suspend
294 * 393: T500 restarts rather than waking up from suspend
295 * 350: I225 PCIe device not detected on Harcuvar
296
297
298
299
300 coreboot Links and Contact Information
301 --------------------------------------
302
303 * Main Web site: <https://www.coreboot.org>
304 * Downloads: <https://coreboot.org/downloads.html>
305 * Source control: <https://review.coreboot.org>
306 * Documentation: <https://doc.coreboot.org>
307 * Issue tracker: <https://ticket.coreboot.org/projects/coreboot>
308 * Donations: <https://coreboot.org/donate.html>
309