AnsweredAssumed Answered

PPI drivers/video/bfin-lq035q1 error when compile uClinux for bf561 ezkit

Question asked by willrobot on Feb 14, 2012
Latest reply on Feb 15, 2012 by willrobot

Hi,

 

using release version:

 

uclinux toolchain: 2011R1-RC4

 

and

 

uClinux distribution : 2011R1-RC3

 

I've got the following error trying to implement the PPI driver for a screen:

 

...

CC  drivers/video/output.o
  LD  drivers/video/display/built-in.o
  LD  drivers/video/fb.o
  LD  drivers/tty/serial/built-in.o
  LD  drivers/tty/built-in.o

drivers/video/bfin-lq035q1-fb.c: In function ‘bfin_lq035q1_config_ppi’:

drivers/video/bfin-lq035q1-fb.c:259: error: ‘DLEN_16’ undeclared (first use in this function)

drivers/video/bfin-lq035q1-fb.c:259: error: (Each undeclared identifier is reported only once

drivers/video/bfin-lq035q1-fb.c:259: error: for each function it appears in.)

drivers/video/bfin-lq035q1-fb.c:263: error: implicit declaration of function ‘bfin_write_PPI_DELAY’

drivers/video/bfin-lq035q1-fb.c:264: error: implicit declaration of function ‘bfin_write_PPI_COUNT’

drivers/video/bfin-lq035q1-fb.c:265: error: implicit declaration of function ‘bfin_write_PPI_FRAME’

drivers/video/bfin-lq035q1-fb.c:267: error: implicit declaration of function ‘bfin_write_PPI_CONTROL’

drivers/video/bfin-lq035q1-fb.c: In function ‘bfin_lq035q1_disable_ppi’:

drivers/video/bfin-lq035q1-fb.c:276: error: implicit declaration of function ‘bfin_read_PPI_CONTROL’

drivers/video/bfin-lq035q1-fb.c: In function ‘bfin_lq035q1_irq_error’:

drivers/video/bfin-lq035q1-fb.c:541: error: implicit declaration of function ‘bfin_read_PPI_STATUS’

drivers/video/bfin-lq035q1-fb.c:542: error: implicit declaration of function ‘bfin_write_PPI_STATUS’

make[3]: *** [drivers/video/bfin-lq035q1-fb.o] Error 1

make[3]: *** Waiting for unfinished jobs....

make[2]: *** [drivers/video] Error 2

make[1]: *** [drivers] Error 2

make[1]: Leaving directory `/home/william/Development_new/Music_Recognition/code/uCLinux/rev2011R1/uclinux-dist/linux-2.6.x'

make: *** [linux] Error 1

 

thanks

 

William

Outcomes