Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 28044

Use webcam in BF-609 to show images on WVGA\LCD EI3 Extender Board

$
0
0

 

I want to use webcam (Logitech C170) in ADSP-BF609 (ez-kit) to show images on WVGA/LCD EI3 Extender Board. At first, I thought I can add USB driver and WVGA/LCD Board driver in my kernel.

 

Thus, I followed this website (http://docs.blackfin.uclinux.org/doku.php?id=developing:blackfin_live_sources) to build the kernel.

 

I used :

 

   

$ mkdir ~/blackfin-sources

 

$ cd ~/blackfin-sources

$ git clone git://git.code.sf.net/p/adi-toolchain/blackfin toolchain

$ git clone git://git.code.sf.net/p/adi-u-boot/code u-boot

 

* the uclinux sources are no longer available

$ svn checkout svn://blackfin.uclinux.org/uclinux-dist/trunk uclinux-dist

( ** I didn't use this command with strikethrough. **)

$ git clone git://git.code.sf.net/p/adi-linux/code uclinux-dist/linux-2.6.x

 

$ git clone git://git.code.sf.net/p/adi-buildroot/code buildroot

$ git clone git://git.code.sf.net/p/adi-linux/code buildroot/linux/linux-kernel

 

 

Build the toolchain:

 

$ ~/blackfin-sources/toolchain/buildscript/BuildToolChain -p

$ mkdir ~/blackfin-sources/build

$ ~/blackfin-sources/toolchain/buildscript/BuildToolChain \

  -b ~/blackfin-sources/build \

  -k ~/blackfin-sources/buildroot/linux/linux-kernel \

  -s ~/blackfin-sources/toolchain \

  -u ~/blackfin-sources/u-boot

 

Setting my path:

 

$ export PATH=~/blackfin-sources/build/bfin-elf/bin:~/blackfin-sources/build/bfin-uclinux/bin:~/blackfin-sources/build/bfin-linux-uclibc/bin:${PATH}

 

and build the kernel (website: http://docs.blackfin.uclinux.org/doku.php?id=basic_compilation)

 

bash$ make menuconfig

 

I edited these sections as follows:

 

10749256_986681381348455_833457591_n.jpg

 

Then, i got a error are

 

 

 

 

perl: warning: Falling back to the standard locale ("C").

  CC [M]  sound/core/pcm_native.o

sound/core/pcm_native.c: In function 'snd_pcm_lib_default_mmap':

sound/core/pcm_native.c:3210: error: implicit declaration of function 'pgprot_writecombine'

sound/core/pcm_native.c:3210: error: incompatible types in assignment

make[2]: *** [sound/core/pcm_native.o] Error 1

make[1]: *** [sound/core] Error 2

make: *** [sound] Error 2

 

 

I’ve not yet added webcam or usb driver and WVGA/LCD EI3 driver to my kernel coz I had two errors when I tried to add WVGA/LCD driver in my kernel.

 

The following are the errors:

 

arch/blackfin/mach-bf609/boards/ezkit.c:1123: error: 'bfin_capture_data' undeclared here (not in a function)

arch/blackfin/mach-bf609/boards/ezkit.c:1263: error: 'bfin_display_data' undeclared here (not in a function)

make[1]: *** [arch/blackfin/mach-bf609/boards/ezkit.o] Error 1

make: *** [arch/blackfin/mach-bf609/boards] Error 2

 

Can anyone nicely help me to solve these errors? After solving the first problem when I built the kernel, I will provide the drive error information. Thank you for your kind assistance.

 

 


Viewing all articles
Browse latest Browse all 28044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>