linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Writing drivers for external IP cores
@ 2008-02-12 11:54 A. Nolson
  2008-02-12 12:35 ` Marco Stornelli
  2008-02-12 14:56 ` Grant Likely
  0 siblings, 2 replies; 3+ messages in thread
From: A. Nolson @ 2008-02-12 11:54 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Writing drivers for external IP cores
  2008-02-12 11:54 Writing drivers for external IP cores A. Nolson
@ 2008-02-12 12:35 ` Marco Stornelli
  2008-02-12 14:56 ` Grant Likely
  1 sibling, 0 replies; 3+ messages in thread
From: Marco Stornelli @ 2008-02-12 12:35 UTC (permalink / raw)
  To: A. Nolson; +Cc: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Writing drivers for external IP cores
  2008-02-12 11:54 Writing drivers for external IP cores A. Nolson
  2008-02-12 12:35 ` Marco Stornelli
@ 2008-02-12 14:56 ` Grant Likely
  1 sibling, 0 replies; 3+ messages in thread
From: Grant Likely @ 2008-02-12 14:56 UTC (permalink / raw)
  To: A. Nolson; +Cc: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-12 14:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12 11:54 Writing drivers for external IP cores A. Nolson
2008-02-12 12:35 ` Marco Stornelli
2008-02-12 14:56 ` Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).