[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] high level drivers
Yes, it goes in vendors/Xilinx/uclinux-auto/Makefile
The code in the other posting is a userlevel program so compile that as you
do other userlevel programs for microblaze uclinux. Use it as a model to
control whatever GPIO devices you have.
Other users have reported success using that code--I never went back and
worked through the issues I was seeing. I'd appreciate hearing if your
efforts are successful--or even if they are not... :-)
Paul
Quoting Eric Lynum <elynum@xxxxxxx>:
> Thanks Paul, so to get this straight I just put this in a makefile
> ifdef CONFIG_XILINX_GPIO
> DEVICES += \
> gpio,c,10,185
> endif
>
>
> What commands do I do in uclinux to write to the LED's. I'm kind of
> unsure
> how this works and in what you sent me, you mentioned that you had
> problems
> getting the writes to work.
>
>
> -----Original Message-----
> From: Paul Hartke [mailto:phartke@xxxxxxxxxxxx]
> Sent: Sunday, October 23, 2005 9:40 PM
> To: microblaze-uclinux@xxxxxxxxxxxxxx; Eric Lynum
> Cc: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: Re: [microblaze-uclinux] high level drivers
>
>
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/09/msg00
> 117.html
>
> Quoting Eric Lynum <elynum@xxxxxxx>:
> > I have an LED program that I did in C that blinks the LEDs on my board.
> > How can I make a hook to this from the uclinux operating system to be
> > able
> > to call this from the OS? Is there any documentation on how I can call
> > this
> > function from kernel after it has booted so when the OS is up I can
> turn
> > this program on and off from some sort of call.
> >
> > Thanks for any help,
> >
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/