UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant jonbacon
Participant
7,895 Views
Registered: ‎08-06-2015

Trouble configuring IP as generic UIO in petalinux 2015.2

Hi,

 

I'm trying to access some IP from the PS on a ZC706 Zynq chip. There doesnt appear to be a driver available for this specific IP (for linux anyway). So I was trying to set it to generic-uio (so I could mmap it) in the DTS file but it doesn't appear under /sys/class/uio. (I've rebuilt and reloaded the kernel)

 

What is the correct way to change the "compatible" parameter in the DTS file? and which DTS file within the petalinux project should I be changing?

 

The IP in question is AXI4-Stream FIFO v4.1, it appears to be a xilinx IP. If there's a better way of using the IP from petalinux please point me in the right direction.

 

Thanks

0 Kudos
3 Replies
Visitor manuelstahl
Visitor
6,206 Views
Registered: ‎09-22-2014

Re: Trouble configuring IP as generic UIO in petalinux 2015.2

It seems that the "compatible" entry was removed in Petalinux 2015.2, so the driver never gets loaded. It worked perfectly in 2014.2.

0 Kudos
Visitor manuelstahl
Visitor
6,202 Views
Registered: ‎09-22-2014

Re: Trouble configuring IP as generic UIO in petalinux 2015.2

This site explains the "new way": http://alvarom.com/2014/12/17/linux-user-space-drivers-with-interrupts/

You need to give "uio_pdrv_genirq.of_id=generic-uio" as boot parameter to make it work again.
0 Kudos
Visitor manuelstahl
Visitor
6,199 Views
Registered: ‎09-22-2014

Re: Trouble configuring IP as generic UIO in petalinux 2015.2

0 Kudos