* 4vl + usb + arm
@ 2009-03-03 18:51 Paul Thomas
2009-03-17 21:58 ` Pete Eberlein
0 siblings, 1 reply; 4+ messages in thread
From: Paul Thomas @ 2009-03-03 18:51 UTC (permalink / raw)
To: linux-media
Hello, is anyone using a USB v4l device on an arm processor?
thanks,
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 4vl + usb + arm
2009-03-03 18:51 4vl + usb + arm Paul Thomas
@ 2009-03-17 21:58 ` Pete Eberlein
2009-03-17 22:10 ` Paul Thomas
2009-03-17 22:13 ` Devin Heitmueller
0 siblings, 2 replies; 4+ messages in thread
From: Pete Eberlein @ 2009-03-17 21:58 UTC (permalink / raw)
To: Paul Thomas; +Cc: linux-media
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 4vl + usb + arm
2009-03-17 21:58 ` Pete Eberlein
@ 2009-03-17 22:10 ` Paul Thomas
2009-03-17 22:13 ` Devin Heitmueller
1 sibling, 0 replies; 4+ messages in thread
From: Paul Thomas @ 2009-03-17 22:10 UTC (permalink / raw)
To: Pete Eberlein; +Cc: linux-media
On Tue, Mar 17, 2009 at 2:58 PM, Pete Eberlein <pete@sensoray.com> wrote:
> 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
>
>
Pete,
I've been able to get the v4l tree to compile fine. I use the "make
release DIR=" to set the kernel DIR then make with the normal ARCH=
and CROSS_COMPILE=, and this seems to work correctly. Since I posted
we've had some limited success getting v4l devices working with arm.
The main problem now seems to be that the processor we're using
(at91rm9200) doesn't have a high-speed USB host.
I've been talking with some of the folks at sensoray (Danil &
Konstantin) about getting the 2251 or 2255 to work on our arm board.
thanks,
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 4vl + usb + arm
2009-03-17 21:58 ` Pete Eberlein
2009-03-17 22:10 ` Paul Thomas
@ 2009-03-17 22:13 ` Devin Heitmueller
1 sibling, 0 replies; 4+ messages in thread
From: Devin Heitmueller @ 2009-03-17 22:13 UTC (permalink / raw)
To: Pete Eberlein; +Cc: Paul Thomas, linux-media
On Tue, Mar 17, 2009 at 5:58 PM, Pete Eberlein <pete@sensoray.com> wrote:
> 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.
I ran into the issue with strip, and just worked around it by putting
the cross compiler's bin directory into the path. If you have a patch
though that fixes it the "right" way, feel free to submit a patch.
> I'd like to know if modules built this way work on actual hardware.
Generally speaking, yes they do work. I did some work with a couple
of different devices under ARM, and although there are bugs (which I
am preparing patches for), the drivers basically worked as expected.
Regards,
Devin
--
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-17 22:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 18:51 4vl + usb + arm Paul Thomas
2009-03-17 21:58 ` Pete Eberlein
2009-03-17 22:10 ` Paul Thomas
2009-03-17 22:13 ` Devin Heitmueller
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.