[Discuss OpenCPI] ZynqMP ocpihdl load error
I am trying to load a ZynqMP FPGA image on a custom platform, and utilizing
the ocpihdl load command yields the following error:
# ocpihdl load
~/opencpi/aarch64/artifacts/ocpi.assets.fsk_filerw_platform_base.hdl.0.platform.gz
Exiting for problem: error loading device pl:0: Error loading fpga: No
such file or directory(2)
# dmesg
[ 289.802745] opencpi: open file(ffffffc074493c00) minor(0) initial
size(0)
[ 293.361475] opencpi: fpga load request: addr: 0000007fa2341010 count:
26510780 device: /pcap
[ 293.369923] opencpi: load fpga node: ffffffc077fcd7f0, path: /pcap,
name: pcap, full: /pcap, mgr: fffffffffffffff0
[ 293.381403] opencpi: release file(ffffffc074493c00)
inode(ffffffc0744e1d00) minor(0)
I noticed the fpga manager is different from a previous Zynq platform, and
it seems to want to see a file in /lib/firmware to load instead of writing
the entire file into /dev/xdevcfg.
I also noticed that if I unzip the file, put it into /lib/firmware, and
echo the filename to /sys/class/fpga_manager/fpga0/firmware, it seems to
load just fine. At that point, the ocpihdl get command seems to hang the
platform.
At this point I am a little stuck. Anyone have current experience with
ZynqMP and the v1.7.0-beta.1 tag? Am I just too early on testing this?
Any insights would be appreciated.
Thanks,
Brian
Received on Tue Jun 16 2020 - 18:09:40 CDT
This archive was generated by hypermail 2.3.0
: Fri Jun 05 2026 - 08:45:25 CDT