All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pete Eberlein <pete@sensoray.com>
To: Paul Thomas <pthomas8589@gmail.com>
Cc: linux-media@vger.kernel.org
Subject: Re: 4vl + usb + arm
Date: Tue, 17 Mar 2009 14:58:02 -0700	[thread overview]
Message-ID: <1237327082.5040.174.camel@pete-desktop> (raw)
In-Reply-To: <c785bba30903031051k292a95aeq68d91e5c2bc31fd6@mail.gmail.com>

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@sensoray.com
http://www.sensoray.com


  reply	other threads:[~2009-03-17 22:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03 18:51 4vl + usb + arm Paul Thomas
2009-03-17 21:58 ` Pete Eberlein [this message]
2009-03-17 22:10   ` Paul Thomas
2009-03-17 22:13   ` Devin Heitmueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1237327082.5040.174.camel@pete-desktop \
    --to=pete@sensoray.com \
    --cc=linux-media@vger.kernel.org \
    --cc=pthomas8589@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.