Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit: autoupdate hooks #117

Open
wants to merge 5,107 commits into
base: dasharo-stable202002
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5107 commits
Select commit Hold shift + click to select a range
6358e7d
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
Stojek139808 Feb 15, 2023
9c8ac0d
DasharoModulePkg: Change Iommuhandoff and DMA protection to one EfiVar
Stojak139808 Feb 16, 2023
cd97490
DasharoModulePkg: DasharoBootPolicies/BootPolicies.c: Add DEBUG messa…
Stojak139808 Feb 21, 2023
a83f91c
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: Change DMA efiv…
Stojak139808 Feb 21, 2023
649ace4
DasharoModulePkg: DasharoBootPolicies/BootPolicies.c: Adjust dma setu…
Stojak139808 Feb 21, 2023
01213df
DasharoModulePkg: DasharoBootPolicies/BootPolicies.c: Toggle first bi…
Stojak139808 Feb 21, 2023
d19df54
DasharoModulePkg: DasharoBootPolicies/BootPolicies.c: Add handle for …
Stojak139808 Feb 22, 2023
9c7ae94
DasharoModulePkg: DasharoBootPolicies/BootPolicies.c: Fix typo and us…
Stojak139808 Feb 22, 2023
873fcaf
DasharoModulePkg: Update DMA protection option
miczyg1 Feb 22, 2023
30933cc
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
miczyg1 Feb 22, 2023
c24aa9d
DasharoModulePkg: DasharoSystemFeatures.c: Implement Boot Manager Ena…
3mdeb-karolzmyslowski Feb 15, 2023
c2af545
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: add sleep type …
miczyg1 Mar 8, 2023
dabf60d
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: hide IOMMU if n…
miczyg1 Apr 12, 2023
43c99bf
DasharoModulePkg: DasharoSystemFeaturesVfr.vfr: Correct default value…
3mdeb-karolzmyslowski May 15, 2023
d1462b3
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
miczyg1 May 25, 2023
4720119
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
miczyg1 May 25, 2023
56d0d5a
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: make default OC…
miczyg1 Jul 21, 2023
cf76fe5
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: hide OC WDT wit…
miczyg1 Jul 21, 2023
5988034
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
krystian-hebel Aug 10, 2023
4cdcf39
DasharoModulePkg: Add Power Management Option for power failure state
SergiiDmytruk Aug 27, 2023
5404e7f
DasharoModulePkg: Add PcdPowerMenuShowSleepType PCD
SergiiDmytruk Aug 27, 2023
78bc59a
DasharoModulePkg: DasharoSystemFeaturesUiLib: use *_QUESTION_ID const…
SergiiDmytruk Aug 29, 2023
f2fddbc
DasharoModulePkg: Add empty PCI/PCIe Configuration submenu
SergiiDmytruk Aug 28, 2023
48596fa
DasharoModulePkg: Add PCI/PCIe option to enable Resizeable BARs
SergiiDmytruk Aug 28, 2023
f591d0e
DasharoModulePkg: DasharoSystemFeatures: add PCI OptionROM execution …
husni-faiz Aug 28, 2023
9420c1a
DasharoModulePkg: DasharoSyxtemFeatures: define OptionROM strings for…
husni-faiz Aug 28, 2023
699b1b4
DasharoModulePkg: DasharoSystemFeatures: add OptionROM loading control
husni-faiz Aug 28, 2023
0d6dab0
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: added menu entr…
Aug 22, 2023
94dff1a
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
krystian-hebel Sep 15, 2023
e68e823
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: added Enable Wi…
Aug 24, 2023
d91cd17
DasharoModulePkg: add option for battery thresholds
mkopec Sep 13, 2023
578d752
DasharoModulePkg: Store both bat thresholds in single efivar
mkopec Sep 15, 2023
756398c
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
mkopec Sep 18, 2023
414c1aa
DasharoModulePkg: tree-wide: pre-commit autofixes
macpijan Sep 20, 2023
8d85197
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: add empty memor…
SergiiDmytruk Sep 21, 2023
f33f594
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: add memory prof…
SergiiDmytruk Sep 22, 2023
5f15317
DasharoModulePkg: Add serial port console redirection option
miczyg1 Sep 29, 2023
de20387
DasharoModulePkg: Add switches to hide Camera and WiFi/BT options
miczyg1 Sep 29, 2023
b7a3a72
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib: add defaults fo…
miczyg1 Oct 5, 2023
3115ff4
DasharoModulePkg: Add bat thresholds to default callback
mkopec Oct 6, 2023
8f9241c
DasharoModulePkg: Add logic to set ME to default disabled and hide HAP
miczyg1 Oct 12, 2023
6e36100
DasharoModulePkg: Add S3 experimental disclaimer PCD
mkopec Nov 3, 2023
6aba232
DasharoModulePkg: DasharoSystemFeaturesUiLib: add help note on power …
SergiiDmytruk Nov 10, 2023
4880dd2
DasharoModulePkg: Add more switches to hide features
miczyg1 Feb 19, 2024
7364c74
DasharoModulePkg: Handle default sleep type override
miczyg1 Feb 19, 2024
8ddd88e
DasharoModulePkg: Add support for second serial port
miczyg1 Feb 19, 2024
b76168f
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
mkopec Mar 14, 2024
be9a061
DasharoModulePkg: Decouple watchdog enablement and visibility from ea…
mkopec Mar 15, 2024
ee9f102
DasharoPayloadPkg/DasharoPayloadPkg.dsc: remove unnecessary includes
miczyg1 Oct 29, 2022
db27977
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h: reduce timeout to 2 seconds
miczyg1 Oct 29, 2022
56be679
DasharoPayloadPkg: Add VT-d driver
miczyg1 Oct 19, 2022
ff78843
DasharoPayloadPkg: Allow adding external iPXE with custom boot option…
miczyg1 Nov 8, 2022
7990ccb
DasharoPayloadPkg/DasharoPayloadPkg.dsc: do not depend BaseCryptLib o…
miczyg1 Nov 7, 2022
c3ef11e
MdeModulePkg/Bus/Isa/Ps2: add depex for Dasharo PS2 policy
miczyg1 Nov 10, 2022
de7f79b
DasharoPayloadPkg,MdeModulePkg: improve detection of PS/2 keyboard
miczyg1 Nov 10, 2022
41e0edc
DasharoPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.…
miczyg1 Nov 11, 2022
491b1ff
DasharoPayloadPkg: add build option for IOMMU
miczyg1 Dec 19, 2022
cd81320
DasharoPayloadPkg/BlSMMStoreDxe: add debug prints
miczyg1 Jan 9, 2023
2485f40
DasharoPayloadPkg: Add fresh SmmStore from MrChromebox repo
miczyg1 Apr 14, 2024
9df5cb9
DasharoPayloadPkg: Use provided memory ranges in a smarter way
PatrickRudolph May 11, 2020
fab6e7a
DasharoPayloadPkg: report MMIO resources
miczyg1 Nov 24, 2022
3c7ac25
MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c: add ar…
miczyg1 Dec 18, 2022
701da9c
DasharoPayloadPkg/Library/PlatformBootManagerLib: register iPXE when …
miczyg1 Jan 12, 2023
13e23a2
DasharoPayloadPkg: always compile and include Dasharo Boot Policies
miczyg1 Jan 12, 2023
5ca8789
DasharoPayloadPkg/DasharoPayloadPkg.dsc: Add PcdVTdPolicyPropertyMask
Stojak139808 Feb 14, 2023
8a82a45
DasharoPayloadPkg/SmmStoreFvb/SmmStoreFvbRuntimeDxe.c: set gEfiAuthen…
mkopec Feb 21, 2023
28b4565
DasharoPayloadPkg: add USB mouse driver
miczyg1 Feb 28, 2023
df34c76
DasharoPayloadPkg: hook up BootManagerEnable efivar
3mdeb-karolzmyslowski Feb 20, 2023
c699643
DasharoPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.…
miczyg1 Mar 9, 2023
ee559db
DasharoPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.…
miczyg1 Mar 9, 2023
fdccfd5
DasharoPayloadPkg/Library/PlatformBootManagerLib: add PCD to skip PS/…
miczyg1 Mar 10, 2023
3cc0829
DasharoPayloadPkg: add System76 EC logging driver from system76/edk2
mkopec Mar 13, 2023
7854a5e
DasharoPayloadPkg/Library/PlatformBootManagerLib: add SOL strings
miczyg1 Mar 21, 2023
268a8b3
DasharoPayloadPkg: hide IOMMU if not enabled
miczyg1 Apr 12, 2023
2404dc3
OvmfPkg: update OvmfPkgX64 to work with Dasharo
maheshtammisetti Mar 9, 2023
47973b4
DasharoPayloadPkg: Hookup SD/MMC timeout
Sean-StarLabs Feb 18, 2022
3ad1e1b
DasharoPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.…
miczyg1 Nov 12, 2022
6a484ff
DasharoPayloadPkg/Library/PlatformBootManagerLib: clear screen and re…
miczyg1 Jun 13, 2023
4d12cb6
DasharoPayloadPkg/Library/PlatformBootManagerLib: disable cursor befo…
miczyg1 Jun 13, 2023
bd391b9
DasharoPayloadPkg/Library/PlatformBootManagerLib: drain input after c…
miczyg1 Jun 14, 2023
08e095f
DasharoPayloadPkg/Library/PlatformBootManagerLib: register continue k…
miczyg1 Jun 14, 2023
c5b7364
DasharoPayloadPkg/Library/LaptopBatteryLib: Add library to query char…
miczyg1 Jul 11, 2023
b4a816c
DasharoPayloadPkg/Library/PlatformBootManagerLib: Add battery warning…
miczyg1 Jul 11, 2023
debf3c3
DasharoPayloadPkg/Library/LaptopBatteryLib/LaptopBatteryLib.c: Debug …
miczyg1 Jul 11, 2023
b14e620
MdePkg,NetwokrPkg: Do not use AIP InformationBlock if its size is 0
miczyg1 Jul 18, 2023
3c925eb
SecurityPkg/Tcg/Opal/OpalPassword: check for both BLOCK_IO and BLOCK_IO2
miczyg1 Jul 18, 2023
1e4b984
MdePkg/Include/Uefi/UefiSpec.h: Bump UEFI specification version to 2.8
miczyg1 Jul 18, 2023
7a71a5b
DasharoPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.…
krystian-hebel Aug 11, 2023
d7d969d
SecurityPkg/AuthVariableLib: disable Secure Boot in Firmware Update Mode
krystian-hebel Aug 14, 2023
9edab61
MdeModulePkg/Library/UefiBootManagerLib: Create Boot Options for pre-…
miczyg1 Aug 28, 2023
70f14c4
DasharoPayloadPkg/PciPlatformDxe: dynamic OptionROM loading control
SergiiDmytruk Sep 1, 2023
dfb8290
DasharoPayloadPkg/DasharoPayloadPkg.dsc: make the max string length b…
miczyg1 Sep 9, 2023
970693d
DasharoPayloadPkg/Library/PlatformBootManagerLib: set runtime FUM var…
krystian-hebel Sep 15, 2023
2d238f0
DasharoPayloadPkg/Library/PlatformBootManagerLib: enable and start iP…
krystian-hebel Sep 15, 2023
fd24869
pre-commit: add config
macpijan Sep 20, 2023
85e3c48
MdeModulePkg/Application/UiApp/FrontPage.c: display memory speed
SergiiDmytruk Sep 23, 2023
56a598c
MdeModulePkg: Control pre-installed boot options creation with PCD
miczyg1 Sep 26, 2023
f6f5da4
MdeModulePkg: Ensure boot timeout is taken from Timeout EFI variable
miczyg1 Sep 26, 2023
0eec053
DasharoPayloadPkg: Support multiple consoles and debug interfaces
miczyg1 Sep 26, 2023
16681bd
CrScreenshotDxe: add submodule
mkopec Sep 5, 2023
2eb5f21
DasharoPayloadPkg/DasharoPayloadPkg.dsc: enable CrScreenshotDxe
mkopec Sep 5, 2023
63d92be
MdeModulePkg/Library/CustomizedDisplayLib: add helptext for screenshots
mkopec Sep 5, 2023
edfbb98
OvmfPkg/OvmfPkgX64: Add ScreenshotDxe
miczyg1 Oct 2, 2023
df10992
DasharoPayloadPkg/DasharoPayloadPkg.dsc: Add build options for FPDT a…
miczyg1 Sep 27, 2023
54cd592
DasharoPayloadPkg/Library/CbParseLib/CbParseLib.c: Fix ResetEnd times…
miczyg1 Sep 27, 2023
96128c4
MdeModulePkg/Universal/Acpi/AcpiTableDxe: copy XFirmwareCtl unconditi…
mkopec Oct 2, 2023
561cb9c
DasharoPayloadPkg/Library/PlatformBootManagerLib: Save SMBIOS data in…
miczyg1 Sep 28, 2023
f92fde2
Add option to control serial console
miczyg1 Sep 29, 2023
d8340b3
.github/workflows/build.yml: add for buiding OVMF firmware
macpijan Oct 8, 2023
6a61b96
.github/workflows/build.yml: store OVMF artifacts
macpijan Oct 10, 2023
b2fb8a6
.github/scripts/run-qemu.sh: add
macpijan Oct 9, 2023
3c375bd
OvmfPkg: always enable serial console redirection
macpijan Apr 15, 2024
f5ac6fa
OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c: print setup keys
macpijan Oct 10, 2023
8a070fb
OvmfPkg: register BootManagerMenuApp
macpijan Oct 10, 2023
a0f8373
OvmfPkg: set terminal type to EFI_TTY_TERM
macpijan Oct 11, 2023
130ac26
OvmfPkg: sync the UEFI Shel entry name with UefiPayload
macpijan Oct 11, 2023
05ae030
OvmfPkg: swap ESC and F2 mapping
macpijan Oct 11, 2023
43b7c32
.github/scripts/run-qemu.sh: run with graphic ON by default
macpijan Oct 11, 2023
37ba93e
MdeModulePkg/Library/CustomizedDisplayLib: Fix hotkey positioning
miczyg1 Oct 18, 2023
27f10b5
MdeModulePkg/BootMaintenanceManagerUiLib: Produce default opcode for …
miczyg1 Oct 18, 2023
9785a61
Ensure the PcdPlatformBootTimeOut is not updated to make it the defau…
miczyg1 Oct 18, 2023
2092275
OvmfPkg: enable all recent Dasharo System Feautures
macpijan Oct 13, 2023
4506bd8
.github/workflows/build.yml: create release on tag
macpijan Oct 13, 2023
6bff5bb
.github/workflows/build.yml: unique names for artifacts
macpijan Oct 13, 2023
3e7f667
SecurityPkg/Library/AuthVariableLib: Add support for default SB state…
miczyg1 Oct 24, 2023
297f5df
SecurityPkg/Library/SecureBootVariableProvisionLib: Fix enrolling dbx
miczyg1 Oct 24, 2023
85f4fa1
SecurityPkg/Library/SecureBootVariableLib: Add API to set SB state
miczyg1 Oct 24, 2023
8217277
SecureBootDefaultKeysDxe: Enroll default keys if boot with default se…
miczyg1 Oct 24, 2023
fbe23a7
SecurityPkg/VariableAuthenticated/SecureBootConfigDxe: Improve UX
miczyg1 Oct 24, 2023
ba7c4dd
MdeModulePkg: Be more verbose about SecureBoot and the reason why the…
PatrickRudolph Jun 16, 2020
ffadf0a
MdeModulePkg/Library/UefiBootManagerLib: Be more verbose about boot f…
miczyg1 Oct 24, 2023
6ef3c53
DasharoPayloadPkg/DasharoPayloadPkg.dsc: Allow setting default Secure…
miczyg1 Oct 24, 2023
9d2660a
OvmfPkg: Integrate default SB keys and SB state
miczyg1 Oct 24, 2023
0f63aaa
DasharoPayloadPkg/BlSupportPei: Validate NV FVH and set boot mode acc…
miczyg1 Oct 24, 2023
38c6f74
DasharoPayloadPkg: Enable RamDisk support
miczyg1 Oct 24, 2023
cad859f
MdeModulePkg: reject negative autoboot timeout
filipleple Oct 20, 2023
1b9f893
OvmfPkg/OvmfPkgX64: add support for ipxe.efi
pietrushnic Oct 23, 2023
fc6ece7
OvmfPkg: improve PlatformBootManagerLib API
pietrushnic Oct 23, 2023
745e276
OvmfPkg: register ipxe.efi file as boot option
pietrushnic Oct 23, 2023
9a929ad
.github/{scripts,worflows}: add support to build ipxe.efi
pietrushnic Oct 23, 2023
6d7e778
OvmfPkg/OvmfPkgX64.dsc: enable ESP scanning
filipleple Nov 2, 2023
6541ede
SetupBrowserDxe/Setup.c: set browser action scope to system level
mkopec Nov 9, 2023
2d4b22b
SecureBootConfigDxe/SecureBootConfigImpl.c: add default for SB state
mkopec Nov 9, 2023
c5b9d6c
UiApp: remind user to save settings on exit
mkopec Nov 9, 2023
6b9c0fe
OvmfPkg/OvmfPkgX64.dsc: enable power state after power failure
macpijan Oct 26, 2023
0373617
DasharoPayloadPkg/SecureBootDefaultKeys: update keys 16/11/2023
macpijan Nov 16, 2023
83f131e
Add CI for UEFI DBX
mkopec Nov 21, 2023
41968a3
FUNDING.yml: add
macpijan Feb 20, 2024
6d2f767
MdeModulePkg/Library/BootMaintenanceManagerUiLib: Handle timeout stat…
miczyg1 Feb 23, 2024
939c1bc
DasharoPayloadPkg: Handle the PS/2 option properly if not enabled in …
miczyg1 Feb 19, 2024
055cbbe
AuthVariableLib,PlatformBootManagerLib: Skip FUM flow if not enabled …
miczyg1 Feb 19, 2024
b745f76
OvmfPkg/SioBusDxe/SioService.c: Add support for 4 COM ports
miczyg1 Feb 19, 2024
f66ec6d
DasharoPayloadPkg: Do not depend SioBusDxe on PS2 keyboard
miczyg1 Feb 19, 2024
ea12600
DasharoPayloadPkg: Add support for second serial port redirection
miczyg1 Feb 19, 2024
f670474
DasharoPayloadPkg: Add Dasharo APU Configuration UI module
miczyg1 Feb 27, 2024
dceeca2
OvmfPkg/OvmfPkgX64: Add APU Configuration UI for testing
miczyg1 Feb 28, 2024
f964e05
MdeModulePkg/Application/UiApp/FrontPage.c: get memory from Table 17
SergiiDmytruk Mar 9, 2024
6c02def
DasharoPayloadPkg/AcpiPlatformDxe/AcpiPlatform.c: fallback to FADT->F…
SergiiDmytruk Mar 9, 2024
6d34a38
Fix compilation with coreboot-sdk:2023-11-24_2731fa619b
mkopec Apr 3, 2024
aba21ef
CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf: set -Wno-error=format
SergiiDmytruk Apr 23, 2024
0e2f6a1
DasharoPayloadPkg: switch from OpenSSL to MbedTls
SergiiDmytruk Apr 30, 2024
4445a5f
OvmfPkg/OvmfPkgX64.dsc: switch from OpenSSL to MbedTls
SergiiDmytruk Jun 15, 2024
5968d5e
DasharoPayloadPkg: disable PcdResetOnMemoryTypeInformationChange
SergiiDmytruk May 1, 2024
753ca23
DasharoPayloadPkg.fdf: run BlSupportPei as soon as possible
SergiiDmytruk May 31, 2024
58f3d69
DasharoPayloadPkg/AcpiTimerLib: don't crash if there are no HOBs
SergiiDmytruk May 31, 2024
90673c0
CryptoPkg: Add AeadAesGcm based on Mbedtls
Wenxing-hou Mar 11, 2024
5a48959
CryptoPkg: Add rand function for BaseCryptLibMbedTls
Wenxing-hou Mar 11, 2024
59ec30f
CryptoPkg: Add Pem APIs based on Mbedtls
Wenxing-hou Mar 12, 2024
d23e998
CryptoPkg: Add X509 functions based on Mbedtls
Wenxing-hou Mar 12, 2024
f626979
CryptoPkg: Add Pkcs7 related functions based on Mbedtls
Wenxing-hou Apr 7, 2024
33917d4
CryptoPkg: Add Pkcs5 functions based on Mbedtls
Wenxing-hou Apr 7, 2024
60f6a18
CryptoPkg: Add more RSA related functions based on Mbedtls
Wenxing-hou Apr 7, 2024
5a34092
CryptoPkg: Add AuthenticodeVerify based on Mbedtls
Wenxing-hou Mar 13, 2024
0295704
CryptoPkg: Add ImageTimestampVerify based on Mbedtls
Wenxing-hou Mar 13, 2024
9249c43
CryptoPkg: Update *.inf in BaseCryptLibMbedTls
Wenxing-hou Apr 26, 2024
71595f5
CryptoPkg: Add SHA3/SM3 functions with OpenSSL for MbedTLS
Wenxing-hou Mar 11, 2024
ee1d4aa
CryptoPkg: Fix linker warnings related to incompatible types
SergiiDmytruk Jun 1, 2024
d40d003
UefiPayloadPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c: use detection command…
miczyg1 Feb 22, 2021
e772e65
DasharoPayloadPkg/GraphicsOutputDxe: Allow FB to be at offset from BAR
mkopec May 28, 2024
6ca2060
CryptoPkg,DasharoPayloadPkg: extract MbedTlsCrtLib to manage allocations
SergiiDmytruk Jun 7, 2024
784750e
CryptoPkg/Library/BaseCryptLibMbedTls: use calloc()/free() in CryptPk…
SergiiDmytruk Jun 7, 2024
2bc2549
Add CPU throttling threshold option support
filipleple May 14, 2024
65abd63
Library/DasharoSystemFeaturesUiLib/DasharoSystemFeatures.c: remove un…
mkopec Jun 5, 2024
fc8c25a
DasharoModulePkg: #define variable names and use consistently
SergiiDmytruk May 25, 2024
f777376
DasharoModulePkg: move more declarations to DasharoOptions.h
SergiiDmytruk May 25, 2024
0a2f492
DasharoSystemFeaturesUiLib/DasharoSystemFeaturesHii.h: cleanup
SergiiDmytruk May 25, 2024
fc265a2
DasharoSystemFeaturesUiLib: fix initializing SleepType
SergiiDmytruk May 25, 2024
aac70ad
DasharoModulePkg: move variable creation to DasharoVariablesLib
SergiiDmytruk May 25, 2024
cebe464
DasharoSystemFeaturesUiLib: reduce boilerplate in constructor
SergiiDmytruk May 25, 2024
feaeb14
DasharoModulePkg: reset to defaults maintained by DasharoVariablesLib
SergiiDmytruk May 26, 2024
a0cd2e1
DasharoSystemFeaturesUiLib: reduce boilerplate in RouteConfig
SergiiDmytruk May 26, 2024
ae1449d
SecurityPkg: measure Dasharo variables before boot
SergiiDmytruk May 26, 2024
ffe23e5
DasharoSystemFeaturesUiLib: fix watchdog not being reset to default
SergiiDmytruk May 26, 2024
49725ec
DasharoModulePkg: document how to add a new setting
SergiiDmytruk May 26, 2024
e2be5f6
DasharoModulePkg/DasharoSystemFeaturesUiLib: Change serial port optio…
miczyg1 Jun 14, 2024
38bd5a0
PlatformBootManager: handle Vboot EC errors
mkopec Apr 11, 2024
64e2010
DasharoPayloadPkg: import update capsules from cbmem in PEI
SergiiDmytruk Apr 29, 2024
a2e7f92
OvmfPkg,SecurityPkg,DasharoPayloadPkg: use Dasharo var constants
SergiiDmytruk May 28, 2024
88078bc
SecurityPkg/SecureBootConfigDxe: require reset on all SB changes
SergiiDmytruk Jun 4, 2024
c048540
[DNM] MdeModulePkg: PciBusDxe: Drop `RemoveRejectedPciDevices()`
benjamindoron Apr 17, 2024
7b0c378
Dasharo{Module,Payload}Pkg: extract IOMMU settings to separate driver
krystian-hebel Jun 4, 2024
6e3042c
OvmfPkg: make it build without edk2-platforms
SergiiDmytruk Jun 15, 2024
379a51b
DasharoPayloadPkg/PciHostBridgeLib.c: trim PMem if it overlaps with Mem
krystian-hebel May 27, 2024
3149a5a
MdeModulePkg/RuntimeDxeReportStatusCodeLib: do nothing after ExitBoot…
miczyg1 Oct 20, 2023
11b2679
DasharoSystemFeaturesUiLib: Add options for downcoring and HT
miczyg1 Jun 12, 2024
b5eca82
DasharoPayloadPkg: Fix PCR banks missing from Tcg2ConfigDxe
SergiiDmytruk Jun 25, 2024
cc38854
Rework the CPU throttling variables and setup UI management
miczyg1 Jun 20, 2024
43302b4
DasharoPayloadPkg: Load bootlogo bitmap from CBMEM
mkopec Feb 18, 2022
db4b8c5
DasharoModulePkg/DasharoSystemFeaturesUiLib: Write variables only for…
miczyg1 Jun 20, 2024
103f78e
DasharoModulePkg/DasharoSystemFeaturesUiLib: Use disableif for options
miczyg1 Jun 20, 2024
575c81e
DasharoModulePkg/DasharoVariablesLib: Autocreate variables only for e…
miczyg1 Jun 24, 2024
16cdeba
DasharoSystemFeaturesUiLib,DasharoVariablesLib: Use FixedPcdGetBool
miczyg1 Jun 26, 2024
27e8dff
DasharoPayloadPkg/DasharoPayloadPkg.dsc: Move out the PCD settings fr…
miczyg1 Jul 1, 2024
84b5cb8
DasharoPayloadPkg: Remove iso9660 driver
PatrickRudolph May 19, 2020
f0b7c4a
UserAuthenticationDxe: Loosen Password requirements
philipandag Jul 12, 2024
16a96c0
UserAuthenticationDxe: Remove unused variables
philipandag Jul 12, 2024
793d703
UserAuthenticationDxe.c: Update DisplayString2
philipandag Jul 12, 2024
5cf2731
UsetAuthenticationDxe.c: Fix typo in DisplayString
philipandag Jul 15, 2024
b0827cd
UserAuthentication.h: Increase PASSWORD_MAX_SIZE
philipandag Jul 15, 2024
f8c6b65
UserAuthentication.h: Try messing with sha256 hash
philipandag Jul 15, 2024
536b489
Revert "UserAuthentication.h: Try messing with sha256 hash"
philipandag Jul 15, 2024
e3b0a34
UserAuthenticationDxe.c: Password Dialog show input
philipandag Jul 15, 2024
73fc346
UserAuthenticationDxeFormset.h: Increase Passwd length
philipandag Jul 15, 2024
a0727d6
Revert "UserAuthenticationDxe.c: Password Dialog show input"
philipandag Jul 15, 2024
c30aa2f
DasharoSystemFeaturesStrings.uni: Threshold help: lower for desktop use
philipandag Jul 26, 2024
68769c6
BaseTools/FmpCapsuleHeader.py: Explain error when throwing exceptions
SergiiDmytruk Jun 22, 2024
2b9d5d0
BaseTools/GenerateCapsule.py: Fix --decode operation
SergiiDmytruk Jun 22, 2024
5593694
BaseTools/GenerateCapsule.py: Disallow UpdateImageIndex == 0 on --encode
SergiiDmytruk Jun 22, 2024
0f28589
BaseTools/GenerateCapsule.py: Better error message on --decode failure
SergiiDmytruk Jun 22, 2024
3a42552
BaseTools/GenerateCapsule.py: Require --output for --decode
SergiiDmytruk Jun 22, 2024
2374aa6
BaseTools/GenerateCapsule.py: Fix inconsistent error formatting
SergiiDmytruk Jun 22, 2024
eb21879
BaseTools/GenerateCapsule.py: Fix checking for DepExp presence
SergiiDmytruk Jun 22, 2024
26f855c
DasharoPayloadPkg/PlatformBootManagerLib: Add missing BlParseLib in t…
miczyg1 Jul 25, 2024
ff274c8
DasharoPayloadPkg: Add PlatformGopPolicy
MrChromebox Apr 22, 2020
5a418fd
DasharoPayloadPkg: Use PlatformGopPolicy
MrChromebox Apr 22, 2020
418c430
DasharoPayloadPkg: Add LaptopLidLib
miczyg1 Aug 12, 2024
15e8a08
DasharoPayloadPkg: Use LaptopLidLib
miczyg1 Aug 12, 2024
9ba0580
CryptoPkg/BaseCryptLib[MbedTls]/SysCall/TimerWrapper.c: fix memory leak
SergiiDmytruk Aug 15, 2024
ae0eced
CryptoPkg/BaseCryptLibMbedTls: switch to calloc()/free()
SergiiDmytruk Aug 15, 2024
aac230a
DasharoPayloadPkg: Fix PciHostBridgeLib for resources above 4G
mkopec Aug 9, 2024
0266320
OvmfPkg: DxeTcg2PhysicalPresenceLib: fix changing of PCR banks
arturkow2000 Aug 27, 2024
4d1eaf5
OvmfPkg: DxeTcg2PhysicalPresenceLib: fix bootloop
arturkow2000 Sep 10, 2024
6b645e4
DasharoPayloadPkg: Use INIT-SIPI-SIPI for first AP wakeup
miczyg1 Sep 24, 2024
ff74346
DasharoSystemFeatures: Change power state after fail option name
wiktormowinski Sep 26, 2024
e91a6e4
DasharoModulePkg/DasharoVariablesLib: fix non-deterministic measurements
SergiiDmytruk Jul 17, 2024
e4ab769
DasharoPayloadPkg/DasharoPayloadPkg.fdf: Add missing TPM1.2 menu module
miczyg1 Oct 24, 2024
d1399bf
MdeModulePkg/Library/BootLogoLib/BootLogoLib.c: draw progress bar wit…
miczyg1 Feb 24, 2021
f3e18c6
.gitmodules: Update subhooks moduel URL to fix build
miczyg1 Nov 4, 2024
0dce26d
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni: Fix help text
miczyg1 Nov 4, 2024
86c9798
pre-commit: autoupdate hooks
pre-commit-ci[bot] Nov 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
50 changes: 50 additions & 0 deletions .azurepipelines/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Azure DevOps Pipelines

These yml files are used to provide CI builds using the Azure DevOps Pipeline Service.
Most of the CI leverages edk2-pytools to support cross platform building and execution.

## Core CI

Focused on building and testing all packages in Edk2 without an actual target platform.

See `.pytools/ReadMe.py` for more details

## Platform CI

Focused on building a single target platform and confirming functionality on that platform.

## Conventions

* Files extension should be *.yml. *.yaml is also supported but in Edk2 we use those for our package configuration.
* Platform CI files should be in the `<PlatformPkg>/.azurepipelines` folder.
* Core CI files are in the root folder.
* Shared templates are in the `templates` folder.
* Top level CI files should be named `<host os>-<tool_chain_tag>.yml`

## Links

* Basic Azure Landing Site - https://docs.microsoft.com/en-us/azure/devops/pipelines/?view=azure-devops
* Pipeline jobs - https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=azure-devops&tabs=yaml
* Pipeline yml scheme - https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema%2Cparameter-schema
* Pipeline expression - https://docs.microsoft.com/en-us/azure/devops/pipelines/process/expressions?view=azure-devops
* PyTools - https://github.com/tianocore/edk2-pytool-extensions and https://github.com/tianocore/edk2-pytool-library

## Lessons Learned

### Templates and parameters

They are great but evil. If they are used as part of determining the steps of a build they must resolve before the build starts. They can not use variables set in a yml or determined as part of a matrix. If they are used in a step then they can be bound late.

### File matching patterns

On Linux this can hang if there are too many files in the search list.

### Templates and file splitting

Suggestion is to do one big yaml file that does what you want for one of your targets. Then do the second one and find the deltas. From that you can start to figure out the right split of files, steps, jobs.

### Conditional steps

If you want the step to show up in the log but not run, use a step conditional. This is great when a platform doesn't currently support a feature but you want the builders to know that the features exists and maybe someday it will.

If you want the step to not show up use a template step conditional wrapper. Beware this will be evaluated early (at build start). This can hide things not needed on a given OS for example.
14 changes: 11 additions & 3 deletions .azurepipelines/Ubuntu-GCC5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,25 @@
# Azure Pipeline build file for a build using ubuntu and GCC5
#
# Copyright (c) Microsoft Corporation.
# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
trigger:
- master
- stable/*
pr:
- master
- stable/*

variables:
- template: templates/defaults.yml

jobs:
- template: templates/pr-gate-build-job.yml
parameters:
tool_chain_tag: 'GCC5'
vm_image: 'ubuntu-latest'
arch_list: "IA32,X64,ARM,AARCH64"

vm_image: 'ubuntu-22.04'
container: ${{ variables.default_linux_image }}
arch_list: "IA32,X64,ARM,AARCH64,RISCV64,LOONGARCH64"
usePythonVersion: '' # use Python from the container image
5 changes: 3 additions & 2 deletions .azurepipelines/Ubuntu-PatchCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# NOTE: This example monitors pull requests against the edk2-ci branch. Most
# environments would replace 'edk2-ci' with 'master'.
#
# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# https://github.com/tianocore
Expand All @@ -16,6 +16,7 @@ trigger: none

pr:
- master
- stable/*

pool:
vmImage: 'ubuntu-latest'
Expand All @@ -26,7 +27,7 @@ steps:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.7.x'
versionSpec: '3.12'
architecture: 'x64'

- script: |
Expand Down
13 changes: 12 additions & 1 deletion .azurepipelines/Windows-VS2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,24 @@
##
trigger:
- master
- stable/*

pr:
- master
- stable/*

variables:
- template: templates/defaults.yml

jobs:
- template: templates/pr-gate-build-job.yml
parameters:
tool_chain_tag: 'VS2019'
vm_image: 'windows-latest'
vm_image: 'windows-2019'
arch_list: "IA32,X64"
usePythonVersion: ${{ variables.default_python_version }}
extra_install_step:
- powershell: choco install opencppcoverage; Write-Host "##vso[task.prependpath]C:\Program Files\OpenCppCoverage"
displayName: Install Code Coverage Tool
condition: and(gt(variables.pkg_count, 0), succeeded())

59 changes: 59 additions & 0 deletions .azurepipelines/templates/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# CI Templates

This folder contains azure pipeline yml templates for "Core" and "Platform" Continuous Integration and PR validation.

## Common CI templates

### basetools-build-steps.yml

This template compiles the Edk2 basetools from source. The steps in this template are
conditional and will only run if variable `pkg_count` is greater than 0.

It also has two conditional steps only used when the toolchain contains GCC. These two steps
use `apt` to update the system packages and add those necessary for Edk2 builds.

## Core CI templates

### pr-gate-build-job.yml

This templates contains the jobs and most importantly the matrix of which packages and
targets to run for Core CI.

### pr-gate-steps.yml

This template is the main Core CI template. It controls all the steps run and is responsible for most functionality of the Core CI process. This template sets
the `pkg_count` variable using the `stuart_pr_eval` tool when the
build type is "pull request"

### spell-check-prereq-steps.yml

This template installs the node based tools used by the spell checker plugin. The steps
in this template are conditional and will only run if variable `pkg_count` is greater than 0.

## Platform CI templates

### platform-build-run-steps.yml

This template makes heavy use of pytools to build and run a platform in the Edk2 repo

Also uses basetools-build-steps.yml to compile basetools

#### Special Notes

* For a build type of pull request it will conditionally build if the patches change files that impact the platform.
* uses `stuart_pr_eval` to determine impact
* For manual builds or CI builds it will always build the platform
* It compiles basetools from source
* Will use `stuart_build --FlashOnly` to attempt to run the built image if the `Run` parameter is set.
* See the parameters block for expected configuration options
* Parameter `extra_install_step` allows the caller to insert extra steps. This is useful if additional dependencies, tools, or other things need to be installed. Here is an example of installing qemu on Windows.

``` yaml
steps:
- template: ../../.azurepipelines/templates/build-run-steps.yml
parameters:
extra_install_step:
- powershell: choco install qemu; Write-Host "##vso[task.prependpath]c:\Program Files\qemu"
displayName: Install QEMU and Set QEMU on path # friendly name displayed in the UI
condition: and(gt(variables.pkg_count, 0), succeeded())
```
9 changes: 0 additions & 9 deletions .azurepipelines/templates/basetools-build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ parameters:
tool_chain_tag: ''

steps:
- ${{ if contains(parameters.tool_chain_tag, 'GCC') }}:
- bash: sudo apt-get update
displayName: Update apt
condition: and(gt(variables.pkg_count, 0), succeeded())

- bash: sudo apt-get install gcc g++ make uuid-dev
displayName: Install required tools
condition: and(gt(variables.pkg_count, 0), succeeded())

- task: CmdLine@1
displayName: Build Base Tools from source
inputs:
Expand Down
12 changes: 12 additions & 0 deletions .azurepipelines/templates/defaults.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## @file
# File templates/default.yml
#
# template file containing common default values
#
# Copyright (c) Red Hat, Inc.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

variables:
default_python_version: "3.12"
default_linux_image: "ghcr.io/tianocore/containers/fedora-37-test:a0dd931"
150 changes: 150 additions & 0 deletions .azurepipelines/templates/platform-build-run-steps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@

## @file
# File steps.yml
#
# template file containing the steps to build
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

parameters:
- name: tool_chain_tag
type: string
default: ''
- name: build_pkg
type: string
default: ''
- name: build_target
type: string
default: ''
- name: build_arch
type: string
default: ''
- name: build_file
type: string
default: ''
- name: build_flags
type: string
default: ''
- name: run_flags
type: string
default: ''

- name: extra_install_step
type: stepList
default: []
- name: usePythonVersion
type: string
default: ''

steps:
- bash: |
echo "##vso[task.prependpath]${HOME}/.local/bin"
echo "new PATH=${PATH}"
displayName: Set PATH
condition: eq('${{ parameters.tool_chain_tag }}', 'GCC5')

- checkout: self
clean: true
fetchDepth: 1

- task: UsePythonVersion@0
inputs:
versionSpec: ${{ parameters.usePythonVersion }}
architecture: "x64"
condition: ne('${{ parameters.usePythonVersion }}', '')

- script: pip install -r pip-requirements.txt --upgrade
displayName: 'Install/Upgrade pip modules'

# Set default
- bash: echo "##vso[task.setvariable variable=pkg_count]${{ 1 }}"

# Fetch the target branch so that pr_eval can diff them.
# Seems like azure pipelines/github changed checkout process in nov 2020.
- script: git fetch origin $(System.PullRequest.targetBranch)
displayName: fetch target branch
condition: eq(variables['Build.Reason'], 'PullRequest')

# trim the package list if this is a PR
- task: CmdLine@1
displayName: Check if ${{ parameters.build_pkg }} need testing
inputs:
filename: stuart_pr_eval
arguments: -c ${{ parameters.build_file }} -t ${{ parameters.build_target}} -a ${{ parameters.build_arch}} --pr-target origin/$(System.PullRequest.targetBranch) --output-count-format-string "##vso[task.setvariable variable=pkg_count;isOutpout=true]{pkgcount}"
condition: eq(variables['Build.Reason'], 'PullRequest')

# Setup repo
- task: CmdLine@1
displayName: Setup
inputs:
filename: stuart_setup
arguments: -c ${{ parameters.build_file }} TOOL_CHAIN_TAG=${{ parameters.tool_chain_tag}} -t ${{ parameters.build_target}} -a ${{ parameters.build_arch}} ${{ parameters.build_flags}}
condition: and(gt(variables.pkg_count, 0), succeeded())

# Stuart Update
- task: CmdLine@1
displayName: Update
inputs:
filename: stuart_update
arguments: -c ${{ parameters.build_file }} TOOL_CHAIN_TAG=${{ parameters.tool_chain_tag}} -t ${{ parameters.build_target}} -a ${{ parameters.build_arch}} ${{ parameters.build_flags}}
condition: and(gt(variables.pkg_count, 0), succeeded())

# build basetools
# do this after setup and update so that code base dependencies
# are all resolved.
- template: basetools-build-steps.yml
parameters:
tool_chain_tag: ${{ parameters.tool_chain_tag }}

# Potential Extra steps
- ${{ parameters.extra_install_step }}

# Build
- task: CmdLine@1
displayName: Build
inputs:
filename: stuart_build
arguments: -c ${{ parameters.build_file }} TOOL_CHAIN_TAG=${{ parameters.tool_chain_tag}} TARGET=${{ parameters.build_target}} -a ${{ parameters.build_arch}} ${{ parameters.build_flags}}
condition: and(gt(variables.pkg_count, 0), succeeded())

# Run
- task: CmdLine@1
displayName: Run to shell
inputs:
filename: stuart_build
arguments: -c ${{ parameters.build_file }} TOOL_CHAIN_TAG=${{ parameters.tool_chain_tag}} TARGET=${{ parameters.build_target}} -a ${{ parameters.build_arch}} ${{ parameters.build_flags}} ${{ parameters.run_flags }} --FlashOnly
condition: and(and(gt(variables.pkg_count, 0), succeeded()), eq(variables['Run'], true))
timeoutInMinutes: 2

# Copy the build logs to the artifact staging directory
- task: CopyFiles@2
displayName: "Copy build logs"
inputs:
targetFolder: "$(Build.ArtifactStagingDirectory)"
SourceFolder: "Build"
contents: |
BUILDLOG_*.txt
BUILDLOG_*.md
CI_*.txt
CI_*.md
CISETUP.txt
SETUPLOG.txt
UPDATE_LOG.txt
PREVALLOG.txt
TestSuites.xml
**/BUILD_TOOLS_REPORT.html
**/OVERRIDELOG.TXT
BASETOOLS_BUILD*.*
flattenFolders: true
condition: succeededOrFailed()

# Publish build artifacts to Azure Artifacts/TFS or a file share
- task: PublishBuildArtifacts@1
continueOnError: true
displayName: "Publish build logs"
inputs:
pathtoPublish: "$(Build.ArtifactStagingDirectory)"
artifactName: "Build Logs $(System.JobName)"
condition: succeededOrFailed()
Loading
Loading