cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Scholar
Scholar
1,017 Views
Registered: ‎04-27-2010

Using UIO with custom IP

Jump to solution

I have created a custom IP module and I want to use UIO. I have been told that the device tree for the module should contain

 

compatible = "generic-uio";

 

but mine has

 

compatible = "xlnx, name_of_module";

 

So how do I fix this? Also is there anything else I need to do when I configure using Petalinux?

Thanks

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Xilinx Employee
Xilinx Employee
992 Views
Registered: ‎01-21-2014

Re: Using UIO with custom IP

Jump to solution

You need to modify the device tree, it's not going to happen automatically. Please review UG1144 to see how you can modify system-user.dtsi. 

 

The wiki also has info on modifying the device tree: http://www.wiki.xilinx.com/Device+Tree+Tips

 

And this wiki page discusses UIO specifically: http://www.wiki.xilinx.com/Testing+UIO+with+Interrupt+on+Zynq+Ultrascale

 

Also, searching this forum for "generic-uio" provides several pages of results. 

 

Regards, 

Terry

 

View solution in original post

1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
993 Views
Registered: ‎01-21-2014

Re: Using UIO with custom IP

Jump to solution

You need to modify the device tree, it's not going to happen automatically. Please review UG1144 to see how you can modify system-user.dtsi. 

 

The wiki also has info on modifying the device tree: http://www.wiki.xilinx.com/Device+Tree+Tips

 

And this wiki page discusses UIO specifically: http://www.wiki.xilinx.com/Testing+UIO+with+Interrupt+on+Zynq+Ultrascale

 

Also, searching this forum for "generic-uio" provides several pages of results. 

 

Regards, 

Terry

 

View solution in original post