public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel via groups.io" <ardb=kernel.org@groups.io>
To: devel@edk2.groups.io, greg.wilson@gd-ms.uk
Subject: Re: [edk2-devel] Loading Prebuilt EFI without INF in UEFIPayloadPkg.dsc
Date: Thu, 20 Feb 2025 19:25:02 +0100	[thread overview]
Message-ID: <CAMj1kXGH+-tqc+LhnY8p4t8+8b_hu=9bqjrs_c5dd1R5o-Gc0A@mail.gmail.com> (raw)
In-Reply-To: <cDNW.1740074913515061077.4VZ1@groups.io>

Hi Greg,

On Thu, 20 Feb 2025 at 19:08, greg.wilson via groups.io
<greg.wilson=gd-ms.uk@groups.io> wrote:
>
> Hi,
>
> 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.
>

There is an example here

https://github.com/tianocore/edk2-non-osi/blob/master/Emulator/X86EmulatorDxe/X86EmulatorDxe.inf

The depex should be implied for UEFI_DRIVER types, so I'm not sure
whether that is needed. If you do need it, you can just borrow the one
from that repo.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121134): https://edk2.groups.io/g/devel/message/121134
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]
-=-=-=-=-=-=-=-=-=-=-=-



  parent reply	other threads:[~2025-02-20 18:25 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 [this message]
2025-02-21  6:57 ` 丰立波 via groups.io

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='CAMj1kXGH+-tqc+LhnY8p4t8+8b_hu=9bqjrs_c5dd1R5o-Gc0A@mail.gmail.com' \
    --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