v3.0.0
What's Changed
-
Hafnium \& TFA git Changes [Rebase \& FF] @makubacki (#202)
Change Details
## Description
Adapts mu_tiano_platforms commits 053dd3c and e4fee38 for patina-qemu with some minor related changes.
Do not checkout Hafnium submodule recursively
The current workflow will checkout the hafnium submodule recursively.
This is not necessary unless a Hafnium build is explicitly requested.This change moves the pipeline to not checkout all the nested submodules
of Hafnium repo and only hydrate them when the Hafnium build from source
is needed.
Redirect Hafnium submodules to GitHub mirrors
Nested submodules in the Hafnium repository are pointing to unreliable
hosts. This commit updates the submodule URLs to point to GitHub
mirrors.- https://github.com/TF-Hafnium/hafnium-prebuilts
- https://github.com/TF-Hafnium/hafnium-project-reference
- https://github.com/TF-Hafnium/hafnium-third_party-dtc
- https://github.com/TF-Hafnium/hafnium-third_party-googletest
.github: Consolidate git config in a single location
The same step is in four different files and currently has a mix of
account information used. For example:- "GitHub Actions"" vs "github-actions[bot]"
- "actions@github.com" vs "github-actions[bot]@users.noreply.github.com"
This change consolidates the git configuration into a single action
that can be used across all workflows. The action will set the user
name and email to "github-actions[bot]" and
"github-actions[bot]@users.noreply.github.com" respectively.
.github: Clean up whitespace
Removes trailing whitespace in various files in .github.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
- Testing in PR CI
Integration Instructions
- N/A
-
TF-A Patch File Update to Remove C Partition Information @Raymond-MS (#200)
Change Details
## Description
Updates to the TF-A patch file to remove the C partition.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Built QemuSbsa with HAF_TFA_BUILD=TRUE. Successfully ran to UEFI shell.
Integration Instructions
N/A
-
build\_and\_run\_rust\_binary.py: Add --do-not-exit-on-patina-test-failure @makubacki (#199)
Change Details
## Description
Supports OpenDevicePartnership/patina-devops#100
Adds a new cmdline argument
--do-not-exit-on-patina-test-failurethat will pass--exclude-features exit_on_patina_test_failureto the patina-dxe-core-qemu cargo make build command.This is specially added to support patina repository CI flows where Patina tests are run and errors are reported/captured but PRs are not blocked. Other use cases such as patina-dxe-core-qemu and patina-qemu CI and local development are expected to continue using the default behavior of exiting QEMU when a Patina test fails, so the default behavior is not changed by this commit.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
-
Verify a Patina test failure exits with:
python .\build_and_run_rust_binary.py -p Q35 -
Verify a Patina test failure does not exit with:
python .\build_and_run_rust_binary.py -p Q35 --do-not-exit-on-patina-test-failure
Integration Instructions
-
N/A
⚠️ Breaking Changes
-
Global: Move to CLANGPDB Only @os-d (#201)
Change Details
## Description
This commit updates both Q35 and SBSA to build with CLANGPDB only. All pipelines are updated. All docs were updated and a lot of out of date or incorrect was removed.
The build and run script was updated to let SBSA run on Windows and to use the default core count of 4 for both platforms as this is the default in QemuRunner.py and SBSA's ACPI driver asserts that the core count PCD is the same as what it is running with.
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Booting to Windows and Linux on Windows/Linux container for both Q35 and SBSA with stuart and with the build and run script. Also tested building and booting with HAF_TFA_BUILD=TRUE.
Integration Instructions
These platforms only support the CLANGPDB toolchain. Ensure it is installed.
-
Update for 202511 @apop5 (#197)
Change Details
## Description
Update to 202511 compatability
- Impacts functionality?
- Impacts security?
- Breaking change?
- Includes tests?
- Includes documentation?
How This Was Tested
Compiled both q35 and sbsa under windows.
Integration Instructions
No integration necessary.
Full Changelog: v2.0.0...v3.0.0