Hi Ananth,

 

I followed the instructions provided for making a bootable SD card and had success using the 2011-03-25-1619 image from http://cumulus.gumstix.org/images/angstrom/factory.

 (I had originally tried the 2011-08-30-1058 image and it didn’t work, it started to boot and the said something about a kernel panic and stopped responding)

 

After I successfully booted, I ejected the SD card and inserted it into my development machine (actually a Windows PC running Ubuntu on VMWare). From there I replaced the uImage file on the SD card with the uImage file that was on the SD card that came from e-con systems. At that time I also copied the vl42_driver.ko and capture.elf files over to the 2011-03-25-1619 bootable SD card.

 

I then ejected the SD card from the development machine and re-inserted it into the Gumstix Overo. The Overo once again booted to the desktop just fine. However, when I tried the command “insmod v” I received the following error:

 

******************** OUTPUT FROM TERMINAL WINDOW ***************************

root@overo:/media/mmcblk0p1# insmod v4l2_driver.ko

-------------------------------------------------

PRODUCT_NAME       : e-CAM50_CU35x_GSTIX

SVN_REVISION       : 356

SVN_DATE           : 2011-12-27

SVN_TIME           : 13:59:38

Driver Module info : V4l2 driver module

Build Time stamp   : Thu Dec  8 19:08:03 2011

-------------------------------------------------

 

Memory overlap detected between camera reserved memory and kernel memory

phy_addr_start  0x85700000

phy_addr_end    0x862fffff

phys_end_kernel 0x8d700000

 

Using Reserved memory for V4l2 driver module

From Start address - 0x85700000

To End address - 0x862fffff

ov5642_i2c_client_xfer:i2c transfer error:-5

ov5642_read_reg:read reg error: reg=300a, val=0

insmod: error inserting 'v4l2_driver.ko': -1 Operation not permitted

******************** OUTPUT FROM TERMINAL WINDOW ***************************

 

I believe that I am getting closer to getting the camera working on the Gumstix but could use your help in sorting out what I am doing incorrectly.

 

I appreciate your help in this matter.

 

Greg

 


From: Ananthapadmanaban [mailto:gapadmanaban@e-consystems.com]
Sent: Thursday, March 08, 2012 5:20 AM
To: gumstix-users@lists.sourceforge.net
Subject: Re: [Gumstix-users] Gumstix and econ systems...

 

Hi Greg,

 Hope this link will be useful for you to create a boot-able sdcard.
    http://gumstix.org/create-a-bootable-microsd-card.html

and  make use of factory tested image of gumstix from
    http://cumulus.gumstix.org/images/angstrom/factory

Thanks and regards,
Ananth.


On 03/08/2012 01:00 AM, Greg Ericksen wrote:

Hello,

 

We recently purchased a Gumstix OveroFE and a Tobi expansion board. We also purchased an econ-systems e-CAM50_CU35x_GSTIX camera. Now I have some questions, and please forgive my ignorance, my Linux and electronics knowledge is limited. I am only a mechanical engineer and not very knowledgeable about such things. (Not on this planet anyway.)

 

The camera came with a microSD card that appeared to contain two partitions, one named “boot” and another named “rootfs”. >From what I have been able to glean this is normal for a Gumstix bootable microSD card. The two partitions contained to following stuff.

 

rootfs:

drwxrwxr-x  2 root root 4096 1999-12-31 16:13 bin
drwxrwxr-x  2 root root 4096 2011-07-23 10:47 boot
drwxr-xr-x  3 root root 4096 2011-07-21 20:18 dev
drwxr-xr-x  7  500  500 4096 2011-11-14 03:14 e-CAM50_CU35x_GSTIX_BIN_1.356
drwxr-xr-x 59 root root 4096 2011-07-23 15:18 etc
drwxrwxr-x  3 root root 4096 2011-07-23 10:45 home
drwxrwxr-x  5 root root 4096 1999-12-31 16:09 lib
lrwxrwxrwx  1 root root   12 2011-08-30 03:11 linuxrc -> /bin/busybox
drwxrwxr-x 12 root root 4096 1999-12-31 16:00 media
drwxrwxr-x  3 root root 4096 2011-07-23 10:47 mnt
drwxr-xr-x  2 root root 4096 2011-07-21 20:18 proc
drwxrwxr-x  2 root root 4096 1999-12-31 16:10 sbin
drwxr-xr-x  2 root root 4096 2011-07-21 20:18 sys
lrwxrwxrwx  1 root root    8 2011-08-30 03:11 tmp -> /var/tmp
drwxrwxr-x 12 root root 4096 2011-07-20 06:14 usr
drwxrwxr-x  9 root root 4096 2011-07-23 15:24 var

boot:
-rw-r--r-- 1 fooj fooj    24288 2011-08-25 17:00 MLO
-rw-r--r-- 1 fooj fooj  5760054 2011-07-25 08:22 snap_1600x1200_0.bmp
-rw-r--r-- 1 fooj fooj  9437238 2011-07-25 08:22 snap_2048x1536_0.bmp
-rw-r--r-- 1 fooj fooj 15116598 2011-07-25 08:22 snap_2592x1944_0.bmp
-rw-r--r-- 1 fooj fooj   195984 2011-08-25 17:00 u-boot.bin
-rw-r--r-- 1 fooj fooj  2970980 2011-11-03 16:51 uImage
-rw-r--r-- 1 fooj fooj 11827200 2011-07-25 07:59 video_320x240_0.uyvy
-rw-r--r-- 1 fooj fooj 22732800 2011-07-25 08:00 video_640x480_0.uyvy

The camera also came with a CD containing a sample application (capture.elf) and a camera driver (v4l2_driver.ko)

I was able to get the OveroFE/Tobi hooked up to a monitor, keyboard and mouse and successfully booted to a desktop. I was also able to connect to the OveroFE/Tobi through the serial USB serial port from a Windows PC using PuTTY.

What I have not been able to do however is get the camera to work. I have tried:

Copying capture.elf and v4l2_driver.ko to the OveroFE and using the command “insmod v4l2_driver.ko” to install the driver. This only gives me an error: “v4l2_driver: disagrees about version of symbol module_layout. insmod: error inserting 'v4l2_driver.ko': -1 Invalid module format”

Creating a bootable microSD card per the instructions at gumstix.org using a pre-built factor image. However, there seems to be a disconnect between those instructions and the instructions for how to write an image to flash (which seems to need a .ubi file instead of a full directory structure)

Contacting econ-systems to get their help. I received this from them:
“Please make use of factory images available in http://cumulus.gumstix.org/images/angstrom/factory and try to boot the gumstix board. Then replace uImage with e-con uImage, then load the camera driver to complete the similar Binary setup (sdcard) provided by e-con.”
I don’t see how I can do this if I can’t create a bootable microSD card in the first place.

I am hoping that someone has done this before and might be able to guide me through getting this up and running.

Thank you VERY much in advance for your help.

Greg

 

 

 

 

 

 

 

Greg Ericksen
Senior Mechanical Engineer
gericksen@redxdefense.com

 

7642 Standish Place, Rockville, MD 20855

Office: 301.279.7970
Fax: 301.279.7973
Mobile: 202.531.5606

 

www.redXdefense.com

 

 
 
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
 
 
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users