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

Rebase onto edk2-stable202402 #129

Closed
wants to merge 357 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
357 commits
Select commit Hold shift + click to select a range
7f70f49
DasharoModulePkg: DasharoBootPolicies/BootPolicies.c: Patch PcdVTdPol…
Stojak139808 Feb 14, 2023
778d4ee
DasharoModulePkg: Library/DasharoSystemFeaturesUiLib/DasharoSystemFea…
Stojak139808 Feb 15, 2023
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
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
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .conform.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
policies:
- type: commit
spec:
header:
length: 80
imperative: false
invalidLastCharacters: .
body:
required: false
dco: true
gpg:
required: true
spellcheck:
locale: US
maximumOfOneCommit: false
8 changes: 8 additions & 0 deletions .github/scripts/build-ipxe.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

export CROSS_COMPILE="x86_64-elf-"
make -C src bin-x86_64-efi-sb/ipxe.efi EMBED=$PWD/dasharo.ipxe BUILD_ID_CMD="echo 0x1234567890" \
EXTRA_CFLAGS="-Wno-address-of-packed-member -m64 -fuse-ld=bfd \
-Wl,--build-id=none -fno-delete-null-pointer-checks -Wlogical-op -march=nocona \
-malign-data=abi -mcmodel=large -mno-red-zone -fno-pic"

20 changes: 20 additions & 0 deletions .github/scripts/build-qemu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env bash

make -C BaseTools
source ./edksetup.sh

export EDK2_PLATFORMS_PATH="$WORKSPACE/edk2-platforms"
export PACKAGES_PATH="$WORKSPACE:\
$WORKSPACE/ipxe/src/bin-x86_64-efi-sb:\
$EDK2_PLATFORMS_PATH/Platform/Intel:\
$EDK2_PLATFORMS_PATH/Silicon/Intel:\
$EDK2_PLATFORMS_PATH/Features/Intel:\
$EDK2_PLATFORMS_PATH/Features/Intel/Debugging:\
$EDK2_PLATFORMS_PATH/Features/Intel/Network:\
$EDK2_PLATFORMS_PATH/Features/Intel/OutOfBandManagement:\
$EDK2_PLATFORMS_PATH/Features/Intel/PowerManagement:\
$EDK2_PLATFORMS_PATH/Features/Intel/SystemInformation:\
$EDK2_PLATFORMS_PATH/Features/Intel/UserInterface"

build -a IA32 -a X64 -t GCC5 -b RELEASE -p OvmfPkg/OvmfPkgX64.dsc
build -a IA32 -a X64 -t GCC5 -b DEBUG -p OvmfPkg/OvmfPkgX64.dsc
19 changes: 19 additions & 0 deletions .github/scripts/run-qemu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env bash

cp ./Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd /tmp/OVMF_VARS.fd

q35_params="-machine q35,smm=on \
-global driver=cfi.pflash01,property=secure,value=on \
-drive if=pflash,format=raw,unit=0,file=Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd,readonly=on \
-drive if=pflash,format=raw,unit=1,file=/tmp/OVMF_VARS.fd \
-debugcon file:debug.log -global isa-debugcon.iobase=0x402 \
-global ICH9-LPC.disable_s3=1 \
-qmp unix:/tmp/qmp-socket,server,nowait \
-net none \
-serial telnet:localhost:1234,server,nowait"

if [ "$1" == "nographic" ]; then
qemu-system-x86_64 $q35_params -nographic
else
qemu-system-x86_64 $q35_params
fi
95 changes: 95 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Check EDK2 QEMU Build

on:
push:
branches:
- dasharo
tags:
- 'qemu_q35_v*'
pull_request:
branches:
- dasharo

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
submodules: 'recursive' # Checkout submodules recursively.

- name: Clone edk2-platforms Repository
run: |
git clone https://github.com/Dasharo/edk2-platforms.git && \
cd edk2-platforms && \
git checkout 3323ed481d35096fb6a7eae7b49f35eff00f86cf && \
cd -

- name: Clone iPXE Repository
run: |
git clone https://git.ipxe.org/ipxe.git && \
cd ipxe && \
git checkout 77b07ea4fdc259d7253c6f9df2beda6e6c7a9d85 && \
sed -i 's|//#define\s*IMAGE_SCRIPT.*|#define IMAGE_SCRIPT|' "src/config/general.h" && \
sed -i 's|.*DOWNLOAD_PROTO_HTTPS|#define DOWNLOAD_PROTO_HTTPS|g' "src/config/general.h" && \
wget https://raw.githubusercontent.com/Dasharo/dasharo-blobs/main/dasharo/dasharo.ipxe && \
cd -

- name: Build iPXE
run: |
docker run --rm -i -v $PWD/ipxe:/home/coreboot/ipxe:rw \
-v $PWD/.github:/home/coreboot/ipxe/.github \
-u $(id -u):$(id -g) -w /home/coreboot/ipxe \
coreboot/coreboot-sdk:2021-09-23_b0d87f753c \
./.github/scripts/build-ipxe.sh

- name: Build OVMF Firmware Image
run: |
docker run --rm -i -v $PWD:/home/coreboot/coreboot:rw \
-u $(id -u):$(id -g) -w /home/coreboot/coreboot \
coreboot/coreboot-sdk:2021-09-23_b0d87f753c \
./.github/scripts/build-qemu.sh

- name: Check RELEASE build Artifacts
run: |
if [ -f "Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd" ] && [ -f "Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd" ]; then
echo "RELEASE build successful. OVMF firmware image files found."
cp Build/OvmfX64/RELEASE_GCC5/FV/OVMF_CODE.fd OVMF_CODE_RELEASE.fd
cp Build/OvmfX64/RELEASE_GCC5/FV/OVMF_VARS.fd OVMF_VARS_RELEASE.fd
else
echo "RELEASE build failed. OVMF firmware image files not found."
exit 1
fi

- name: Check DEBUG build Artifacts
run: |
if [ -f "Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd" ] && [ -f "Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd" ]; then
echo "DEBUG build successful. OVMF firmware image files found."
cp Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd OVMF_CODE_DEBUG.fd
cp Build/OvmfX64/DEBUG_GCC5/FV/OVMF_VARS.fd OVMF_VARS_DEBUG.fd
else
echo "DEBUG build failed. OVMF firmware image files not found."
exit 1
fi

- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: ovmf-artifacts # Name for the artifact
path: |
OVMF_CODE_RELEASE.fd
OVMF_VARS_RELEASE.fd
OVMF_CODE_DEBUG.fd
OVMF_VARS_DEBUG.fd

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
if: startsWith(github.event.ref, 'refs/tags/qemu')
with:
files: |
OVMF_CODE_RELEASE.fd
OVMF_VARS_RELEASE.fd
OVMF_CODE_DEBUG.fd
OVMF_VARS_DEBUG.fd
33 changes: 33 additions & 0 deletions .github/workflows/dbx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Check if UEFI revocation list is up-to-date

on:
push:
branches:
- dasharo
pull_request:
branches:
- dasharo

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Check if DBX is up-to-date
run: |
echo 'Fetching DBX from uefi.org'
wget https://uefi.org/sites/default/files/resources/x64_DBXUpdate.bin -o /dev/null
if [ $? -ne 0 ]; then
echo 'Failed to fetch latest DBX.'
exit 1
fi
diff <(sha256sum x64_DBXUpdate.bin | awk '{ print $1 }') <(sha256sum DasharoPayloadPkg/SecureBootDefaultKeys/DBXUpdate.bin | awk '{ print $1 }')
if [ $? -ne 0 ]; then
echo 'UEFI DBX is out of date.'
exit 1
else
echo 'UEFI DBX is up-to-date.'
fi
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@
[submodule "CryptoPkg/Library/MbedTlsLib/mbedtls"]
path = CryptoPkg/Library/MbedTlsLib/mbedtls
url = https://github.com/ARMmbed/mbedtls
[submodule "CrScreenshotDxe"]
path = CrScreenshotDxe
url = https://github.com/LongSoft/CrScreenshotDxe.git
40 changes: 40 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
default_stages: [pre-commit]

default_install_hook_types: [pre-commit, commit-msg]

ci:
autoupdate_commit_msg: 'pre-commit: autoupdate hooks'
autofix_prs: false

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
files: ^DasharoModulePkg/
- id: check-merge-conflict
files: ^DasharoModulePkg/
- id: check-symlinks
files: ^DasharoModulePkg/
- id: detect-private-key
files: ^DasharoModulePkg/
- id: end-of-file-fixer
files: ^DasharoModulePkg/
- id: trailing-whitespace
files: ^DasharoModulePkg/
- id: mixed-line-ending
files: ^DasharoModulePkg/

- repo: https://github.com/talos-systems/conform
rev: v0.1.0-alpha.27
hooks:
- id: conform
stages:
- commit-msg

- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
hooks:
- id: codespell
files: ^DasharoModulePkg/
2 changes: 1 addition & 1 deletion BaseTools/Source/C/Makefiles/header.makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ else
CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fwrapv \
-fno-delete-null-pointer-checks -Wall -Werror \
-Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict \
-Wno-unused-result -nostdlib -g
-Wno-unused-result -nostdlib -g -Wno-vla-parameter -Wno-stringop-overflow -Wno-use-after-free -Wno-dangling-pointer
endif
endif
ifneq ($(CLANG),)
Expand Down
1 change: 1 addition & 0 deletions CrScreenshotDxe
Submodule CrScreenshotDxe added at cf2fc0
4 changes: 4 additions & 0 deletions CryptoPkg/Include/Library/BaseCryptLib.h
Original file line number Diff line number Diff line change
Expand Up @@ -2234,6 +2234,8 @@ Pkcs7FreeSigners (
unchained to the signer's certificates.
The input signed data could be wrapped in a ContentInfo structure.

Pkcs7GetCertificatesList has not been implemented in BaseCryptoLibMbedTls.

@param[in] P7Data Pointer to the PKCS#7 message.
@param[in] P7Length Length of the PKCS#7 message in bytes.
@param[out] SignerChainCerts Pointer to the certificates list chained to signer's
Expand Down Expand Up @@ -3022,6 +3024,8 @@ DhComputeKey (
If Seed is NULL, then default seed is used.
If this interface is not supported, then return FALSE.

RandomSeed has not been implemented in BaseCryptoLibMbedTls.

@param[in] Seed Pointer to seed value.
If NULL, default seed is used.
@param[in] SeedSize Size of seed value.
Expand Down
1 change: 0 additions & 1 deletion CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
BaseMemoryLib
MemoryAllocationLib
DebugLib
OpensslLib
IntrinsicLib
PrintLib
PeiServicesTablePointerLib
Expand Down
50 changes: 29 additions & 21 deletions CryptoPkg/Library/BaseCryptLibMbedTls/BaseCryptLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
FILE_GUID = 693C5308-AF95-4CE5-ADE9-CA011C2FC642
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = BaseCryptLib|DXE_DRIVER DXE_CORE UEFI_APPLICATION UEFI_DRIVER
LIBRARY_CLASS = BaseCryptLib|DXE_DRIVER DXE_CORE DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
DEFINE BASE_CRYPT_PATH = ../BaseCryptLib

#
# The following information is for reference only and not required by the build tools.
Expand All @@ -27,33 +28,39 @@

[Sources]
InternalCryptLib.h
Cipher/CryptAeadAesGcmNull.c
Cipher/CryptAes.c
Hash/CryptSha256.c
Hash/CryptSha512.c
Hash/CryptParallelHashNull.c
Hash/CryptSm3Null.c
Hash/CryptMd5.c
Hash/CryptSha1.c
Hash/CryptSha256.c
Hash/CryptSha512.c
$(BASE_CRYPT_PATH)/Hash/CryptCShake256.c
$(BASE_CRYPT_PATH)/Hash/CryptDispatchApDxe.c
$(BASE_CRYPT_PATH)/Hash/CryptParallelHash.c
$(BASE_CRYPT_PATH)/Hash/CryptSha3.c
$(BASE_CRYPT_PATH)/Hash/CryptSm3.c
$(BASE_CRYPT_PATH)/Hash/CryptXkcp.c
Hmac/CryptHmac.c
Kdf/CryptHkdf.c
Cipher/CryptAes.c
Cipher/CryptAeadAesGcm.c
Pk/CryptRsaBasic.c
Pk/CryptRsaExtNull.c
Pk/CryptRsaPss.c
Pk/CryptRsaPssSignNull.c
Bn/CryptBnNull.c
Pem/CryptPemNull.c
Pk/CryptRsaExt.c
Pk/CryptPkcs1Oaep.c
Pk/CryptPkcs5Pbkdf2.c
Pk/CryptPkcs7Sign.c
Pk/CryptPkcs7VerifyCommon.c
Pk/CryptPkcs7VerifyBase.c
Pk/CryptPkcs7VerifyEku.c
Pk/CryptDhNull.c
Pk/CryptX509.c
Pk/CryptAuthenticode.c
Pk/CryptTs.c
Pk/CryptRsaPss.c
Pk/CryptRsaPssSign.c
Pk/CryptEcNull.c
Pk/CryptPkcs1OaepNull.c
Pk/CryptPkcs5Pbkdf2Null.c
Pk/CryptPkcs7SignNull.c
Pk/CryptPkcs7VerifyNull.c
Pk/CryptPkcs7VerifyEkuNull.c
Pk/CryptX509Null.c
Pk/CryptAuthenticodeNull.c
Pk/CryptTsNull.c
Rand/CryptRandNull.c
Pem/CryptPem.c
Bn/CryptBnNull.c
Rand/CryptRand.c

SysCall/CrtWrapper.c
SysCall/TimerWrapper.c

Expand All @@ -72,6 +79,7 @@
IntrinsicLib
RngLib
SynchronizationLib
MbedTlsCrtLib
[Protocols]
gEfiMpServiceProtocolGuid
#
Expand Down
Loading