<div dir="ltr">Hi Laszlo<div><br></div><div>Thanks for the hint. After adding below (based on inf file posted here),</div><div>I am able to see EFI_SECTION_RAW sections getting generated:</div><div><br></div><div>[Rule.Common.DXE_DRIVER.ACPITABLE]<br> FILE FREEFORM = $(NAMED_GUID) {<br> RAW ASL |.aml<br> }<br></div><div><br></div><div><br></div><div>Regards,</div><div>Abhishek</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 28, 2021 at 11:19 PM Laszlo Ersek <<a href="mailto:lersek@redhat.com">lersek@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 01/28/21 12:49, Abhishek Shah via <a href="http://groups.io" rel="noreferrer" target="_blank">groups.io</a> wrote:<br>
> Hi All<br>
> <br>
> I have an INF file included in top level dsc and fdf files.<br>
> When I compile them, I see output files .pe32/.depex/.ui (under<br>
> Output/FV/FFs/)<br>
> corresponding to one of the source files (namely AcpiPlatform.c).<br>
> <br>
> For the other source file, which is an asl file (namely SSDT/Ssdt_Sdio.asl);<br>
> corresponding aml file is generated, but "GenSec" is not running for that<br>
> file.<br>
> <br>
> Expectation is that for the generated aml file, GenSec should generate a<br>
> raw section (under Output/FV/FFs/) ,<br>
> so that I could use "GetSectionFromFv" API and get the table.<br>
> Anything needed to be specified in INF file to generate EFI_SECTION_RAW<br>
> section<br>
> or Am I missing something here?<br>
> <br>
> Below is the INF file:<br>
> ---------------------------------------------------------------------------------<br>
> [Defines]<br>
> INF_VERSION = 0x00010005<br>
> BASE_NAME = AcpiPlatfromDxe<br>
> FILE_GUID = 875bd6b6-606f-11eb-bc63-1fc511f35cd9<br>
> MODULE_TYPE = DXE_DRIVER<br>
> VERSION_STRING = 1.0<br>
> ENTRY_POINT = AcpiPlatformEntryPoint<br>
> <br>
> [Sources]<br>
> AcpiPlatform.c<br>
> SSDT/Ssdt_Sdio.asl<br>
> <br>
> [Packages]<br>
> ArmPkg/ArmPkg.dec<br>
> MdePkg/MdePkg.dec<br>
> MdeModulePkg/MdeModulePkg.dec<br>
> <br>
> [LibraryClasses]<br>
> UefiLib<br>
> PcdLib<br>
> DebugLib<br>
> DxeServicesLib<br>
> MemoryAllocationLib<br>
> UefiBootServicesTableLib<br>
> UefiDriverEntryPoint<br>
> <br>
> [Protocols]<br>
> gEfiAcpiTableProtocolGuid ## ALWAYS_CONSUMED<br>
> <br>
> [Depex]<br>
> gEfiAcpiTableProtocolGuid<br>
> ---------------------------------------------------------------------------------<br>
<br>
Do you have something like this in your FDF file:<br>
<br>
INF RuleOverride=ACPITABLE OvmfPkg/AcpiTables/AcpiTables.inf<br>
<br>
[Rule.Common.USER_DEFINED.ACPITABLE]<br>
FILE FREEFORM = $(NAMED_GUID) {<br>
RAW ACPI |.acpi<br>
RAW ASL |.aml<br>
}<br>
<br>
(This is not an exact answer, just a guess.)<br>
<br>
Laszlo<br>
<br>
</blockquote></div>
<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/70858">View/Reply Online (#70858)</a> | | <a target="_blank" href="https://groups.io/mt/80186003/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>