<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>Xilininx GPIO</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello there,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I am having difficulties with some xilinx gpios and the xilinx-2.6-xlnx kernel. As far as I can tell the kernel is configured correctly for gpio.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">&nbsp;</FONT>

<BR><FONT SIZE=2 FACE="Arial">I can see that the module_init function &quot;xgpio_init&quot; is called, and that bus_add_driver and driver_add_groups returns without error. But I cannot see that the probe function is called.&nbsp; /proc/misc doesnt list a driver for the gpios. I am not sure where to go next as there is no error printouts.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">I have seen other peoples consoles stating that the gpio is mapped to xx but this doesn't happen for me.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I am using the default bit file for the ml507 board, and have created device files </FONT>

<BR><FONT SIZE=2 FACE="Arial">/dev/xgpio0 </FONT>

<BR><FONT SIZE=2 FACE="Arial">/dev/xgpio1 etc with major 10 and minor 185 </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">However if I try to open these devices the open fails. </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I would rally appreciate it if someone could give me some pointers as to what to look for, or how a to go about debugging this.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Many thanks</FONT>

<BR><FONT SIZE=2 FACE="Arial">Peter Scott</FONT>
</P>

</BODY>
</HTML>