[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Drivers available?



Hi Peter,

Peter Åberg wrote:

> Where can I find what drivers are available for the uCLinux?

in the source - linux-2.4.x/drivers/...

principal subdirs are /char, /net, /block

> Do anyone know if there is a driver for a CAN controller available?
> I plan to use the one available on opencores. Anyone having experience
> on that one?

Haven't used the core, but there is a linux CAN bus architecture - 
can4linux.  The drivers are there in the uClinux tree - 
drivers/char/can4linux/*

 From the briefest of glances, it looks like there is a fairly generic 
high-level interface, with a low-level file for each supported device. 
I can see here can_mcf5282funcs.c, and can_sja1000funcs.c - at a guess 
these probably provide low level support for those devices.  You could 
take one of these and, rename it can_opencorefuncs.c, and morph it to 
work with the opencores CAN controller.  Not trivial, but most of the 
hard work is already done.

Hope this helps,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/