AnsweredAssumed Answered

BF548 PPI.c  Problems

Question asked by ct111kevin@gmail.com on Oct 2, 2013
Latest reply on Oct 11, 2013 by Aaronwu

Hi all ,im working with my BF548 and when i have add "Blackfin video Capture Driver" in Multimedia, and i get the error that similar to the other thread however i had try the solution from there but my problem but doesn't solve.

drivers/media/video/blackfin/ppi.c: In function ‘ppi_start’:

drivers/media/video/blackfin/ppi.c:99: error: ‘PORT_EN’ undeclared (first use in this function)

drivers/media/video/blackfin/ppi.c:99: error: (Each undeclared identifier is reported only once

drivers/media/video/blackfin/ppi.c:99: error: for each function it appears in.)

drivers/media/video/blackfin/ppi.c: In function ‘ppi_stop’:

drivers/media/video/blackfin/ppi.c:115: error: ‘PORT_EN’ undeclared (first use in this function)

drivers/media/video/blackfin/ppi.c: In function ‘ppi_set_params’:

drivers/media/video/blackfin/ppi.c:139: error: ‘DMA32’ undeclared (first use in this function)

drivers/media/video/blackfin/ppi.c:154: error: ‘PORT_EN’ undeclared (first use in this function)

make[5]: *** [drivers/media/video/blackfin/ppi.o] Error 1

make[4]: *** [drivers/media/video/blackfin] Error 2

make[4]:   CC      drivers/media/video/uvc/uvc_driver.o

*** Waiting for unfinished jobs....

......

drivers/usb/musb/blackfin.c: In function ‘bfin_musb_init’:

drivers/usb/musb/blackfin.c:434: warning: ‘double_buffer_not_ok’ is deprecated (declared at drivers/usb/musb/musb_core.h:512)

  LD      drivers/video/console/font.o

  CC      drivers/video/bf54x-lq043fb.o

  LD      drivers/usb/musb/musb_hdrc.o

  LD      drivers/usb/musb/built-in.o

drivers/video/bf54x-lq043fb.c: In function ‘bfin_bf54x_suspend’:

drivers/video/bf54x-lq043fb.c:724: warning: unused variable ‘fbinfo’

  LD      drivers/video/fb.o

  LD      drivers/usb/core/usbcore.o

  LD      drivers/usb/core/built-in.o

  LD      drivers/video/console/built-in.o

  LD      drivers/usb/built-in.o

  LD      drivers/video/built-in.o

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

make[1]: Leaving directory `/home/uclinux/Blackfin/blackfin-linux-dist/linux-2.6.x'

make: *** [linux] Error 1

 

i had update my toolchain to 2012, by running "bfin-linux-uclibc-gcc -v" i got :

 

uclinux@otekik-Vostro-3560:~$ bfin-linux-uclibc-gcc -v

Using built-in specs.

Target: bfin-linux-uclibc

Configured with: /usr/src/packages/BUILD/blackfin-toolchain-2012R1/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=bfin-linux-uclibc --prefix=/opt/uClinux/bfin-linux-uclibc --disable-libstdcxx-pch --with-sysroot=/opt/uClinux/bfin-linux-uclibc/bfin-linux-uclibc/runtime --enable-threads=posix --enable-shared --enable-clocale=generic --disable-symvers --disable-libssp --disable-libffi --disable-libgcj --enable-version-specific-runtime-libs --enable-__cxa_atexit --with-bugurl=URL:http://blackfin.uclinux.org/gf/project/toolchain/tracker --with-pkgversion=ADI-2012R1-RC2

Thread model: posix

gcc version 4.3.5 (ADI-2012R1-RC2)

 

also running "uname -a"

uclinux@otekik-Vostro-3560:~$ uname -a

Linux otekik-Vostro-3560 3.2.0-37-generic-pae #58-Ubuntu SMP Thu Jan 24 15:51:02 UTC 2013 i686 i686 i386 GNU/Linux

 

Has anyone have any clue why my ppi.c doesnt compile properly. please help me out thanks

Outcomes