Subject: RE: LCD driver?
To: None <port-cobalt@netbsd.org>
From: Bob Bostwick <BobB@DigitechSystems.com>
List: port-cobalt
Date: 03/18/2003 13:04:20
How do I compile it?  I have been trying for almost a month now, I =
didn't
want to ask, but I can not figure it out.
I know I have to re-build my kernel, but I really don't know how and all =
the
documentation I have read points to files that do not exist once the =
machine
has been built from the recovery CD.

Any pointers would be greatly appreciated.

=20
Regards,
=20
Bob Bostwick
Digitech Systems, Inc.
=20


-----Original Message-----
From: port-cobalt-owner@netbsd.org [mailto:port-cobalt-owner@netbsd.org] =
On
Behalf Of Randy Carpenter
Sent: Sunday, January 19, 2003 11:40 PM
To: Dennis Chernoivanov
Cc: port-cobalt@netbsd.org
Subject: Re: LCD driver?



I got it to compile, and boot.  It gets rid of the annoying "Starting =
up"
message, but doesn't seem to do anything else.

-Randy

--
| Randy Carpenter             http://www.rune.net
| The Rune Network                 Wapakoneta, OH
-------------------------------------------------

On Mon, 20 Jan 2003, Dennis Chernoivanov wrote:

> Date: Mon, 20 Jan 2003 00:32:29 +0100
> From: Dennis Chernoivanov <cdi@mawhrin.net>
> To: port-cobalt@netbsd.org
> Subject: Re: LCD driver?
>
>
> JFYI -- recently I wrote a MI driver which supports both the LCD panel =

> and buttons, it is currently being reviewed by the port maintainer. If =

> anyone wants to give it a try please download the patch using the link =

> below, apply it to the 1.6 kernel and then let me know if it works.
>
>  http://only.mawhrin.net/~cdi/netbsd/cobalt/hd44780.diff.gz
>
> The driver still needs some testing, indeed.
>
> SY,
> --cdi
>
> On Sun, Jan 19, 2003 at 08:26:50AM -0500, Jake Baillie wrote:
> > > Date: Sun, 19 Jan 2003 01:38:19 -0500 (EST)
> > > From: Randy Carpenter <rcarpen@rune.net>
> > > To: port-cobalt@netbsd.org
> > > Subject: LCD driver?
> > >
> > >
> > > Has any progress been made in getting the LCD panel to work, and=20
> > > maybe even the buttons?  I see some discussion in the list=20
> > > archives from about a
> > > year ago, but nothing recent.
> >
> > I'm actually trying to get it to work now with the 1.6 kernel. I=20
> > patched the sources, but had to make a little modification to=20
> > /usr/src/ sys/arch/cobalt/cobalt/conf.c because it has changed since =

> > the diff was released. Check out the diff and add things where they=20
> > logically make sense. I must have done this improperly, because=20
> > unfortunately, I still cannot compile:
> >
> > [root@enid:/usr/src/sys/arch/cobalt/compile/enidLCD] # make [...]
> > cc  -EL -G 0 -mno-abicalls -mno-half-pic -ffreestanding  -O2 -Werror =
-
> > Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-
> > prototypes -Wstrict-prototypes -Wno-uninitialized  -Dcobalt -I.  =
-I../
> > ./../../arch -I../../../.. -nostdinc -DMIPS3 -DMIPS3_5200 -
> > D__NO_SOFT_SERIAL_INTERRUPT -DDIAGNOSTIC -DMAXUSERS=3D32 -D_KERNEL -
> > D_KERNEL_OPT   -c =
/usr/src/sys/arch/cobalt/compile/enidLCD/../../../../
> > arch/cobalt/cobalt/conf.c
> > cc1: warnings being treated as errors
> > =
/usr/src/sys/arch/cobalt/compile/enidLCD/../../../../arch/cobalt/cobalt
> > /conf.c:158: warning: implicit declaration of function =
`cdev_lcd_init'
> > =
/usr/src/sys/arch/cobalt/compile/enidLCD/../../../../arch/cobalt/cobalt
> > /conf.c:158: `lcd' undeclared here (not in a function)
> > =
/usr/src/sys/arch/cobalt/compile/enidLCD/../../../../arch/cobalt/cobalt
> > /conf.c:158: warning: missing braces around initializer
> > =
/usr/src/sys/arch/cobalt/compile/enidLCD/../../../../arch/cobalt/cobalt
> > /conf.c:158: warning: (near initialization for `cdevsw[34]')
> > =
/usr/src/sys/arch/cobalt/compile/enidLCD/../../../../arch/cobalt/cobalt
> > /conf.c:158: initializer element is not constant
> > =
/usr/src/sys/arch/cobalt/compile/enidLCD/../../../../arch/cobalt/cobalt
> > /conf.c:158: (near initialization for `cdevsw[34].d_open')
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/src/sys/arch/cobalt/compile/enidLCD
> >
> > Maybe someone can help both you and I out. :)
> >
> > -- jb
> >
>