From owner-freebsd-arm@FreeBSD.ORG Thu Feb 19 07:47:54 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ACA90DB8 for ; Thu, 19 Feb 2015 07:47:54 +0000 (UTC) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 50C4DC0D for ; Thu, 19 Feb 2015 07:47:53 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Thu, 19 Feb 2015 08:47:50 +0100 id 0036FE55.54E59526.000036BF Date: Thu, 19 Feb 2015 08:47:49 +0100 From: Milan Obuch To: Johny Mattsson Subject: Re: Raspberry Pi Videocore interfaces question - Raspberry Camera [added: picamera port shar] Message-ID: <20150219084749.224227b1@zeta.dino.sk> In-Reply-To: References: <20150216083503.7789c619@zeta.dino.sk> <0B74DE06-1F46-49E0-B27D-EABFAB1104E3@bluezbox.com> <20150216101651.630cfc2b@zeta.dino.sk> <20150219001203.7a1ae3e9@zeta.dino.sk> <20150219074736.7bf9b106@zeta.dino.sk> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i386-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_mailhost.netlabit.sk-14015-1424332070-0001-2" Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 07:47:54 -0000 This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_mailhost.netlabit.sk-14015-1424332070-0001-2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, 19 Feb 2015 18:04:02 +1100 Johny Mattsson wrote: > On 19 February 2015 at 17:47, Milan Obuch wrote: > > > ... > > raspistill -o test.jpg > > mmal: mmal_vc_component_create: failed to create component > > 'vc.ril.camera' (1:ENOMEM) mmal: mmal_component_create_core: could > > not create component 'vc.ril.camera' (1) mmal: Failed to create > > camera component mmal: main: Failed to create camera component > > mmal: Camera is not enabled in this build. Try running "sudo > > raspi-config" and ensure that "camera" has been enabled > > > > Put the line > start_x=1 > in your /boot/config.txt, then reboot. That should instruct the GPU > firmware to enable the camera. > > You might also need to ensure you have the start_x.elf/fixup_x.dat > files in your /boot; the latest firmware is available here: > https://github.com/raspberrypi/firmware/tree/master/boot > > Cheers, > /Johny Yesss! Thank you! It works now! I tested both raspistill from userland utilities and simple python script with picamera. Both does produce some picture. It needs more testing, some mechanical assembly etc. to be usefull, but all that's doable. Just for fun, maybe someone could use it, I made a port of picamera python module - you can find more about it on page I found it. http://www.raspberrypi.org/picamera-pure-python-interface-for-camera-module/ Big thanks for everyone's help. It really made my tests much easier and less time consumming. Regards, Milan --=_mailhost.netlabit.sk-14015-1424332070-0001-2 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=picamera.shar IyBUaGlzIGlzIGEgc2hlbGwgYXJjaGl2ZS4gIFNhdmUgaXQgaW4gYSBmaWxlLCByZW1vdmUgYW55 dGhpbmcgYmVmb3JlDQojIHRoaXMgbGluZSwgYW5kIHRoZW4gdW5wYWNrIGl0IGJ5IGVudGVyaW5n ICJzaCBmaWxlIi4gIE5vdGUsIGl0IG1heQ0KIyBjcmVhdGUgZGlyZWN0b3JpZXM7IGZpbGVzIGFu ZCBkaXJlY3RvcmllcyB3aWxsIGJlIG93bmVkIGJ5IHlvdSBhbmQNC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