Re: [Discuss OpenCPI] ZynqMP ocpihdl load error

From: Brian Padalino <bpadalino_at_gmail.com>
Date: Tue, 16 Jun 20 14:57:51 -0400

On Tue, Jun 16, 2020 at 2:31 PM James Kulp <jek_at_parera.com> wrote:

> There are at least 4 different ways that Linux kernels load bitstreams.
> The method varies with whether the kernel is from Xilinx or from
> kernel.org and which kernel version.
> It can be very confusing.
> The OpenCPI user and kernel mode code tries to figure out which method
> to use based on the kernel.
>
> The error appears to be the "open firmware node" it expects to use
> (/pcap) does not exist.
>
> Where did your kernel come from and which kernel version are you using?
>

4.9.0-xilinx-v2017.2


>
> This code for loading zynq-ultrascale was recently tested on the 2019.2
> xilinx kernel on a zcu104 dev board.
>
> What is in your /sys/bus/platform/drivers/zynq_fpga_manager directory?
>

/sys/bus/platform/drivers/zynqmp_fpga_manager# ls -l
--w------- 1 root root 4096 Jun 16 18:55 bind
lrwxrwxrwx 1 root root 0 Jun 16 18:55 pcap ->
../../../../devices/platform/pcap
--w------- 1 root root 4096 Jun 16 18:19 uevent
--w------- 1 root root 4096 Jun 16 18:55 unbind

Brian


Received on Tue Jun 16 2020 - 18:57:51 CDT

This archive was generated by hypermail 2.3.0 : Fri Jun 05 2026 - 08:45:25 CDT