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

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

Open
gahan9 opened this issue Apr 13, 2023 · 1 comment
Open

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

gahan9 opened this issue Apr 13, 2023 · 1 comment
Labels
enhancement New feature or request expert Requires Expertise to work hackathon Open.Intel hackathon hacktoberfest Participation in Hacktoberfest Event help wanted Extra attention is needed question Further information is requested uefi Issue requires UEFI expertise

Comments

@gahan9
Copy link
Contributor

gahan9 commented Apr 13, 2023

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

@gahan9 gahan9 added enhancement New feature or request help wanted Extra attention is needed question Further information is requested hackathon Open.Intel hackathon labels Apr 13, 2023
@sandeeptewari1
Copy link

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:

  • here the variables as GUID should be same as previous driver which is to be deleted to update new one?
  • since we are new to xmcli so can you please let us know about code related to firmware update already implemented one or this is new feature?
  • In Uefi we used to use Firmware Management protocol so it will go through GetImage for loading the new image,
    CheckImage for Checking if image version/data is correct or not, then SetImage for flashing the firmware. So similar formation or different?

@gahan9 gahan9 added hacktoberfest Participation in Hacktoberfest Event uefi Issue requires UEFI expertise expert Requires Expertise to work labels Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request expert Requires Expertise to work hackathon Open.Intel hackathon hacktoberfest Participation in Hacktoberfest Event help wanted Extra attention is needed question Further information is requested uefi Issue requires UEFI expertise
Projects
None yet
Development

No branches or pull requests

2 participants