Closed kgaijin closed 6 years ago
http://www.wiki.xilinx.com/Using%20meta-xilinx-tools%20layer
HDF_BASE = "file://"
HDF_PATH = "
meaning HDF_BASE = "file://" HDF_PATH = "/home/mydir/boards/ZCU102/zcu102_top/zcu102_top.sdk/zcu102_top.hdf"
Also see how the code is written at: https://github.com/Xilinx/meta-xilinx-tools/blob/master/recipes-bsp/hdf/external-hdf.bb#L25-L28
Well...
#Provide the hdf base, path, and filename for HDF HDF_BASE = "file://" HDF_PATH = "/home/mydir/boards/ZCU102/zcu102_top/zcu102_top.sdk/zcu102_top.hdf" ERROR: external-hdf-1.0-r0 do_deploy: Function failed: do_deploy (log file is located at /home/mydir/xilinx/build/tmp/work/zcu102_zynqmp-xilinx-linux/external-hdf/1.0-r0/temp/log.do_deploy.10485) ERROR: Logfile of failure stored in: /home/mydir/xilinx/build/tmp/work/zcu102_zynqmp-xilinx-linux/external-hdf/1.0-r0/temp/log.do_deploy.10485 Log data follows: | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing shell function do_deploy | install: omitting directory '/home/mydir/xilinx/build/tmp/work/zcu102_zynqmp-xilinx-linux/external-hdf/1.0-r0/' | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_deploy (log file is located at /home/mydir/xilinx/build/tmp/work/zcu102_zynqmp-xilinx-linux/external-hdf/1.0-r0/temp/log.do_deploy.10485) ERROR: Task (/home/mydir/xilinx/sources/core/../meta-xilinx-tools/recipes-bsp/hdf/external-hdf.bb:do_deploy) failed with exit code '1' NOTE: Tasks Summary: Attempted 2073 tasks of which 2072 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory Summary: 1 task failed: /home/mydir/xilinx/sources/core/../meta-xilinx-tools/recipes-bsp/hdf/external-hdf.bb:do_deploy Summary: There was 1 WARNING message shown.
This works for us consistently without failures. 1) Check your /home/mydir/xilinx/build/tmp/work/zcu102_zynqmp-xilinx-linux/external-hdf/1.0-r0/ and see if zcu102_top.hdf if available from here (use find command) 2) do a cleansstate on external-hdf and retry 3) use verbose mode in install to see why it is failing to copy the HDF you are providing
Hi,
I'm also getting an error with external HDF but it's different than the previous issue. I get the following output:
My local.conf has:
The hdf file is exactly where it's located per the HDF_PATH/HDF_FILE. Just like the other person who had the issue with FSBL, if I change line 31 to ${HDF_PATH}/${HDF_FILE}, everything works. It's not clear to me how a simple definition of SRC_URI will copy the file to the working directory.
Thanks