Writing drivers for external IP cores
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.
Any suggestion?
Thanks in advance
/A
A. Nolson ha scritto:
Quoted 12 lines
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.Any suggestion?
Quoted 8 lines
Thanks in advance
/A
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
A good book to write device drivers is "Linux device drivers" 3rd edition, it's free and you can download it freely from Internet
Quoted 9 lines · A. Nolson
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.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.