intel / xml-cli

UFFAF - UEFI Firmware Foundational Automation Framework (formerly XmlCli)
https://intel.github.io/xml-cli/
BSD 3-Clause "New" or "Revised" License
18 stars 7 forks source link

[FEATURE] Update Driver to existing Binary of specified GUID #7

Open gahan9 opened 1 year ago

gahan9 commented 1 year ago

Is your feature request related to a problem? Please describe. UEFI Firmware build time could take from 15 minutes to 25 minutes (or may be even more) based on the computing capability of the system. Eventually, Iteration to validate changes are slowed down because of the

Describe the solution you'd like

  1. Delete Existing Driver
  2. For Updating Check if Driver can fit in to existing contiguous free space after executing above step or not, Reject update if driver can not fit in to free space
  3. Driver would only updated if and only if below condition met:
    • same GUID
    • same Name
    • Size of New Driver <= Size of Existing Driver + contagious free space

Describe alternatives you've considered https://github.com/linuxboot/fiano

sandeeptewari1 commented 1 year ago

Can you elaborate more on this issue. My understanding is it is like a firmware update like capsule update, and my questions further are as follows: