jacobfeder / axisfifo

Zynq SoC Linux kernel driver for Xilinx AXI-Stream FIFO IP
GNU General Public License v3.0
49 stars 26 forks source link

no axis_fifo_XXXXXXXX in /dev repertory #23

Closed Marcellin-68 closed 2 years ago

Marcellin-68 commented 2 years ago

Hi Jacob, I am trying to use your "axi-fifo" driver, in a project using petalinux 2021.1 and Vivado 2021.1, as tools. The problem is that on my target system (Zynq -> Eclypse Z7), there is no /dev/axis_fifo_43c00000, when the linux kernel boots there is only one message about axi-fifo :

root@os:~# dmesg|grep axis
axis-fifo driver loaded with parameters read_timeout = 1000, write_timeout = 1000

on the target system, I just replaced in the /boot/decice-tree.dts file : compatible = "xlnx,axi-fifo-mm-s-4.2";

with: compatible = "xlnx,axi-fifo-mm-s-4.1";

and recompiled to obtain the file device-tree.dtb

I've been trying to solve the problem for several days, do you have any ideas?

Marcellin-68 commented 2 years ago

Hi Jacob,

I forgot to change the driver version, so I modified the system-user.dtsi file:

/system-user.dtsi /include/ "system-conf.dtsi" / { };

&axi_fifo_mm_s_0{ compatible = "xlnx,axi-fifo-mm-s-4.1"; };

Hi Jacob,

now there is /dev/axis_fifo_0x43c10000

Sincerely

Marcellin