Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
May 22, 2012, 04:21:51 AM
News: Welcome to GLomation peer support forum
Pages: [1]
Topic Tools  
Read February 21, 2009, 06:25:11 PM #0
Jerry Wong

V4L Support in Debian Kernel?

Hey all,

I need to use V4L to get access to a USB webcam. I get a kernel panic when I try to install v4l-conf via apt-get. It's been suggested to me that this means V4L is not built into my kernel. Is this the case? If so, how would I go about getting this included?
 
Read February 23, 2009, 07:20:59 AM #1
attitude

Re: V4L Support in Debian Kernel?

Download the kernel ource. apply the patches. Setup a toolchain (or just apt-get on a host Debian) the cross packages for arm) Then make menuconfig and select the needed configuration... then make uImage and flash the new kernel...
 
Read February 26, 2009, 07:20:47 PM #2
Jerry Wong

Re: V4L Support in Debian Kernel?

I got the toolchain setup, but I'm not sure what I'm doing wrong when compiling the kernel. Is there a subarch that I need to select?

Note: I already did make menuconfig without any problems. My arch is x86 on MacOS X.

Code:
> make ARCH=arm CROSS_COMPILE=arm-elf-
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  CC      kernel/bounds.s
  GEN     include/linux/bounds.h
  CC      arch/arm/kernel/asm-offsets.s
  GEN     include/asm/asm-offsets.h
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
scripts/mod/mk_elfconfig.c:4:17: error: elf.h: No such file or directory
scripts/mod/mk_elfconfig.c: In function ‘main’:
scripts/mod/mk_elfconfig.c:9: error: ‘EI_NIDENT’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:9: error: (Each undeclared identifier is reported only once
scripts/mod/mk_elfconfig.c:9: error: for each function it appears in.)
scripts/mod/mk_elfconfig.c:19: error: ‘ELFMAG’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:19: error: ‘SELFMAG’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:23: error: ‘EI_CLASS’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:24: error: ‘ELFCLASS32’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:27: error: ‘ELFCLASS64’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:33: error: ‘EI_DATA’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:34: error: ‘ELFDATA2LSB’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:37: error: ‘ELFDATA2MSB’ undeclared (first use in this function)
scripts/mod/mk_elfconfig.c:9: warning: unused variable ‘ei’
make[2]: *** [scripts/mod/mk_elfconfig] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
« Last Edit: February 26, 2009, 07:56:01 PM by Jerry Wong »
 
Read February 27, 2009, 09:38:16 AM #3
admin

Re: V4L Support in Debian Kernel?

You should use arm-linux- as your cross compiler prefix
 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re