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