Re: 4vl + usb + arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2009-03-03 at 11:51 -0700, Paul Thomas wrote:
> Hello, is anyone using a USB v4l device on an arm processor?

While I haven't used a USB video device on an ARM board, I have tried
cross compiling the v4l sources for ARM.  Here's what I found:

The v4l/Makefile.media uses the host strip binary on the ARM .ko files,
which doesn't work.  It could use $(CROSS_COMPILE)strip instead.  I
worked around the problem using a strip soft-link to arm-eabi-strip in
my cross tools bin directory.

The v4l/firmware/Makefile assumes /lib/firmware, this could be
$(DESTDIR)/lib/firmware instead.

Here are the make commands I used to build the v4l tree:

PATH=/path/to/devkitARM/bin:$PATH make ARCH=arm CROSS_COMPILE=arm-eabi-
SRCDIR=/path/to/arm/kernel-src

PATH=/path/to/devkitARM/bin:$PATH make ARCH=arm CROSS_COMPILE=arm-eabi-
DESTDIR=/path/to/arm/sysroot install

I'd like to know if modules built this way work on actual hardware.

Regards.
-- 
Pete Eberlein
Sensoray Co., Inc.
Email: pete@xxxxxxxxxxxx
http://www.sensoray.com

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux