34490 Commits

Author SHA1 Message Date
Michał Kopeć 8db59f5fed test 2026-05-03 03:24:52 +02:00
Michał Kopeć 927ef7baf8 asharoPayloadPkg.c: Set Attempt Slot B flag after successful update
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2026-02-24 20:19:20 +02:00
Michał Kopeć 523f194fb9 DasharoPayloadPkg/CmosOptionsLib: Add library for accessing CMOS options
Add a library for interacting with CMOS options exposed by coreboot.

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2026-02-24 20:19:10 +02:00
Filip Lewiński d737a918af SdMmcPciHcDxe/BayhubHost.c: add
Apply https://edk2.groups.io/g/devel/message/100548 in order to fix SD
cards not listing as bootable devices/mountable volumes.

Signed-off-by: Filip Lewinski <filip.lewinski@3mdeb.com>
2026-02-18 10:12:43 +01:00
Filip Lewiński deacf3408d DasharoSystemFeaturesStrins.uni: add note on IOMMU option
Add a note that the `Keep IOMMU enabled(...)` option is incompatible
with Windows, making the OS unable to boot.

Signed-off-by: Filip Lewinski <filip.lewinski@3mdeb.com>
2026-02-18 10:12:01 +01:00
Michał Kopeć aca6edd8b3 DasharoPayloadPkg/Library/FmpDeviceSmmLib/Flashing.c: Only migrate BOOTBLOCK and COREBOOT if TS is enabled
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2026-02-12 19:43:03 +02:00
Michał Kopeć fd1eee74c1 DasharoPayloadPkg/Library/FmpDeviceSmmLib: Add function to check if TOPSWAP exists
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2026-02-12 19:42:55 +02:00
Michał Kopeć 3b3b2edb2a Firmware Update Mode: Add separate variable for FUM Request
Fixes an issue where entering FUM twice in a row is prevented by the
Request variable being the same as the Active variable, being volatile
and without runtime write access.

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2026-02-09 14:30:28 +01:00
Michał Kopeć edbff52d39 DasharoPayloadPkg/Library/FmpDeviceSmmLib/Flashing.c: IsBootGuardEnabled: check if KM is valid
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
2026-02-05 17:48:34 +01:00
Sergii Dmytruk 699f0d6383 DasharoPayloadPkg/FmpDeviceSmmLib: reformat structures
Make those added for BootGuard consistent with the rest and get rid of
tabulation characters.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-21 20:58:52 +02:00
Filip Lewiński f420fe8ab8 FmpDeviceSmmLib/Flashing.c: adapt Boot Guard-related changes
Checking if Boot Guard is enabled and probing the manifests had to be
adapted for the new Top Swap region-aware GetCbfs and GetFmap

Signed-off-by: Filip Lewinski <filip.lewinski@3mdeb.com>
2026-01-21 20:58:33 +02:00
Filip Lewiński 85ec46de12 FmpDeviceSmmLib/Flashing.c: write-protect BOOTBLOCK and COREBOOT
When flashing during a capsule update, migrate the redundancy-related
Slot A - FMAP regions BOOTBLOCK and COREBOOT

Signed-off-by: Filip Lewinski <filip.lewinski@3mdeb.com>
2026-01-21 20:58:20 +02:00
Sergii Dmytruk c2e30de8c5 MdeModulePkg/DxeCapsuleLibFmp: display capsule's FwClass GUID
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-20 16:34:57 +02:00
Sergii Dmytruk 873e934a1a MdeModulePkg/DxeCapsuleLibFmp: be less alarming if BIOS should be fine
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-20 16:34:57 +02:00
Sergii Dmytruk 8b6873a54a MdeModulePkg/DxeCapsuleLibFmp: display firmware versions
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-20 16:34:52 +02:00
Sergii Dmytruk 61f08fec65 DasharoPayloadPkg,MdeModulePkg: guard capsule report by a PCD
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-18 20:34:23 +02:00
Sergii Dmytruk 48e7896326 MdeModulePkg/DxeCapsuleLibFmp: collect and report update information
Trace various branches of capsule processing to report how handling of
a capsule or its payload went.  The report is displayed at the end of
the second round of capsule processing or after the first one if it ends
with a reboot.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-18 20:34:23 +02:00
Sergii Dmytruk 0c66c118db MdeModulePkg/DxeCapsuleLibFmp: add update report
Unused at this point.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-18 20:34:18 +02:00
Sergii Dmytruk eabdb4d9c4 DasharoPayloadPkg/PopUpLib: extend to build and draw text/GUI PopUps
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-18 17:01:49 +02:00
Sergii Dmytruk e4a998bef6 DasharoPayloadPkg/PopUpLib: extract out of FmpDeviceSmmLib
At this moment it contains:
 - DrainInput()
 - DrawGraphicPopUp()

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-15 19:14:06 +02:00
Sergii Dmytruk 95a2787774 .github/pull_request_template.md: remove
This is what upstream uses, no need for it in the fork.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-14 20:18:39 +02:00
Sergii Dmytruk 38c8776918 .github/dependabot.yml: remove
This is for upstream, no need to have it send PRs that we won't merge.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-14 20:17:50 +02:00
Sergii Dmytruk a313ce7a41 DasharoModulePkg/Documentation/AddNewSetting.md: actualize
Mainly update several places to reflect code changes.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-14 20:15:17 +02:00
Sergii Dmytruk bb50aefcd1 DasharoModulePkg/DasharoSystemFeaturesUiLib/DasharoSystemFeatures.c: fix #undef
When `STORE_VAR` was renamed to `STORE_VAR_IF`, `#undef` wasn't updated.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-14 20:14:25 +02:00
Sergii Dmytruk e7c4c21c6f DasharoModulePkg/DasharoSystemFeaturesUiLib: update UI note about ME vs. capsules
Limit the scope of the warning to in-RAM capsules when on-disk capsules
are enabled.

Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
2026-01-08 01:05:28 +02:00