Skip to content

Capsules v2: flexible logo#836

Merged
filipleple merged 5 commits intocapsules-v2from
capsules-v2-logo
Feb 2, 2026
Merged

Capsules v2: flexible logo#836
filipleple merged 5 commits intocapsules-v2from
capsules-v2-logo

Conversation

@SergiiDmytruk
Copy link
Member

Instead of adding another feature flag, the previous ones were combined into CONFIG_EDK2_CAPSULES_V2 which now just passes a macro to EDK while previously individual PCDs were set. This simplifies adding new changes and doesn't require constantly updating configs.

In addition to EDK2 bump logo required copying BOOTSPLASH_REGION_LOGO_FILE into EDK (if not set, MdeModulePkg/Logo/Logo.bmp is used which is influenced by EDK2_BOOTSPLASH_FILE).

issue: Dasharo/dasharo-issues#1437
EDK PR: Dasharo/edk2#294
ref: dsh-1129

Copy link
Member

@filipleple filipleple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason, build fails for v540tu without the CONFIG_EDK2_CAPSULES_V2 flag:

build.py...
/home/coreboot/coreboot/payloads/external/edk2/workspace/Dasharo/DasharoPayloadPkg/CapsuleSplashDxe/CapsuleSplashDxe.inf(62): error 000E: File/directory not found in workspace
        Logo.bmp is not found in packages path:
        /home/coreboot/coreboot/payloads/external/edk2/workspace/Dasharo
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Platform/Intel
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Silicon/Intel
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Features/Intel
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Features/Intel/Debugging
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Features/Intel/Network
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Features/Intel/OutOfBandManagement
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Features/Intel/PowerManagement
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Features/Intel/SystemInformation
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Features/Intel/UserInterface
        /home/coreboot/coreboot/payloads/external/edk2/workspace/edk2-platforms/Drivers
- Failed -
Build end time: 13:35:01, Jan.30 2026
Build total time: 00:00:04


This is a temporary change until capsules-v2 branch is merged into
dasharo.

Change-Id: Ieecc09debeb9184c6f34c6d222b74878d5c382a6
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Upstream-Status: Inappropriate [Dasharo downstream]
Change-Id: Id1b33912eb0172b430dbf3bf3073a823aee8d4d2
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This replaces CONFIG_EDK2_CAPSULE_ON_DISK_SUPPORT and
CONFIG_EDK2_SHOW_CAPSULE_REPORT to avoid proliferation of trivial
options which are always enabled together.  Most wouldn't show up
anywhere but build-system files.

Similarly switch from specifying individual PCDs for EDK to passing a
macro which will do the same but on the side of EDK.  There is no need
to bake this knowledge into coreboot's build system.

Change-Id: I603c08d07c325e4d05b86edb6667694a21212c1d
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
Change-Id: Iaccb60dedad5ea089f297968e7c0778b052d87de
Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
@filipleple
Copy link
Member

filipleple commented Feb 2, 2026

Tested on V540TU. I've rebased and merged the EDK2 part, so I've pushed a commit updating the EDK2 revision. Will merge this one as well as soon as CI passes.

…er merge

The target topmost commit changed after rebasing and merging the EDK2 PR.

Upstream-Status: Inappropriate [Dasharo downstream]
Signed-off-by: Filip Lewiński <filip.lewinski@3mdeb.com>
@filipleple filipleple merged commit db8dc1e into capsules-v2 Feb 2, 2026
63 checks passed
@filipleple filipleple deleted the capsules-v2-logo branch February 2, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants