<div dir="ltr">Hi All,<div><br></div><div>I am trying to compile some ACPI tables, and I observed that</div><div>if I specify less minimal tables/asl as Sources for ACPI tables module INF file</div><div>(resulting in less size of overall module), compilation fails with below error:</div><div><br></div><div>build.py...<br> : error F003: Output file for RAW section could not be found for Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf<br></div><div><br></div><div>To reproduce this issue,</div><div>1) Apply below patch (just keeping Fadt.c here as example;</div><div>Other ways: just keep ASL file after removing some objects to reduce file size; or keep combination of .c and .asl files - **as long as these files are small**):</div><div>--------------------------------------------------------------------------------</div><div>diff --git a/Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf b/Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf<br>index f140febc4a..1a489a0a8a 100644<br>--- a/Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf<br>+++ b/Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf<br>@@ -16,13 +16,8 @@<br>   VERSION_STRING                 = 1.0<br><br> [Sources]<br>-  Dsdt.asl<br>-  Dbg2.aslc<br>-  Spcr.aslc<br>   Fadt.aslc<br>-  Gtdt.aslc<br>   Madt.aslc<br>-  AcpiSsdtRootPci.asl          # Juno R1 specific<br><br> [Packages]<br>   ArmPkg/ArmPkg.dec<br></div><div><div>--------------------------------------------------------------------------------</div><div></div></div><div><br></div><div>2) Now compile the module:</div><div>export PACKAGES_PATH=`pwd`/edk2-platforms/<br></div><div><div>--------------------------------------------------------------------------------</div><div></div></div><div>build   -a AARCH64 -t GCC5 -p Platform/ARM/JunoPkg/ArmJuno.dsc -m Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf<br></div><div><br></div><div>Processing meta-data .<br>Architecture(s)  = AARCH64<br>Build target     = DEBUG<br>Toolchain        = GCC5<br><br>Active Platform          = /projects/uefi/edk2-platforms/Platform/ARM/JunoPkg/ArmJuno.dsc<br>Active Module            = /projects/uefi/edk2-platforms/Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf<br>...<br><br>build.py...<br> : error F003: Output file for RAW section could not be found for Platform/ARM/JunoPkg/AcpiTables/AcpiTables.inf<br><br>- Failed -<br>Build end time: 17:44:14, Jan.28 2021<br>Build total time: 00:00:04<br></div><div><div>--------------------------------------------------------------------------------</div><div></div></div><div><br></div><div>Can anyone help understand this behavior?</div><div><br></div><div>Regards,</div><div>Abhishek</div></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/70854">View/Reply Online (#70854)</a> |    |  <a target="_blank" href="https://groups.io/mt/80186004/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>