On 5/26/2022 1:12 PM, David Babich via lists.yoctoproject.org wrote:
Hi,
I've been attempting to use a local XSA file to generate my dtb as described in
this post:
https://lists.yoctoproject.org/g/meta-xilinx/topic/90854471#4986
The above points to the default reference XSAs. If you have a local copy:
HDF_BASE = "file://"
HDF_PATH = "/my/magic/xsa/goes/here"
HDF_NAME = "my_custom_board.xsa"
In my machine.conf file I've setup:
HDF_BASE = "file://"
HDF_PATH = "/home/engineer/oe-pre/exports/${MACHINE}/"
HDF_NAME ?= "system.xsa"
I've noticed that if I specify an invalid path for HDF_PATH, that the fetcher
fails with errors pointing to the locations that it did look for the file, so I
believe that it is finding my system.xsa file.
I've tried changing the HDF_PATH to numerous locations using both absolute and
relative paths. When I build, do_deploy fails during the execution of line 56
of exteranl-hdf.bb:
install -m 0644 ${WORKDIR}/${HDF_PATH} ${DEPLOYDIR}/Xilinx-${MACHINE}.${HDF_EXT}
But the messages are rather ambiguous:
| install: omitting directory
'/home/engineer/oe-pre/builds/my-build/tmp/work/mymachine-xlnx-linux/external-hdf/external-hdf/1.0-r0/my-machine/'
| WARNING:
/home/engineer/oe-pre/builds/my-build/tmp/work/mymachine-xlnx-linux/external-hdf/1.0-r0/temp/run.do_deploy.90033:149
exit 1 from 'install -m 0644
/home/engineer/oe-pre/builds/my-build/tmp/work/mymachine-xlnx-linux/external-hdf/1.0-r0/my-machine/
/home/engineer/oe-pre/builds/my-build/tmp/work/mymachine-xlnx-linux/external-hdf/1.0-r0/deploy-external-hdf/Xilinx-mymachine.xsa'
| WARNING: Backtrace (BB generated script):
| #1: do_deploy,
/home/engineer/oe-pre/builds/my-build/tmp/work/mymachine-xlnx-linux/external-hdf/1.0-r0/temp/run.do_deploy.90033,
line 149
| #2: main,
/home/engineer/oe-pre/builds/my-build/tmp/work/mymachine-xlnx-linux/external-hdf/1.0-r0/temp/run.do_deploy.90033,
line 154
ERROR: Task
(/home/engineer/oe-pre/img-src/meta-xilinx-tools/recipes-bsp/hdf/external-hdf.bb:do_deploy)
failed with exit code '1'
Any help with this is greatly appreciated.
[Sandeep]: You can specify the XSA variables as shown below.
# Specify Vivado XSA path along with xsa name using local file or
subversion path
# Add system HDF/XSA
HDF_EXT = "xsa"
# Using local file
HDF_BASE = "file://"
HDF_PATH =
"/group/bcapps/sandeepg/vivado-workspace/2022.1/zcu102_pl_demo/output/zcu102_pl_demo.xsa"
# Using GIT Subversion
HDF_BASE = "git://"
HDF_PATH = "github.com/Xilinx/hdf-examples.git"
HDF_MACHINE = "zcu102-zynqmp"
Thanks
-David
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5032):
https://lists.yoctoproject.org/g/meta-xilinx/message/5032
Mute This Topic: https://lists.yoctoproject.org/mt/91361615/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-