Hello everyone,
I am trying to compile a uvc driver for my TS-7800 and I have a few questions.
First of all I am trying to cross compile on my suse pc. I got the uvc driver
here http://linux-uvc.berlios.de/ and I am using the cross tool
ts7800-crosstool-linux-gnueabi-2005q3-2. I also have the kernel source
linux-2.6.21-ts-src-latest. I have extracted all of these in the same
directory. I do the command
:/uvcvideo-553dfd853cba> make
CROSS_COMPILE=arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
and I get this:
make -C /uvcvideo-553dfd853cba/v4l
make[1]: Entering directory `/uvcvideo-553dfd853cba/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.31
File not found: /lib/modules/2.6.31.12-0.2-default/build/.config at
./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'.
Stop.
make[1]: Leaving directory `/uvcvideo-553dfd853cba/v4l'
make: *** [all] Error 2
It is trying to make it for 2.6.31 and I am not sure how to get it to make for
2.6.21. Do I need to change something in the makefile to point to the kernel
source? If so what would need to be changed?
In that uvc tar file there is a lot of documentation that I have read but it is
still not really clear what I need to do. There is also v4l2-apps, v4l,
media-specs, v4l_experimental, and linux in the uvc tar. The uvc source files
are in the directory linux/drivers/media/video/uvc. Do I just need compile
this or do I need to compile everything from the uvcvideo-553dfd853cba
directory?
Another problem I am having is installing .ko files. I have compiled a kernel
by following the instructions here
http://www.embeddedarm.com/about/resource.php?item=412 I modularized a few
webcam drivers and got the .ko files. I moved them onto my flash drive and
then onto the board where I tried to do modprobe. When the .ko files are moved
to the board there is a * after it (quickcam_messenger.ko*) and modprobe does
not find the module. Does anyone know what I am doing wrong? Sorry if it is
something simple I am new to linux and I have never cross compiled anything
before. I have been doing research on cross compiling but it is not very clear
to me what I need to do. If anyone could help me out I would really appreciate
it.
Thanks,
Neil
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|