Hi All,

I'm including EFI drivers for an Intel Network card, but this adds a huge
delay in the system startup when the ports are being initialized (the
server has several slots). The network cards will be used only for PXE boot
during the staging/setup process, so I'm thinking of adding a configurable
option to enable/disable the PXE boot. So only if enabled the drivers will
be loaded, and after the staging the PXE can be disabled via BMC or
something else.

Do we have any way to prevent a driver from being loaded automatically?
Such as using some conditions or dependencies? For instance, if some driver
is not loaded or some protocol isn't available?

One option will be setting the EFI files as RAW or FREEFORM so they will
not be recognized as a DRIVER during the DXE phase. But it will be required
to implement the driver loading, I'm not sure how difficult it will be
(maybe using GetSectionFromAnyFv to load the contents to a buffer, but how
to load it?).

Kind Regards,
Sumo


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#89781): https://edk2.groups.io/g/devel/message/89781
Mute This Topic: https://groups.io/mt/91151281/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to