ts-7000
[Top] [All Lists]

[ts-7000] Re: uvcvideo driver TS7260

To:
Subject: [ts-7000] Re: uvcvideo driver TS7260
From: "wildpossumboy" <>
Date: Tue, 24 Feb 2009 01:54:19 -0000
Umm!! there is a lot of issues here.

Looking at what you pasted, I think your line:
> CROSS_COMPILE :=
>
/usr/src/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-

is incorrect. Surely it would be just something like:

CROSS_COMPILE :=
/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-

and you should have placed the downloaded tskernel in:
/usr/src/ directory.  The '*' indicates your put it somewhere probably
unknown to the system to correctly do what your trying to do.

Also, you don't normally have to modify the Makefile.

You simply do (assuming your in top dir is /usr/src/MyStuff)

cd /usr/src/MyStuff
./make .. etc.

If your able to get a book on how-to-roll-your-own-kernels do so.
I would recommend: "The Linux Programmers Toolbox (ISBN 0-3-219857-6)
and Embedded Linux Primer (ISBN 0-13-167984-8)" because there is a lot
to cover that your seemingly am not aware of.

I think your best starting again from scratch, ensure your currect
system is up to date with the latest updates then, as sudo, do:

1> mkdir /usr/src/MyStuff
2> cp tskernel-2.4.26-ts11-src.tar.gz /usr/src/MyStuff
3> cd /usr/src/MyStuff
4> tar xfvz tskernel-2.4.26-ts11-src.tar.gz
5> (build it)
   make mrproper
   make ts7260_config
   make oldconfig
   make dep
   make vmlinux
   make modules
   make modules_install

5> I am not sure 2.4 kernel makes actually move and build a
/boot/tskernel-2.4.26 file to boot from or not. You will have to read
the Documentation in /usr/src/MyStuff/tskernel-2.4.2*/Documentation/

6> You can double check that it correctly installed by looking at the
/boot dir for the vmlinux file to boot from.

7> Additionally you should check that the modules are build and
installed by looking in /lib/modules/2.4.26/.

Hope this helps.
Grahame


--- In  "lazo93600" <> wrote:
>
> Hello everybody I am new in the group, I hope that every body is OK.
> So my problem is about my 7260 :
>
> To install the driver of the webcam quickcam E3500 I did this :
>
> 1°/ I've downloaded the tskernel source from  
>
ftp://ftp.embeddedarm.com/ts-arm-linux-cd/sources/tskernel-2.4.26-ts11-src.tar.gz
>
> 2°/ I put the source tree into:
>    */usr/src/linux24 *on my xubuntu AMD64 machine
>
> 3°/ I edited in the Makefile (/usr/src/linux24/Makefile) the root  
> directory of the kernel source tree to    reflect the location :
>
> (TOPDIR    := $(shell /bin/pwd))
> CROSS_COMPILE = $(shell cd
>
$(TOPDIR)/../usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/
> && pwd)/arm-linux-
>
> (gcc-3.3.4-glibc-2.3.2 is my compiler)
>
> 4/° cd linux24
>
>    make mrproper
>    make ts7260_config
>    make oldconfig
>    make dep
>    make vmlinux
>    make modules
>    make modules_install
>
> 5°/ I edited also the Makefile of the UVCdriver by this :
> KERNEL_DIR    := /lib/modules/2.4.26-ts11/build
> INSTALL_MOD_DIR       := /home/lazsoy/Robotique/UVC/
> CROSS_COMPILE :=
>
/usr/src/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-
>
> uvcvideo:
>       @echo "Building USB Video Class driver..."
>       @sh svn-version.sh > version.h 2>/dev/null
>       @(make -C $(KERNEL_DIR) M=$(PWD) ARCH=arm
> CROSS_COMPILE=$(CROSS_COMPILE) modules)
>
> install:
>       @echo "Installing USB Video Class driver..."
>       @(make -C $(KERNEL_DIR) M=$(PWD) ARCH=arm
> INSTALL_MOD_DIR=$(INSTALL_MOD_DIR)
> INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) modules_install)
>
> 6°/ After i went to UVC
> and execute
> make
> make uvcvideo
> make install
>
> No errors but the module uvcvideo.ko was not created :(
>
> also I have read in the web that the UVCvideo depends of these
> different modules :
> /lib/modules/2.6.21/kernel/drivers/media/video/*uvcvideo*.ko:
> /lib/modules/2.6.21/kernel/drivers/usb/core/usbcore.ko
> /lib/modules/2.6.21/kernel/drivers/media/video/compat_ioctl32.ko
> /lib/modules/2.6.21/kernel/drivers/media/video/videodev.ko
> /lib/modules/2.6.21/kernel/drivers/media/video/v4l1-compat.ko
> /lib/modules/2.6.21/kernel/drivers/media/video/v4l2-common.ko
>
> Concerning me I have not the directory "media" in
> /lib/modules/2.4.26/kernel/drivers
>
> we think that's the problem?????
>
> I am completly depressed because since two days i am occupied with
> this driver but i couldnt install it.
>




------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU