jacobfeder / axisfifo

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

Linux Kernel Fails to Associate Driver Under 2018.3 Due to IP Version Number Change #3

Closed esorton closed 5 years ago

esorton commented 5 years ago

Xilinx updated the AXI Stream FIFO IP in Vivado 2018.3. The version number bumped from 4.1 to 4.2.

The change log at https://www.xilinx.com/support/answers/71806.html lists the changes as:

AXI-Stream FIFO (4.2)

  • Version 4.2
  • Feature Enhancement: FIFO generator replaced with XPM.
  • Feature Enhancement: Default values for FIFO_PE_THRESHOLD parameters changed to 5.
  • Revision change in one or more subcores
esorton commented 5 years ago

Updating compatible version from 4.1 to 4.2 corrected the issue for me.

static const struct of_device_id axis_fifo_of_match[] = {
        { .compatible = "xlnx,axi-fifo-mm-s-4.2", },
        {},
};
jacobfeder commented 5 years ago

Could you submit this as a pull request?

Thanks!

esorton commented 5 years ago

I will. Need to do a bit of research to determine the format of the ".compatible" field to support both 4.1 and 4.2 versions.

jacobfeder commented 5 years ago

Thanks! Appreciate it.