public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Wang, Sunny (HPS SW)" <sunnywang@hpe.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"sergestus@yandex.ru" <sergestus@yandex.ru>
Cc: "Wang, Sunny (HPS SW)" <sunnywang@hpe.com>
Subject: Re: [edk2-devel] Include UEFI application into the BIOS image to be able to run it from UEFI Shell
Date: Thu, 3 Dec 2020 09:44:30 +0000	[thread overview]
Message-ID: <975F67E5-3C1A-4117-9894-0153BD1E5CF2@hpe.com> (raw)
In-Reply-To: <sxMM.1606910746445276188.H6N0@groups.io>

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

Hi Sergey,


I think you can use FvSimpleFilesystemDxe.
https://patches.linaro.org/patch/26959/
https://edk2-devel.narkive.com/tPwPAeo1/pacing-uefi-shell-application-in-firmware-volume

As for how to include an application into the BIOS image, you can search and check PcdBootManagerMenuFile in EDK II master (https://github.com/tianocore/edk2) to get the details. This is how we add the boot manager menu application into the BIOS image.

By the way, if launching it from the boot manager menu is acceptable, you can add your application as a boot option that is similar to what we do for the boot manager menu, but you will need to use LOAD_OPTION_CATEGORY_BOOT instead of LOAD_OPTION_CATEGORY_APP.

Regards,
Sunny Wang

From: <devel@edk2.groups.io> on behalf of "sergestus@yandex.ru" <sergestus@yandex.ru>
Reply-To: "devel@edk2.groups.io" <devel@edk2.groups.io>, "sergestus@yandex.ru" <sergestus@yandex.ru>
Date: Wednesday, December 2, 2020 at 8:06 PM
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: [edk2-devel] Include UEFI application into the BIOS image to be able to run it from UEFI Shell

Hi,
I created an UEFI application that works fine in UEFI Shell. Users launch the application from USB stick. The application became popular and we want to include it into the BIOS image. The question is how to properly include it into the BIOS image to be able to run it from UEFI Shell without any external storage device?
Thank you,
Sergey


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

  reply	other threads:[~2020-12-03  9:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-02 12:05 Include UEFI application into the BIOS image to be able to run it from UEFI Shell sergestus
2020-12-03  9:44 ` Wang, Sunny (HPS SW) [this message]
2020-12-04  1:48   ` 回复: [edk2-devel] " gaoliming
2020-12-04  9:42   ` sergestus
2020-12-07  9:19     ` Wang, Sunny (HPS SW)
2020-12-07 10:27       ` sergestus

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=975F67E5-3C1A-4117-9894-0153BD1E5CF2@hpe.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