- 1 Logbook
- 1.1 2009.06.18
- 1.2 2009.09.01
- 1.3 2009.11.09
- 1.4 2009.12.17
- 1.5 2010.06.22
- 1.6 2010.08.14
- 1.7 2010.08.17
- 1.8 2010.08.19
- 1.9 2010.09.01
- 1.10 2010.09.06
- 1.11 2010.09.08
- 1.12 2010.09.11
- 1.13 2010.09.12
- 1.14 2010.09.13
- 1.15 2010.09.14
- 1.16 2010.09.17
- 1.17 2010.09.18
- 1.18 2010.09.19
At last, received the Gumstix Overo Fire. IRL smaller than I expected even though I knew the size. Weight 6g confirmed.
The power connector on the Summit board is very non-standard, see PJ1-022-SMT. I say it is non standard because I couldn't find a single electronics supplier that has this particular size in their series. Do there really expect people to buy that god damn wall plug? I will just mount two wires directly on the board.
Finally created an alternate power connector for the summit board, see http://twitpic.com/oxe4d
Powered up the Gumstix following the instructions on the website. Ångstrom boots up all right. The first boot took a long time because it had to configure god knows how many GNOME games and other stupid things – it took several minutes. The second boot was much, much faster, less than a minute.
No power manager installed.
WiFi and BT seemed alive but of course there was no connection and I don't know how they are configured. I tried to scan for BT devices from my Mac and there was something. I didn't want to connect since I didn't know if it was the Gumstix or maybe something fishy from one of my neighbors. I'll have to find some docs about these. Btw. a quick scan on the website didn't really turn anything up. I hope this doesn't mean that the Gumstix is just another not very well documented thing.
e-CAM32_OMAP_GSTIX - Camera Solution for GumStix’s Overo Series:
With V4L2 drivers. Amazing!
e-con Systems expect to release a 5MPix camera module soon, see blog post. This blog post also suggests that capturing and encoding 720p @ 30fps is possible on the OMAP.
- Had a quick half-day session with my Gumstix Overo.
- Did not find any USB mini-A to mini-B cable in regular computer shop.
- Gumstix Overo is still alive and the boot messages scroll through the tty; however, I did not get any image on the DVI monitor! I tried two different monitors, there is simply no signal. I was wondering if I have damaged the DVI output or something else.
- I decided that I will but a Tobi expansion board, which has Ethernet interface, and also one of these new small breakout boards.
- Ordered a Gumstix Tobi and a Pinto-TH board. Also included a USB mini-A to mini-B cable and an wall plug into the package since I was missing them.
- Package from Gumstix has arrived. They put two USB mini-A to mini-B cables in the package :)
- Decided that we will try to get the Gumstix Overo ready for an amateur rocket flight on 2010.10.03
- Functional scope TBD but it is highly unlikely that we can have live video feed or anything like that.
- Decided that the scope of the rocket flight will be recording video
- Still pending whether we can get the gumstix up and running in time
- Set up the Gumstix Overo + Tobi on a workbench. Thsi will be a permanent setup for now.
- Some issues that need to be resolved ASAP
- Ethernet on Tobi does not work (could be due to old image on NAND)
- Boots from flash but then loads OS from NAND!
Tried with newly flashed image on new µSD card. No luck but noticed an error message right at the beginning of boot:
Texas Instruments X-Loader 1.4.2 (Mar 27 2009 - 08:51:34) Reading boot sector Loading u-boot.bin from mmc U-Boot 2010.06 (Sep 09 2010 - 13:32:51) OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz Gumstix Overo board + LPDDR/NAND I2C: ready DRAM: 128 MiB NAND: 256 MiB In: serial Out: serial Err: serial Board revision: 0 Tranceiver detected on mmc2 Die ID #6b2400040000000004032d460c005010 Net: smc911x-0 Hit any key to stop autoboot: 0 Unknown command 'mmcinit' - try 'help' Booting from nand ... NAND read: device 0 offset 0x280000, size 0x400000 4194304 bytes read: OK ## Booting kernel from Legacy Image at 82000000 ... Image Name: Angstrom/2.6.29-rcfinal+r0+git90 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2723228 Bytes = 2.6 MiB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ...
nand erase 240000 20000
I assumed this had to be done right after stopping the autoboot timer, and indeed it worked. After doing that it booted from µSD card!
Tobi network works fine using the new image.
- Prepared and tested two new microSD cards with desktop and console image from 2010.09.09.
- Console image does not start Tobi Ethernet
- Recorded boot video: TBD
- Had a few kernel panics:
- First while executing opkg update
- Second time while trying to run a Gstreamer pipeline
- After kernel panic neither graphics nor Ethernet worked.
- Disconnecting all power and cables brought back graphics and Ethernet; however, mouse and keyboard were no longer working!
- After this the functionality was random (monitor, keyboard, mouse). Maybe the contents on the SD card got bad during the crashes? Or maybe the image is just unstable?
- Other possibility is that the Overo Fire is running way too hot and things shut down. I have to measure the temperature.
Found out why I was getting the kernel panic and broken, graphics, Ethernet, keyboard and mouse, see photo. I really need to get some of those tiny screws.
- Trying http://www.gumstix.net/Setup-and-Programming/view/Overo-Setup-and-Programming/Installing-additional-sw-packages/111.html
- Errors during opkg update:
- pkg_parse_from_stream_nomalloc: Excessively long line at 1. Corrupt file? (many of these)
- pkg_parse_from_stream_nomalloc: Missing new line character at end of file! (many of these too)
- opkg_download: Failed to download http://www.gumstix.net/feeds/unstable/ipk/glibc/armv7a/debug/Packages.gz, wget returned 1.
- Errors during "opkg upgrade":
- update-alternatives: Error: cannot register alternative readprofile to /sbin/readprofile since it is already registered to /usr/sbin/readprofile
- Thanks to this I found how I can see which packages are available: http://www.gumstix.net/feeds/unstable/ipk/glibc/armv7a/
I think the upgrade broke system! After next reboot I had these messages at the end of boot screen:
Starting advanced power management daemon: No APM support in kernel (failed.) Starting ntpd: done Starting Samba: smbd nmbd. Starting syslogd/klogd: done * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon [ ok ] Starting Bluetooth subsystem: Initialization timed out. Starting Network connection manager daemon: NetworkManager. Starting PVR Usage: insmod filename [args] ADDRCONF(NETDEV_UP): wlan0: link is not ready net eth0: SMSC911x/921x identified at 0xd08c8000, IRQ: 336 WARNING: Could not open '/lib/modules/2.6.34/kernel/drivers/gpu/pvr/pvrsrvkm.ko': No such file or directory FATAL: Could not open '/lib/modules/2.6.34/kernel/drivers/gpu/pvr/omaplfb.ko': No such file or directory WARNING: Could not open '/lib/modules/2.6.34/kernel/drivers/gpu/pvr/pvrsrvkm.ko': No such file or directory FATAL: Could not open '/lib/modules/2.6.34/kernel/drivers/gpu/pvr/bufferclass_ti.ko': No such file or directory mknod: missing operand after `0' Try `mknod --help' for more information. chmod: cannot access `/dev/pvrsrvkm': No such file or directory cups: started scheduler. Starting GPE display manager: gpe-dm .-------. | | .-. | | |-----.-----.-----.| | .----..-----.-----. | | | __ | ---'| '--.| .-'| | | | | | | | |--- || --'| | | ' | | | | '---'---'--'--'--. |-----------' '-----'-'-'-' -' | '---' The Angstrom Distribution overo ttyS2 Angstrom 2010.7-test-20100824 overo ttyS2
Also note the version string! I should be Angstrom 2010.7-test-20100909 overo ttyS2
After making a new flash and initializing it I made the mistake selecting a different Enlightenment settings and now it take the desktop long time to come up after the onsole login appears :(
- Connected the Logitech QuickCam Pro 9000. Showed up as /dev/video0 and I could start cheese, but no luck capturing – Cheese said it has captured and LED on camera was ON for a while but image area was blank.
- Can get image up with Gstreamer pipeline.
- Using xvimagesink CPU load is below 50%
- jpegenc blows CPU up (not accelerated?)
- CPU is running a bit hot during capture but it is no more than 5-6 deg above what it was before.
- Since I had to create a new microSD, I decided to give the Gnome R11 image a try. → TBD Boots OK but neither bluetooth nor Tobi Ethernet works.
- Changed display resolution to 1280x1024 → TBD
- Been looking at these TI DMAI stuff... I doubt I can make video encoding work using this within the next two weeks (also need time for testing and mechanical work)
- Capture and save raw video
- Capture and save MJPG video
- Capture and save JPG images at lower rates
Capture and save raw video
This is very easy using a Gstreamer pipeline, e.g.
gst-launch -e v4l2src ! video/x-raw-yuv,format=\(fourcc\)YUY2,width=640,height=480,framerate=5/1 ! multifilesink location=img%05d.yuv
but it requires very high bandwidth. I have a Class 6 microSD, but what is the maximum rate we can achieve on the Gumstix Overo?
- 160x120: 38400 byte/frame
- 320x240: 153600 bytes/frame
- 640x480: 614400 bytes/frame
- 800x600: 960000 bytes/frame
- 1600x1200: 3840000 bytes/frame
- YV12 and YU12 (I420):
- 640x480: 460800 bytes/frame
- 1600x1200: 2880000 bytes/frame
- RGB3 and BGR3:
- 640x480: 921600 bytes/frame
- 1600x1200: 5760000 bytes/frame
→ Measure disk I/O throughput
Capture MJPG video
I don't know how to do it with Gstreamer. I tried the image/jpeg caps as in Pixel formats but can not play the resulting file in anything.
→ Can we find a working pipeline for capturing JP from camera?
Capturing using the guvcview CLI results in a file playable by VLC and mplayer. Unfortunately, the GUI can not be turned off!
→ Can we make guvcview work without having X11?
Capture and save JPG images
Using a Gstreamer pipeline with image/jpg and multifilesink generates unreadable files.
Uvccapture captures JPG from camera and saves to file. Unfortunately, it can not use dynamic filenames or capture with higher frame rate than 1 fps. The good news is that uvccapture is very simple and easy to modify.
JPG image sizes (Logitech QuickCam Vision Pro 9000):
- 320x240: 7297 bytes/frame
- 640x480: 18583 bytes/frame
- 800x456: 35504 bytes/frame
- 800x600: 25698 bytes/frame
- 960x720: 36242 bytes/frame
- 1280x720: 61092 bytes/frame
- 1600x904: 107942 bytes/frame
- 1600x1000: 109873 bytes/frame
- 1600x1200: 124891 bytes/frame
→ Try to modify uvccapture to capture JPG at higher resolutions and at higher frame rates
→ Try to build uvccapture on Gumstix Overo
- Forked uvccapture: http://github.com/csete/uvccapture
- Modified uvccapture to allow capturing JPG at high resolutions
- Modified uvccapture to support sequential file names (img001.jpg, img002.jpg, ...) and to allow specifying the number of images to capture.
- Tried to let uvccapture run in free-running mode, i.e. no delay, but the max framerate I can accomplish is around 15fps, while guvcview gets 30 fps without problems.
- Going to try luvcview as well.