Writing drivers for external IP cores

3 messages, 3 authors, 2008-02-12 · open the first message on its own page

Writing drivers for external IP cores

From: A. Nolson <hidden>
Date: 2008-02-12 11:54:36

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

Re: Writing drivers for external IP cores

From: Marco Stornelli <hidden>
Date: 2008-02-12 12:31:40

A. Nolson ha scritto:
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
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
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

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help