Date: Thu, 19 Feb 2015 08:47:49 +0100 From: Milan Obuch <freebsd-arm@dino.sk> To: Johny Mattsson <johny.mattsson+fbsd@gmail.com> Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi Videocore interfaces question - Raspberry Camera [added: picamera port shar] Message-ID: <20150219084749.224227b1@zeta.dino.sk> In-Reply-To: <CAGW5k5bYA-HUF6n5=-sQV0kxWnHhzgf6kq6oP-dnFqmaUyQWXw@mail.gmail.com> References: <20150216083503.7789c619@zeta.dino.sk> <0B74DE06-1F46-49E0-B27D-EABFAB1104E3@bluezbox.com> <20150216101651.630cfc2b@zeta.dino.sk> <CAJwjRmROhyk9k7-sC=VRV0wikZj9HO2Vv66M7ZY7h_Kv3tPBKg@mail.gmail.com> <20150219001203.7a1ae3e9@zeta.dino.sk> <A3915A66-84E6-4F4D-B947-7AC369BDB0C0@bluezbox.com> <20150219074736.7bf9b106@zeta.dino.sk> <CAGW5k5bYA-HUF6n5=-sQV0kxWnHhzgf6kq6oP-dnFqmaUyQWXw@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Thu, 19 Feb 2015 18:04:02 +1100 Johny Mattsson <johny.mattsson+fbsd@gmail.com> wrote: > On 19 February 2015 at 17:47, Milan Obuch <freebsd-arm@dino.sk> 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 [-- Attachment #2 --] # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-descr # echo x - Makefile sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965' X# Created by: Milan Obuch X# $FreeBSD$ X XPORTNAME= picamera XPORTVERSION= 1.9 XCATEGORIES= multimedia python X#MASTER_SITES= http://phantom.dragonsdawn.net/~gordon/courier-patches/courier-pythonfilter/ X XMAINTAINER= bsd@dino.sk X#COMMENT= Framework for courier filter development in python X X#BUILD_DEPENDS= courier-config:${PORTSDIR}/mail/courier X XUSES= python XUSE_PYTHON= distutils autoplist X X.include <bsd.port.pre.mk> X XPYDISTUTILS_INSTALLARGS:=${PYDISTUTILS_INSTALLARGS} --install-scripts=${PYSCRIPTSDIR} X X.include <bsd.port.post.mk> b67911656ef5d18c4ae36cb6741b7965 echo x - distinfo sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f' XSHA256 (picamera-1.9.tar.gz) = a288be95b5b5beff88bf4dc9126635edcef8aca4c425c9df9a63a5dc04db0fdd XSIZE (picamera-1.9.tar.gz) = 84063 57677d168a5ec21bdf22c9501f075a8f echo x - pkg-descr sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979' Xpython Pi camera interface 7f9555c3c1089940396b503dd37f3979 exithome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150219084749.224227b1>
