Hi
according what you say i did this :
-make mrproper
-make ts7260_config
-make menuconfig
After this the configuration of my kernel is just different at this
point with the original :
# Multimedia devices
#
CONFIG_VIDEO_DEV=m (Video For linux)
#
# in Video For Linux
#
V4L information
──────────────────────────────────────────────────────────────┐
│
│ │ [*] V4L information in proc filesystem
│ │
│ │ --- Video Adapters
│ │
│ │ <M> Mediavision Pro Movie Studio Video For Linux
│ │
│ │ <M> CPiA Video For Linux
│ │
│ │ <M> CPiA USB Lowlevel Support
#
#in Multimedia Capabilities Port drivers
#
[*] Multimedia drivers
and finally in USB support I did this :
│--- USB Multimedia devices
│ │
│ │<M> USB IBM (Xirlink) C-it Camera support
│ │
│ │<M> USB Konica Webcam support
│ │
│ │<M> USB OV511 Camera support
│ │
│ │<M> USB Philips Cameras
│ │
│ │<M> USB SE401 Camera support
│ │
│ │<M> USB STV680 (Pencam) Camera support
│ │
│ │<M> USB 3com HomeConnect (aka vicam) support (EXPERIMENTAL)
│ │
│ │<M> D-Link USB FM radio support (EXPERIMENTAL)
│ │
│ │<M> DABUSB driver
Concerning my Make file I replaced this :
KERNEL_VERSION := `uname -r`
KERNEL_DIR := /lib/modules/$(KERNEL_VERSION)/build
INSTALL_MOD_DIR := usb/media
PWD := $(shell pwd)
obj-m := uvcvideo.o
uvcvideo-objs := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o
uvc_ctrl.o uvc_status.o uvc_isight.o
all:
@echo "-------------------------------- WARNING
---------------------------------------"
@echo " The USB Video Class driver has moved to http://linuxtv.org/."
@echo " Using the Berlios SVN repository is now deprecated."
@echo " Please check http://linux-uvc.berlios.de/ for download
instructions."
@echo " If you really want to compile this historical version, run
'make uvcvideo'."
@echo
"--------------------------------------------------------------------------------"
uvcvideo:
@echo "Building USB Video Class driver..."
@sh svn-version.sh > version.h 2>/dev/null
@(make -C $(KERNEL_DIR) M=$(PWD) CROSS_COMPILE=$(CROSS_COMPILE) modules)
install:
@echo "Installing USB Video Class driver..."
@(make -C $(KERNEL_DIR) M=$(PWD) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR)
INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) modules_install)
by this :
KERNEL_VERSION := `uname -r`
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-
PWD := $(shell pwd)
obj-m := uvcvideo.o
uvcvideo-objs := uvc_driver.o uvc_queue.o uvc_v4l2.o uvc_video.o
uvc_ctrl.o uvc_status.o uvc_isight.o
all:
@echo "-bbbbabbaba WARNING
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)
And when I go to the floder :
~/Robotique/UVC
and enter the command
make
make uvcvideo
make install
No errors it's seems ok?
Do you think is ok ?
Do you think I can now load these on the bord ?
If you think is OK do you explain me how I can load the kernel and
modules on the board TS7260
Thanks in advance
Best regards
--- In "charliem_1216" <> wrote:
>
> Hi --
>
> --- In "lazo93600" <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
>
> Somewhere in here you need to 'make menuconfig', and be sure all of
> the USB, media, video, etc. selections are made. Even if you build
> the driver module outside the kernel tree, it still needs kernel
> support like v4l. Write down everything that you change, and try to
> enable your changes as modules rather than built-in. If something
> must be built in, you will need to install and run your new kernel,
> not just install the new modules.
>
> > 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
>
> Are you sure? That is not where you unpacked the sources in 2° above.
>
> > 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 :(
>
> Are there no logs you can read, for kernel compile and uvcvideo
> compile, to see what went wrong? Are you sure that kernel 2.4 is
> supported by the camera driver?
>
> > 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
>
> These are linux 2.6 modules, completely different layout and
> requirements.
>
> > Concerning me I have not the directory "media" in
> > /lib/modules/2.4.26/kernel/drivers
>
> Where the modules end up is not that important, for now. First you
> must get them compiling OK, then you can load & unload them manually
> for testing while you make sure the camera works. After everything
> works you can worry about installing them and loading them at boot.
>
> regards, .......... Charlie
>
> > 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/
|