Raspberry Pi Videocore interfaces question - Raspberry Camera [added: picamera port shar]

Milan Obuch freebsd-arm at dino.sk
Thu Feb 19 07:47:54 UTC 2015


On Thu, 19 Feb 2015 18:04:02 +1100
Johny Mattsson <johny.mattsson+fbsd at gmail.com> wrote:

> On 19 February 2015 at 17:47, Milan Obuch <freebsd-arm at 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
-------------- next part --------------
# 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 at 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
exit



More information about the freebsd-arm mailing list