Writing drivers for external IP cores

Grant Likely grant.likely at secretlab.ca
Wed Feb 13 01:56:45 EST 2008


On Feb 12, 2008 4:54 AM, A. Nolson <alohanono at gmail.com> 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.


More information about the Linuxppc-embedded mailing list