USB camera for arm-linux
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.
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?
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!
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.
@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.|