<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@PMingLiU";
        panose-1:2 1 6 1 0 1 1 1 1 1;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="en-TW" link="blue" vlink="purple">
<div class="WordSection1">
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#203864">Hi </span><span lang="EN-US" style="color:#203864">Sergey</span><span style="color:#203864">,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#203864"><o:p> </o:p></span></p>
<pre style="margin-bottom:7.5pt;mso-line-height-alt:10.75pt;background:white;word-break:break-all"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#203864">I think you can use FvSimpleFilesystemDxe. <o:p></o:p></span></pre>
<p class="MsoNormal"><span style="color:#203864"><a href="https://patches.linaro.org/patch/26959/">https://patches.linaro.org/patch/26959/</a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#203864"><a href="https://edk2-devel.narkive.com/tPwPAeo1/pacing-uefi-shell-application-in-firmware-volume">https://edk2-devel.narkive.com/tPwPAeo1/pacing-uefi-shell-application-in-firmware-volume</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#203864"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#203864">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. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;background:white"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#203864">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. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#203864"><br>
Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#203864">Sunny Wang<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black"><devel@edk2.groups.io> on behalf of "sergestus@yandex.ru" <sergestus@yandex.ru><br>
<b>Reply-To: </b>"devel@edk2.groups.io" <devel@edk2.groups.io>, "sergestus@yandex.ru" <sergestus@yandex.ru><br>
<b>Date: </b>Wednesday, December 2, 2020 at 8:06 PM<br>
<b>To: </b>"devel@edk2.groups.io" <devel@edk2.groups.io><br>
<b>Subject: </b>[edk2-devel] Include UEFI application into the BIOS image to be able to run it from UEFI Shell<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Hi,<br>
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?<br>
Thank you,<br>
Sergey <o:p></o:p></p>
<div>
<p class="MsoNormal"></o:p></span></p>
</div>
</div>
</body>
</html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr> Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/68233">View/Reply Online (#68233)</a> |    |  <a target="_blank" href="https://groups.io/mt/78657676/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>