[meta-qoriq] qoriq-atf has at least two problems in master branch...


Bob Cochran
 

Hello,

Using master branches, I was trying to build a core-image-minimal with MACHINE="ls1046afrwy", but it fails at qoriq-atf:

ERROR: qoriq-atf-2.4-r0 do_compile: oe_runmake failed

First problem: u-boot.bin-tfa could not be found in /build/yocto/bld_ls1046afrwy/tmp/deploy/images/ls1046afrwy

| Makefile:1128: *** 'BL33=/build/yocto/bld_ls1046afrwy/tmp/deploy/images/ls1046afrwy/u-boot.bin-tfa' was specified, but '/build/yocto/bld_ls1046afrwy/tmp/deploy/images/ls1046afrwy/u-boot.bin-tfa' does not exist.  Stop.

I was able to work around this by copying u-boot.bin-tfa from /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/u-boot-qoriq/2021.04+fslgit-r0/image/boot


Second problem: "bl2/bl2.elf has a LOAD segment with RWX permissions".   At this point, I don't know how to work around or patch this one.

| aarch64-poky-linux-ld.bfd: warning: /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/git/build/ls1046afrwy/release/bl2/bl2.elf has a LOAD segment with RWX permissions
| make: *** [Makefile:1089: /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/git/build/ls1046afrwy/release/bl2/bl2.elf] Error 1
| make: *** Waiting for unfinished jobs....
| aarch64-poky-linux-ld.bfd: warning: /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/git/build/ls1046afrwy/release/bl31/bl31.elf has a LOAD segment with RWX permissions
| make: *** [Makefile:1105: /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/git/build/ls1046afrwy/release/bl31/bl31.elf] Error 1
| ERROR: oe_runmake failed
| WARNING: /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/temp/run.do_compile.16653:253 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
|     #1: bbfatal_log, /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/temp/run.do_compile.16653, line 253
|     #2: die, /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/temp/run.do_compile.16653, line 237
|     #3: oe_runmake, /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/temp/run.do_compile.16653, line 232
|     #4: do_compile, /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/temp/run.do_compile.16653, line 191
|     #5: main, /build/yocto/bld_ls1046afrwy/tmp/work/ls1046afrwy-poky-linux/qoriq-atf/2.4-r0/temp/run.do_compile.16653, line 266
ERROR: Task (/build/yocto/meta-freescale/recipes-bsp/atf/qoriq-atf_2.4.bb:do_compile) failed with exit code '1'


Otavio Salvador
 



Em dom., 20 de nov. de 2022 às 10:05, Bob Cochran <yocto@...> escreveu:
Using master branches, I was trying to build a core-image-minimal with
MACHINE="ls1046afrwy", but it fails at qoriq-atf:

Please open GitHub issues for those.  

--
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750