Subject: Re: LCD driver?
To: None <port-cobalt@netbsd.org>
From: Jake Baillie <jake@priva.com>
List: port-cobalt
Date: 01/19/2003 08:26:50
> Date: Sun, 19 Jan 2003 01:38:19 -0500 (EST)
> From: Randy Carpenter <rcarpen@rune.net>
> To: port-cobalt@netbsd.org
> Subject: LCD driver=3F
>
>
> Has any progress been made in getting the LCD panel to work, and
> maybe
> even the buttons=3F 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=5F5200 -
D=5F=5FNO=5FSOFT=5FSERIAL=5FINTERRUPT -DDIAGNOSTIC -DMAXUSERS=3D32 -D=5FKERNEL -
D=5FKERNEL=5FOPT -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=5Flcd=5Finit'
/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=5Fopen')
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/cobalt/compile/enidLCD
Maybe someone can help both you and I out. :)
-- jb