WebCam for BeagleBoard

HI I want to develop an application on Android with web cams. I have
checked this video

http://www.youtube.com/watch?v=L7LfVTv02cg

so it seems possible.

I want to know

which web cams are supported for beagleboard kernel ?

I have a Logitech Webcam C300 webcam and it is suported for linux V4L2
is this right ?

I am using the rowboat android Eclair, it works fine :slight_smile:

Thanks for all your help

Sincerely yours

Victor Rodriguez

Hello,

        Any camera that supports uvc should work but the camera module
for Android is a bit beta on the beagleboard. If you don't want to be
bleeding edge you would be better going for Ubuntu IMHO - that worked
out of the box for me.

Cheers,

Neil

Hello,

   Any camera that supports uvc should work but the camera module

for Android is a bit beta on the beagleboard. If you don't want to be
bleeding edge you would be better going for Ubuntu IMHO - that worked
out of the box for me.

Cheers,

Neil

HI thanks for you answer, now two more things

Which is the source code for the kernel on BB c2 complete support ?

Where can I download the Ubuntu for BB ?

I have been testing BB with Angstrom FS and works perfect but I can
not make the camera works

Thanks a lot for your help

Regards

Victor Rodriguez

Hello,

        Search google for "Ubuntu Beagleboard" and you'll find the
Beagleboard/Ubuntu wiki which is really good. I don't really
understand the source code question - sorry.

Cheers,

Neil

Hello,

   Search google for "Ubuntu Beagleboard" and you'll find the

Beagleboard/Ubuntu wiki which is really good. I don't really
understand the source code question - sorry.

Thanks sorry for do not google first

About the kernel question is

Where can I get the kernel for beagle board with complete and current
support, for example for hawk board the complete kernel can be
downloaded from http://elinux.org/Hawkboard and from git.kernel.org
the initial support from
http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=summary

But is there any repository where I can get the latest and stable kernel ?

Regards

Victor Rodriguez

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git

Regards,

Hello,

   Search google for "Ubuntu Beagleboard" and you'll find the

Beagleboard/Ubuntu wiki which is really good. I don't really
understand the source code question - sorry.

Thanks sorry for do not google first

About the kernel question is

Where can I get the kernel for beagle board with complete and current
support, for example for hawk board the complete kernel can be
downloaded from http://elinux.org/Hawkboard and from git.kernel.org
the initial support from
http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=summary

But is there any repository where I can get the latest and stable kernel ?

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git

Regards,

Thanks that is the one that I have clone and then i change to
remotes/origin/omap-2.6.32 branch

There I have found

omap3_beagle_defconfig

so I have done this

make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

BUt seems to have a problem with USB

In file included from drivers/usb/host/ehci-hcd.c:1114:
drivers/usb/host/ehci-omap.c:40: fatal error: mach/usb.h: No such file
or directory
compilation terminated.
make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1
make[3]: *** Waiting for unfinished jobs....

Is this the correct branch and defconfig ?

Regards

Victor Rodriguez

That is the correct error you'd get for the branch and defconfig you
specificly 'chose'

Either use an external patch to fix that issue, or use a much later
and stable checkout, such as the current 2.6.37-rc2 master.. (with the
omap2plus_defconfig)

Regards,

Hello,

   Search google for "Ubuntu Beagleboard" and you'll find the

Beagleboard/Ubuntu wiki which is really good. I don't really
understand the source code question - sorry.

Thanks sorry for do not google first

About the kernel question is

Where can I get the kernel for beagle board with complete and current
support, for example for hawk board the complete kernel can be
downloaded from http://elinux.org/Hawkboard and from git.kernel.org
the initial support from
http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=summary

But is there any repository where I can get the latest and stable kernel ?

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git

Regards,

Thanks that is the one that I have clone and then i change to
remotes/origin/omap-2.6.32 branch

There I have found

omap3_beagle_defconfig

so I have done this

make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

BUt seems to have a problem with USB

In file included from drivers/usb/host/ehci-hcd.c:1114:
drivers/usb/host/ehci-omap.c:40: fatal error: mach/usb.h: No such file
or directory
compilation terminated.
make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1
make[3]: *** Waiting for unfinished jobs....

Is this the correct branch and defconfig ?

That is the correct error you'd get for the branch and defconfig you
specificly 'chose'

Either use an external patch to fix that issue, or use a much later
and stable checkout, such as the current 2.6.37-rc2 master.. (with the
omap2plus_defconfig)

Regards,

HI thanks for the help

But it hangs on

U-Boot 2010.06-rc1-00049-ga306f53 (Oct 23 2010 - 17:43:17)

OMAP3430/3530-GP ES3.0, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Beagle Rev C1/C2/C3
Die ID #5ac400030000000004013f8901001001
Hit any key to stop autoboot: 0
OMAP3 beagleboard.org # mmc init
mmc1 is available
OMAP3 beagleboard.org # fatload mmc 0 0x80300000 uImage
reading uImage

2964440 bytes read
OMAP3 beagleboard.org # setenv bootargs console=ttyS2,115200n8
noinitrd root=/dev/mmcblk0p2 rootfstype=ext2 rw rootdelay=1 nohz=off
OMAP3 beagleboard.org # bootm 0x80300000
## Booting kernel from Legacy Image at 80300000 ...
   Image Name: Linux-2.6.37-rc2-08908-g8973a21
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 2964376 Bytes = 2.8 MiB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

My steps

make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap2plus_defconfig
make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

My boot args

setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2
rootfstype=ext2 rw rootdelay=1 nohz=off

Those boot args work for other uImages.

Thanks a lot for your help

Regards

Victor Rodriguez

Sorry, there also was a serial change with 2.6.37 use "ttyO2" as in O
for 'O'map vs the old 'ttyS2'

Regards,

Hello,

   Search google for "Ubuntu Beagleboard" and you'll find the

Beagleboard/Ubuntu wiki which is really good. I don't really
understand the source code question - sorry.

Thanks sorry for do not google first

About the kernel question is

Where can I get the kernel for beagle board with complete and current
support, for example for hawk board the complete kernel can be
downloaded from http://elinux.org/Hawkboard and from git.kernel.org
the initial support from
http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git;a=summary

But is there any repository where I can get the latest and stable kernel ?

http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git

Regards,

Thanks that is the one that I have clone and then i change to
remotes/origin/omap-2.6.32 branch

There I have found

omap3_beagle_defconfig

so I have done this

make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_defconfig
make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

BUt seems to have a problem with USB

In file included from drivers/usb/host/ehci-hcd.c:1114:
drivers/usb/host/ehci-omap.c:40: fatal error: mach/usb.h: No such file
or directory
compilation terminated.
make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1
make[3]: *** Waiting for unfinished jobs....

Is this the correct branch and defconfig ?

That is the correct error you'd get for the branch and defconfig you
specificly 'chose'

Either use an external patch to fix that issue, or use a much later
and stable checkout, such as the current 2.6.37-rc2 master.. (with the
omap2plus_defconfig)

Regards,

HI thanks for the help

But it hangs on

U-Boot 2010.06-rc1-00049-ga306f53 (Oct 23 2010 - 17:43:17)

OMAP3430/3530-GP ES3.0, CPU-OPP2 L3-165MHz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Beagle Rev C1/C2/C3
Die ID #5ac400030000000004013f8901001001
Hit any key to stop autoboot: 0
OMAP3 beagleboard.org # mmc init
mmc1 is available
OMAP3 beagleboard.org # fatload mmc 0 0x80300000 uImage
reading uImage

2964440 bytes read
OMAP3 beagleboard.org # setenv bootargs console=ttyS2,115200n8
noinitrd root=/dev/mmcblk0p2 rootfstype=ext2 rw rootdelay=1 nohz=off
OMAP3 beagleboard.org # bootm 0x80300000
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-2.6.37-rc2-08908-g8973a21
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2964376 Bytes = 2.8 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

My steps

make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- omap2plus_defconfig
make -j5 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

My boot args

setenv bootargs console=ttyS2,115200n8 noinitrd root=/dev/mmcblk0p2
rootfstype=ext2 rw rootdelay=1 nohz=off

Those boot args work for other uImages.

Sorry, there also was a serial change with 2.6.37 use "ttyO2" as in O
for 'O'map vs the old 'ttyS2'

Regards,

Hi Robert

Thanks a lot it works, more less :frowning:

it hangs on

[ 2.320739] mmcblk0: p1 p2 p3
[ 2.854614] EXT2-fs (mmcblk0p2): warning: mounting ext3 filesystem as ext2
[ 2.861968] EXT2-fs (mmcblk0p2): warning: mounting unchecked fs,
running e2fsck is recommended
[ 3.289337] VFS: Mounted root (ext2 filesystem) on device 179:2.
[ 3.295989] Freeing init memory: 288K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
[ 4.280609] udevd (529): /proc/529/oom_adj is deprecated, please
use /proc/529/oom_score_adj instead.
Remounting root file system...
Caching udev devnodes
Populating dev cache
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1608: No soundcards found...
Configuring network interfaces... ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
done.
Starting portmap daemon: portmap.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Hardware abstraction layer hald
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting syslogd/klogd: done
[ ok ]rting Avahi mDNS/DNS-SD Daemon: avahi-daemon
cups: started scheduler.
INIT: Id "S" respawning too fast: disabled for 5 minutes

and thats it

My boot args are

setenv bootargs console=ttyO2,115200n8 noinitrd root=/dev/mmcblk0p2
rootfstype=ext2 rw rootdelay=1 nohz=off

Thanks a lot for the help

Regards

Victor Rodriguez

HI it seems that the problem is with the Angstrom File Systems I have
tested with ALSA File System from source code BeageBoard and works
fine, does any body know the reason ?

Thanks and regards

Victor Rodriguez