Re: Writing drivers for external IP cores
From: Grant Likely <hidden>
Date: 2008-02-12 14:56:46
On Feb 12, 2008 4:54 AM, A. Nolson [off-list ref] wrote:
Hi , I am going to start developing some IP cores for my virtex fx12 (ML403) and I need to control them through my embedded Linux ( it is already working in the ppc405 ). I am a bit lost and I need some references for developing drivers. In principle, I will start with something like a GPIO. I think an example like a driver for controlling the push buttons of my Ml403 will be enough. An example IP core for that will also be also very helpful.
After you've got through the examples in Linux Device Drivers v3, you can take a look at drivers/video/xilinxfb.c for an example of a driver that works with an FPGA ip core. Unfortunately there isn't a simple xilinx GPIO driver in the mainline kernel at the moment, otherwise I'd point you there. Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.