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

Re: [microblaze-uclinux] gpio_test



In this mail list was an example of using /dev/gpio. It works fine!
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/09/msg00117.html


Am Fr, den 25.11.2005 schrieb Raul Camaras um 11:21:
> hello,
> 
> 1. When I build the gpio_test application I always get the same output:
> DIP SW: 00000000
> Why?
> 
> 2. My microblaze has 5 different GPIOs: DIP switches, 7Segments, Push
> buttons, etc. Should I access these with only one node /dev/gpio?
> How?
> 
> Thank you,
> Raul
> 
> Am Do, den 24.11.2005 schrieb Vijai.S.Kumar@xxxxxxxxxxxxxxxx um 16:36:
> > hello
> >         u have to specify the root of romfs in make file of ur hello
> > program.
> >         and also include ur program in romfs make file as well.
> >          so after make clean dep  all
> >         u have to make seprate ur hello program
> >        then run make romfs command in user proram
> >        then goto uclinux dist again and run make image command
> >       rthen u will see in bin directory ur program name.
> >       the actual procedure u can get on net eaisly
> > 
> > vijai
> > 
> > 
> > 
> > 
> > 
> >                                                                                                                                                   
> >                       Paul Hartke                                                                                                                 
> >                       <phartke@xxxxxxxxxxxx>              To:       microblaze-uclinux@xxxxxxxxxxxxxx, Raul Camaras                               
> >                       Sent by:                             <raul.camaras@xxxxxxxxxxxxxxxx>                                                        
> >                       owner-microblaze-uclinux@ite        cc:       microblaze-uclinux@xxxxxxxxxxxxxx, (bcc: Vijai S Kumar/Services/INFOCOMM/RIL) 
> >                       e.uq.edu.au                         Subject:  Re: [microblaze-uclinux] uClinux hello world                                  
> >                                                     Importance: Normal  Sender's OU: Reliance |------------------|                                
> >                                                                                               | [ ] Confidential |                                
> >                       11/24/2005 07:49 PM                                                     |------------------|                                
> >                       Please respond to                                                                                                           
> >                       microblaze-uclinux                                                                                                          
> >                                                                                                                                                   
> > 
> > 
> > 
> > 
> > Raul,
> > 
> > See
> > http://cvs.uclinux.org/cgi-bin/cvsweb.cgi/uClinux-dist/Documentation/Adding-User-Apps-HOWTO?rev=1.1.1.1
> > 
> > and
> > http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux/wiki/index.php/OutOfTreeCompile
> > 
> > 
> > Hope this helps.
> > 
> > Paul
> > 
> > Quoting Raul Camaras <raul.camaras@xxxxxxxxxxxxxxxx>:
> > > Hello,
> > >
> > > I would like to write a simple program: printf("Hello world!\n");
> > > to be able to execute under uClinux. I have to include it in the kernel
> > > compilation somehow.
> > > What are the steps I must follow to achieve it?
> > >
> > > Thanks,
> > >          - raul
> > >
> > ___________________________
> > 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/
> > 
> > 
> > 
> > ___________________________
> > 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/
> > 

___________________________
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/