Subject: Re: GPIO on the Soekris net4801
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Marcin Jessa <lists@yazzy.org>
List: current-users
Date: 09/28/2005 09:15:39
On Tue, 27 Sep 2005 20:30:58 -0400
"Steven M. Bellovin" <smb@cs.columbia.edu> wrote:
> In message <F591D879-6D04-4363-BA2D-B46D5CF87B67@invisible.ca>,
> "Jared D. McNei ll" writes:
> >I've recently added support for gpio on the Soekris net4801 based
> >on the code from OpenBSD. If you want to play with the error LED on
> >your system, do the following:
> >
> > 1. Update -current sources
> > 2. Add the following to your kernel config:
> >nsclpcsio* at isa?
> >gscpcib* at pci? dev ? function ?
> >gpio* at nsclpcsio?
> >gpio* at gscpcib?
> > 3. Build a new kernel and userland (to get /usr/include/sys/
> >gpio.h and /usr/sbin/gpioctl).
> > 4. With a new MAKEDEV in /dev, 'sh MAKEDEV gpio'
> >
> >Then, if you want to control the error LED, first configure the pin:
> > # gpioctl -c 20 on pp
> >
> >Now you can control the error LED.
> >
> >To turn it on:
> > # gpioctl 20 1
> >To turn it off:
> > # gpioctl 20 0
> >To toggle the LED (eg if it's on, turn it off; if it's off, turn it
> >on):
> > # gpioctl 20 2
> >
>
> Cool.
>
> I just ordered a Soekris, because I want a NAT box I can log into and
> monitor. Is there a mailing list for NetBSD on Soekris boxes?
> Should there be? (If folks are interested, I can host one.)
There is no point in this, all the questions about soekris, WRAP etc go
to tech-embed@netbsd.org
A few people there, including me developed/work on embedded NetBSD
solutions working on soekris.
Cheers,
Marcin