Subject: Re: LCD driver?
To: Dennis Chernoivanov <cdi@mawhrin.net>
From: Randy Carpenter <rcarpen@rune.net>
List: port-cobalt
Date: 01/20/2003 00:39:59
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
> > > maybe
> > > even the buttons?  I see some discussion in the list 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
> > patched the sources, but had to make a little modification to /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 logically make
> > sense. I must have done this improperly, because 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=32 -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
> >
>