public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "丰立波 via groups.io" <lbfeng=kunluntech.com.cn@groups.io>
To: devel <devel@edk2.groups.io>, "greg.wilson" <greg.wilson@gd-ms.uk>
Subject: Re: [edk2-devel] Loading Prebuilt EFI without INF in UEFIPayloadPkg.dsc
Date: Fri, 21 Feb 2025 14:57:41 +0800 (GMT+08:00)	[thread overview]
Message-ID: <ADAAIgBaLpNt8*e2xxkWGqo*.2.1740121061592.Hmail.lbfeng@kunluntech.com.cn> (raw)
In-Reply-To: <cDNW.1740074913515061077.4VZ1@groups.io>

[-- Attachment #1: Type: text/plain, Size: 1881 bytes --]

Hi, Greg,


You can add the similar code in your project .fdf file to insert the prebuilt UEFI driver.


FILE DRIVER = 3d696f3f-b3e3-4ca6-b299-2e7e5c7986b7 {
  SECTION PE32 = $(PLATFORM_PACKAGE)/ThirdParty/IntelGopDriverRelease.efi
  SECTION UI   = "IntelGOP"
}


during DXE dispatching, the prebuilt UEFI driver can be found and loaded by calling ENTRY_POINT function, just like other UEFI drivers.
Binding E823-L NAC happens during the PCIe device enumeration, the function, EFI_DRIVER_BINDING_PROTOCOL.Supported() examines the binding criteria. You can load the prebuilt UEFI driver, but you can't use the driver for your device.



Best Regards


Feng Libo


Original:
From:greg.wilson via groups.io<greg.wilson=gd-ms.uk@groups.io>Date:2025-02-21 02:08:33(中国 (GMT+08:00))To:devel<devel@edk2.groups.io>Cc:Subject:[edk2-devel] Loading Prebuilt EFI without INF in UEFIPayloadPkg.dscHi,

I am trying to automatically load an EFI file in EDK2, before the UEFI Shell is available. 

It is a prebuilt UNDI Network Driver from Intel,  E4297X8.EFI, from the complete Ethernet Drivers package zip file. ..\Release_29.3\APPS\EFI\EFIx64

The Open Source ICE driver doesn't contain bindings for the E823-L NAC  we have, even though it is part of the E800 series of Network Controller.

Is there a way to build an INF file, that doesn't have an entry point, to load the preexisting E4297X8.EFI file? I hope there is a way to "embed" it in the built payload, being loaded through Slimboot.

Kind regards.
 
Greg.








-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121135): https://edk2.groups.io/g/devel/message/121135
Mute This Topic: https://groups.io/mt/111294067/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 5249 bytes --]

      parent reply	other threads:[~2025-02-21  6:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cDNW.1740074913515061077.4VZ1@groups.io>
2025-02-20 18:23 ` [edk2-devel] Loading Prebuilt EFI without INF in UEFIPayloadPkg.dsc Alireza Banejad via groups.io
2025-02-20 18:25 ` Ard Biesheuvel via groups.io
2025-02-21  6:57 ` 丰立波 via groups.io [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ADAAIgBaLpNt8*e2xxkWGqo*.2.1740121061592.Hmail.lbfeng@kunluntech.com.cn' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox