xilinx_hwicap driver problems

Will Kritikos will.kritikos at gmail.com
Thu May 15 02:03:25 EST 2008


I am having some trouble using the xilinx_hwicap driver in Linux.
I am using version 2.6.24-rc8-xlnx of the Linux kernel from the Xilinx
GIT repository.
The xilinx_hwicap driver is statically compiled in - not a loadable module.
I am using the opb_hwicap device on a V4FX60 FPGA, Linux running on the PPC405.

The driver successfully is initialized on boot - I added a printk to
the init function to verify this.   However, as far as I can tell, the
probe function is never called.  There is nothing in dmesg from the
icap driver.

After boot, the following files exist in /sys

/sys/bus/platform/xilinx_icap.0
/sys/bus/platform/drivers/icap/bind
/sys/bus/platform/drivers/icap/uevent
/sys/bus/platform/drivers/icap/unbind
/sys/devices/platform/xilinx_icap.0

I can make a device node /dev/icap, major number 259 minor number 0,
and copy partial bitstreams to it, but again nothing happens, and no
output in dmesg.

Any help is appreciated.  I am probably overlooking something simple.

Thanks,
Will Kritikos


More information about the Linuxppc-embedded mailing list