LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   USB camera for arm-linux (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/usb-camera-for-arm-linux-941315/)

Ninaeve 04-23-2012 10:17 AM

USB camera for arm-linux
 
Hi all!
Just a silly question:
I want to use a USB camera with an embedded ARM processor.
The OS is uClinux, core 2.6.x.
The drivers are OK BUT they require libc, libcap, gcc etc.
On a Linux system with make, install, gcc and apt-get there are no problems but how can I use that camera with the embedded system that doesn't have these commands?
I can cross-compile and create a C/C++ program, and so an executable, but what should I do about the drivers?

Or: can anyone please suggest me a quite-good USB CMOS camera that has Linux drivers with no other dependencies to be built ?
Quite good= I can set and fix the exposure time, there isn't too much optics before the sensor.

Thank you in advance, every help will be highly appreciated and it would be very important to me.

Best Regards,
Ninaeve

will.larson 04-27-2012 10:36 AM

Are you building your own Kernel?

Linux does include in the Kernel tree some USB camera drivers you can compile them as modules or into the kernel itself depending on your use of the camera. Checkout buildroot or openembedded. run make linux-menuconfig and check under drivers usb devices you will have to hunt.

What board are you using?

Ninaeve 04-30-2012 04:00 AM

Hi will.larson, thanks for your reply.
I have to use a USB camera with a ATMEL ARM9-core with built uClinux, I already have the C crosscompiler but I'm a newby about library porting......and the embedded system doesn't have make.
I'd prefer not to build my own Kernel if I can avoid it.
Thanks for the hints, I will check them!
Best Regards
Ninaeve

cnxsoft 05-02-2012 10:43 AM

Ninaeve, you can just cross-compile the kernel and drivers with the tools you use to build libraries (gcc, make...).
You would normally not need to build the kernel, you only need to build the driver.

Ninaeve 05-03-2012 03:18 AM

Hi!
@cnxsoft: Thanks for your reply, actually I have some problems with the cross compiler gcc (its output can't be immediately executed, I have to use chmod... ) but I'm trying to build the programs and libraries as you are suggesting.
BTW I hope I don't have to change anything in the kernel....


All times are GMT -5. The time now is 03:48 PM.