Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <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

--=_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
ZCBkaXJlY3RvcmllcyB3aWxsIGJlIG93bmVkIGJ5IHlvdSBhbmQNCiMgaGF2ZSBkZWZhdWx0IHBl
cm1pc3Npb25zLg0KIw0KIyBUaGlzIGFyY2hpdmUgY29udGFpbnM6DQojDQojCU1ha2VmaWxlDQoj
CWRpc3RpbmZvDQojCXBrZy1kZXNjcg0KIw0KZWNobyB4IC0gTWFrZWZpbGUNCnNlZCAncy9eWC8v
JyA+TWFrZWZpbGUgPDwgJ2I2NzkxMTY1NmVmNWQxOGM0YWUzNmNiNjc0MWI3OTY1Jw0KWCMgQ3Jl
YXRlZCBieTogTWlsYW4gT2J1Y2gNClgjICRGcmVlQlNEJA0KWA0KWFBPUlROQU1FPQlwaWNhbWVy
YQ0KWFB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1MDFmMDc1YThmDQplY2hv
IHggLSBwa2ctZGVzY3INCnNlZCAncy9eWC8vJyA+cGtnLWRlc2NyIDw8ICc3Zjk1NTVjM2MxMDg5
OTQwMzk2YjUwM2RkMzdmMzk3OScNClhweXRob24gUGkgY2FtZXJhIGludGVyZmFjZQ0KN2Y5NTU1
YzNjMTA4OTk0MDM5NmI1MDNkZDM3ZjM5NzkNCmV4aXQNCg0K

--=_mailhost.netlabit.sk-14015-1424332070-0001-2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150219084749.224227b1>