public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "greg.wilson via groups.io" <greg.wilson=gd-ms.uk@groups.io>
To: 丰立波 <lbfeng@kunluntech.com.cn>, devel@edk2.groups.io
Subject: Re: [edk2-devel] Loading Prebuilt EFI without INF in UEFIPayloadPkg.dsc
Date: Mon, 24 Feb 2025 01:10:20 -0800	[thread overview]
Message-ID: <23323.1740388220775840096@groups.io> (raw)
In-Reply-To: <ADAAIgBaLpNt8*e2xxkWGqo*.2.1740121061592.Hmail.lbfeng@kunluntech.com.cn>

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

Hi All,

Thank you for your replies!!! Helped me get it working. I had tried an INF file, but it was continuedly causing errors when it was building, but i used the example at https://github.com/tianocore/edk2-non-osi/blob/master/Emulator/X86EmulatorDxe/X86EmulatorDxe.inf and it worked a treat.... INF included for anyone else looking for another example of how to get an EFI file loaded automatically, without source code.

[Defines]
INF_VERSION                  = 0x0001001B
BASE_NAME                    = E4297X8
FILE_GUID                    = gd08ee09-8142-432d-a0cf-4bce8418deff
MODULE_TYPE                  = UEFI_DRIVER
VERSION_STRING               = 1.0
ENTRY_POINT                  = EfiMain
PI_SPECIFICATION_VERSION     = 0x00010014    ## recommended
UNLOAD_IMAGE                 = TRUE          ## optional

[Binaries.common.AARCH64]
PE32|E4297X8.EFI|*
#DXE_DEPEX|AArch64/EmulatorDxe.depex|*
[Binaries.common.RISCV64]
PE32|E4297X8.EFI|*
#DXE_DEPEX|RISCV64/EmulatorDxe.depex|*

#[Binaries]
#  # Use PE32 to denote a binary image. If you only have a 64-bit .efi:
#  PE32|E4297X8.EFI
[Depex]
TRUE


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

      reply	other threads:[~2025-02-24  9:10 UTC|newest]

Thread overview: 4+ 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
2025-02-24  9:10   ` greg.wilson 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=23323.1740388220775840096@groups.io \
    --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