Hi Sandeep,

I cloned and added meta-xilinx-tools as well as meta-openembedded, which was 
necessary to make meta-xilinx-tools work (it needs meta-python and meta-python 
needs meta-oe) and looked into 
meta-xilinx-tools/recipes-bsp/hdf/external-hdf.bb to make sure that I am 
getting the right .xsa file. That looks good because it is pointing to the 
github repository you mentioned and it is also using the MACHINE variable to 
choose the right file.

I also made sure that all layers (poky, meta-xilinx, meta-xilinx-tools and 
meta-openembedded) are in gatesgarth branch.

So I tried to build again but unfortunately it did not succeed:

ERROR: u-boot-xlnx-v2020.01-xilinx-v2020.2+gitAUTOINC+bb4660c33a-r0 do_compile: 
oe_runmake failed
ERROR: u-boot-xlnx-v2020.01-xilinx-v2020.2+gitAUTOINC+bb4660c33a-r0 do_compile: 
Execution of 
'/.../poky/build/tmp/work/zcu104_zynqmp-poky-linux/u-boot-xlnx/v2020.01-xilinx-v2020.2+gitAUTOINC+bb4660c33a-r0/temp/run.do_compile.1585588'
 failed with exit code 1:
//Hundreds of lines that look like build commands
ERROR: Task 
(/.../poky/build/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2020.2.bb:do_compile)
 failed with exit code '1'
NOTE: Tasks Summary: Attempted 2214 tasks of which 2199 didn't need to be rerun 
and 1 failed.

Summary: 1 task failed:
/.../poky/build/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2020.2.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Then I realised that according to the README I still have to add some 
dependencies in 
meta-xilinx-tools/blob/master/recipes-bsp/bootbin/machine-xilinx-zynqmp.inc. 
Almost all variables listed in the example for  the zcu102 eval board were 
right by default and I only had to modify this one:
BIF_PARTITION_IMAGE[atf]="${DEPLOY_DIR_IMAGE}/arm-trusted-firmware-${TUNE_PKGARCH}.elf"
 instead of 
BIF_PARTITION_IMAGE[atf]="${DEPLOY_DIR_IMAGE}/arm-trusted-firmware.elf"
I tried to build again but the last addition had not immediate effect.

Am I still missing dependencies/layers/tools? I would like to build a proper 
image from the required layers instead of just getting an OOB build because 
when/if manage to build my own image with Yocto+meta-xilinx layers, I will use 
this project as a reference for other projects. Otherwise I know there is a 
shortcut (Petalinux), but for a number of reasons I would like to avoid that if 
possible.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4806): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4806
Mute This Topic: https://lists.yoctoproject.org/mt/79922814/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to