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

Re: [microblaze-uclinux] A/D converter and D/A converter



Hi Shamus,

At Thu, 9 Sep 2004 22:47:57 -0600,
Shamus McCarthy wrote:
[...]
> > they are in ppc tree.  I haven't look at those driver, but ppc
> > currently have better xparameter.h support.  if those driver use
> > some defines which standalone/microblaze version doesn't have, it
> > might be a little bit work, but definitely feasible.
> 
> Not sure what this means... does it mean re-synthesize the hardware
> .bin file to use the PPC processor instead of the Microblaze
> processor?
>
> Or, can the existing mbvanilla-net .bin file be used with some mods? 
> I am a novice, but am completely open to suggestions.

I ment i2c driver for xilinx i2c core is not yet ported to microblaze
uclinux, or at least I don't know anyone using it.

linuxppc tree has virtex II pro port and some driver for EDK cores.
pure linux has EDK support to generate better xparameters.h. (or I
should say, we haven't used linux support in EDK; that is OS_TYPE in
mss is standalone for microblaze arch, virtexII pro use linux)

it'd be nice for microblaze uclinux to use xparameters.h to build
better (customizable) hardware support, but we don't have it yet.

so i'd suggest to do those in two steps:

first, create fake xparameters.h.  that is, put all defiens ppc driver
needs.  so that you can easily integrate their driver to microblaze.

then, hack tcl code in edk to generate better xparamters.h for
uclinux.

> > if you use linux i2c framework, it just read/write on a device
> > node, which is not defferent from reading/writing files. 
> 
> Can you suggest/think of any examples or references that may be
> helpful?

lm_sensors has nice docs and howto for i2c, IIRC.

http://secure.netroedge.com/~lm78/

best,
--
            yashi
___________________________
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/