<p>Hi,</p><p>&nbsp;</p><p>I have put xilinx kernel on my board : a memec
FX12 based on a Virtex 4 FX. Everything thing is OK, I have my serial
console, Ethernet is also OK.</p><p>I have to make some drivers. For
example one for the LCD screen. It is my first driver so I want to try
with something easier like LEDs. I know there is a driver from Xilinx
but I want to do it by myself. Moreover it is only a file to adapt
Xilinx standelone driver for Kernel.</p><p>&nbsp;</p><p>I try to read and to
write the registers of my GPIO IP which is working, I have made some
tests in standelone. How accessing to these registers ? </p><p>I have tried with this for example but without success :</p><blockquote><p>ptr = ioremap_nocache(0x70001e00,0x00000004);<br>printk(&quot;GPIO_DATA (readl): %u\n&quot;,readl(ptr)); </p>
<p>&nbsp;</p></blockquote><p>readl, outl, ioread32 : same result.</p><p>&nbsp;</p><p>Thanks</p><p>&nbsp;</p><p>Best Regards</p><br>-- <br>Ludovic Desroches<br>Ingénieur ESIEE 2008<br>mobile : 06 19 21 02 08<br><a href="http://www.odulo.net">http://www.odulo.net</a>