From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] Include UEFI application into the BIOS image to be able to run it from UEFI Shell To: Wang, Sunny (HPS SW) ,devel@edk2.groups.io From: sergestus@yandex.ru X-Originating-Location: Moscow, RU (79.133.79.22) X-Originating-Platform: Windows Chrome 87 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 04 Dec 2020 01:42:49 -0800 References: <975F67E5-3C1A-4117-9894-0153BD1E5CF2@hpe.com> In-Reply-To: <975F67E5-3C1A-4117-9894-0153BD1E5CF2@hpe.com> Message-ID: <17241.1607074969209613374@groups.io> Content-Type: multipart/alternative; boundary="G2y950OU3r3pHTOgIo99" --G2y950OU3r3pHTOgIo99 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Sunny, Thank you very much for the answer! Please, clarify if I got you right: 1. To make accessible volume in the uefi shell I must include=C2=A0EFI_FIR= MWARE_VOLUME2_PROTOCOL(FvSimpleFilesystemDxe) into the BIOS. 2. To include uefi application in the BIOS image I just need to include it= = =C2=A0MdeModulePkg. 3. To run application as a boot manager it GUID should be defined in PcdBo= otManagerMenuFile PCD. 4. To run application from boot manager it need to use LOAD_OPTION_CATEGOR= Y_BOOT option. Thank you, Sergey --G2y950OU3r3pHTOgIo99 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Sunny,

Thank you very much for the answer! Please, clarify if= I got you right:
1. To make accessible volume in the uefi shell I mus= t include EFI_FIRMWARE_VOLUME2_PROTOCOL(FvSimpleFilesystemDxe) into th= e BIOS.
2. To include uefi application in the BIOS image I just need t= o include it MdeModulePkg.
3. To run application as a boot manage= r it GUID should be defined in PcdBoot= ManagerMenuFile PCD.
4. To= run 
application from boot manager it need to use LOAD_OPTION_CATEGORY_BOOT option.

Thank = you,
Sergey
--G2y950OU3r3pHTOgIo99--