* Building edk2 for qcs610
@ 2023-03-08 13:55 Tero Laakso-Pitkäkoski
0 siblings, 0 replies; only message in thread
From: Tero Laakso-Pitkäkoski @ 2023-03-08 13:55 UTC (permalink / raw)
To: devel@edk2.groups.io
[-- Attachment #1: Type: text/plain, Size: 3301 bytes --]
Hello,
I'm trying to build Yocto image for QCS610. The image includes edk2 package, and building that package fails with following trace. I'm using tagged version: LE.UM.6.2.4.r1-13000-QCS610.0 Do you have any suggestions on what goes wrong? Or should I try with different version. Looking at commit history this seemed to be the latest.
| make[1]: Leaving directory '/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/out/Build/DEBUG_CLANG35/AARCH64/QcomModulePkg/Application/LinuxLoader/LinuxLoader'
|
|
| build.py...
| : error C0DE: Unknown fatal error when processing [/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/QcomModulePkg/Application/LinuxLoader/LinuxLoader.inf]
|
| (Please send email to devel@edk2.groups.io for help, attaching following call stack trace!)
|
| (Python 3.10.6 on linux) Traceback (most recent call last):
| File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2596, in Main
| MyBuild.Launch()
| File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2391, in Launch
| self._MultiThreadBuildPlatform()
| File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2271, in _MultiThreadBuildPlatform
| self.CreateAsBuiltInf()
| File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2401, in CreateAsBuiltInf
| Module.CreateAsBuiltInf()
| File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py", line 1503, in CreateAsBuiltInf
| PatchList = parsePcdInfoFromMapFile(
| File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py", line 56, in parsePcdInfoFromMapFile
| return _parseForGCC(lines, efifilepath)
| File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py", line 113, in _parseForGCC
| efisecs = PeImageClass(efifilepath).SectionHeaderList
| File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/Common/Misc.py", line 1638, in __init__
| if ByteArray.tostring() != b'PE\0\0':
| AttributeError: 'array.array' object has no attribute 'tostring'
|
|
| - Failed -
| Build end time: 13:35:16, Mar.08 2023
| Build total time: 00:00:45
Thanks!
Tero Laakso-Pitkäkoski
Phone: +358 400894450
Email: tero.laakso-pitkakoski@creocenter.fi
[-- Attachment #2: Type: text/html, Size: 46072 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-08 13:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-08 13:55 Building edk2 for qcs610 Tero Laakso-Pitkäkoski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox