Hi,

I would like to build the newest Yocto Xilinx v2022.2 release for ZCU104 board 
and i think it still has the same "No such file or directory for bit file" 
issue in xilinx-bootbin recipe. Please fix it, this has been wrong for a long 
time.

ERROR: xilinx-bootbin-1.0-r0 do_configure: Error executing a python function in 
exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:

File: 'exec_func_python() autogenerated', lineno: 2, function: <module>

0001:

*** 0002:do_configure(d)

0003:

File: 
'/ssd_240GB/Zynq-2022.2/sources/meta-xilinx/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb',
 lineno: 120, function: do_configure

0116:        if bifpartition:

0117:            attrflags = d.getVarFlags("BIF_PARTITION_ATTR") or {}

0118:            attrimage = d.getVarFlags("BIF_PARTITION_IMAGE") or {}

0119:            ids = d.getVarFlags("BIF_PARTITION_ID") or {}

*** 0120:            biffunc[arch](bifpartition, attrflags, attrimage, ids, 0, 
biffd, d)

0121:

0122:        biffd.write("}")

0123:        biffd.close()

0124:    else:

File: 
'/ssd_240GB/Zynq-2022.2/sources/meta-xilinx/meta-xilinx-core/recipes-bsp/bootbin/xilinx-bootbin_1.0.bb',
 lineno: 47, function: create_bif

0043:                if cfg not in attrimage:

0044:                    error_msg = "%s: invalid or missing elf or image" % 
(cfg)

0045:                    bb.error("BIF atrribute Error: %s " % (error_msg))

0046:                imagestr = d.expand(attrimage[cfg])

*** 0047:                if os.stat(imagestr).st_size == 0:

0048:                    bb.warn("Empty file %s, excluding from bif file" 
%(imagestr))

0049:                    continue

0050:                if cfg in attrflags:

0051:                    cfgval = d.expand(attrflags[cfg]).split(',')

Exception: FileNotFoundError: [Errno 2] No such file or directory: 
'/ssd_240GB/Zynq-2022.2/build/tmp/deploy/images/zcu104-zynqmp/download-zcu104-zynqmp.bit'
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5064): 
https://lists.yoctoproject.org/g/meta-xilinx/message/5064
Mute This Topic: https://lists.yoctoproject.org/mt/91152600/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to