From: Robert S. <sm...@tr...> - 2010-12-23 13:59:29
|
Hello Ananth, Thank you for your swift reply. Unfortunately, when I 'insmod' the kernel module I get a memory overlap error: Driver Module info : V4l2 driver module Version info : 5.0Build Time stamp: Thu Oct 7 05:40:10 2010 Memory overlap detected between camera reserved memory and kernel memory phy_addr_start 0x85d00000 phy_addr_end 0x862fffff phys_end_kernel 0x8dd00000 Using Reserved memory for V4l2 driver module >From Start address - 0x85d00000 To End address - 0x862fffff insmod: error inserting 'v4l2_driver.ko': -1 Operation not permitted I've doubled check by u-boot arguments, and they are as stated in the eCon Systems document (i.e. mem=93M@0x8000000 mem=128M@0x8800000. Any ideas? Thanks Rob Smith ----- Original Message ----- From: Ananthapadmanaban To: Robert Smith ; General mailing list for gumstix users. Sent: Thursday, December 23, 2010 12:27 PM Subject: Re: [Gumstix-users] Getting an eCon Gumstix Camera Working Hi smith, Load the camera driver module. Thanks and regards, Ananth. On Thursday 23 December 2010 05:20 PM, Robert Smith wrote: Hi There, I've got one of the eCon Systems gumstix camera, and can't quite get it to work. I wonder if anyone can help, before I pester the company... The problem I have is when trying to run the test application that comes with the driver code. When I run capture.elf, if just exits immediately, with no error messages, and writes to no logs as far as I can tell. So I don't really have any idea what is wrong. So far I have done these steps: 1. Patch and recompiled the kernel to include the driver in the kernel (not as a module) 2. Booted the overo board, interrupted u-boot, and added the bootargs required to reserve memory 3. Made a new node in /dev using mknod (mknod /dev/video0 c 81 0) 4. And then run the capture.elf program (cross-compiled ok) I do believe the driver is installed correctly, as my dmesg output gives these messages: OMAPFB: allocated VRAM paddr 808d2000, vaddr d0a00000 OMAPFB: region0 phys 808d2000 virt d0a00000 size=1572864 OMAPFB: region1 phys 00000000 virt (null) size=0 OMAPFB: region2 phys 00000000 virt (null) size=0 OMAPFB: fbmems allocated OMAPFB: check_fb_var 0 OMAPFB: max frame size 1572864, line size 2048 OMAPFB: xres = 1024, yres = 768, vxres = 1024, vyres = 768 OMAPFB: set_fb_fix OMAPFB: fb_infos initialized OMAPFB: set_par(0) OMAPFB: set_fb_fix OMAPFB: apply_changes, fb 0, ovl 0 OMAPFB: setup_overlay 0, posx 0, posy 0, outw 1024, outh 768 OMAPFB: paddr 808d2000, vaddr d0a00000 OMAPFB: pan_display(0) OMAPFB: setcmap OMAPFB: setcmap Console: switching to colour frame buffer device 128x48 OMAPFB: pan_display(0) OMAPFB: setcmap OMAPFB: setcmap OMAPFB: framebuffers registered OMAPFB: apply_changes, fb 0, ovl 0 OMAPFB: setup_overlay 0, posx 0, posy 0, outw 1024, outh 768 OMAPFB: paddr 808d2000, vaddr d0a00000 OMAPFB: apply_changes, fb 1, ovl 1 OMAPFB: apply_changes, fb 2, ovl 2 OMAPFB: create sysfs for fbs OMAPFB: create sysfs for fbs OMAPFB: create_framebuffers done OMAPFB: mgr->apply'ed Does anyone have any ideas why the test program doesn't display the menu that the docs says it should? Thanks for any help Rob Smith ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.872 / Virus Database: 271.1.1/3332 - Release Date: 12/22/10 19:34:00 |