Date: Thu, 19 Feb 2015 07:47:36 +0100 From: Milan Obuch <freebsd-arm@dino.sk> To: Oleksandr Tymoshenko <gonzo@bluezbox.com> Cc: freebsd-arm@freebsd.org Subject: Re: Raspberry Pi Videocore interfaces question - Raspberry Camera Message-ID: <20150219074736.7bf9b106@zeta.dino.sk> In-Reply-To: <A3915A66-84E6-4F4D-B947-7AC369BDB0C0@bluezbox.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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Feb 2015 15:46:27 -0800 Oleksandr Tymoshenko <gonzo@bluezbox.com> wrote: > > On Feb 18, 2015, at 3:12 PM, Milan Obuch <freebsd-arm@dino.sk> > > wrote: > >=20 > > On Mon, 16 Feb 2015 10:20:20 +0100 > > Mika=C3=ABl Urankar <mikael.urankar@gmail.com> wrote: [ snip ] > >> Hi, > >>=20 > >> I've made a port for raspberrypi-userland based on NetBSD one: > >> http://mikael.urankar.free.fr/FreeBSD/raspberrypi-userland.shar > >=20 > > Hello, > >=20 > > I was able to build and install this port with no trouble, but it > > does not work for me. As I am interested now in camera, I tried > > raspistill first, which gives me following > >=20 > > assertion > > failure:/usr/ports/misc/raspberrypi-userland/work/gonzoua-userland-11ff= c75/interface/vmcs_host/vc_vchi_dispmanx.c:200:vc_vchi_dispmanx_init():succ= ess > > =3D=3D 0 > >=20 > > While it does clearly indicate where the error occurs, I have > > absolutelly no idea now what could be wrong and how to fix it. > > So if you think you know what I should try, please let me know. > >=20 > > Just if it could be relevant - I used 11-CURRENT r278801, kernel is > > stock RPI-B. In my /etc/src.conf I have following options set: >=20 > I do not have device handy to test it right now but I=E2=80=99ll do it so= on. >=20 > For now could you try /opt/vc/src/hello_pi/hello_dispmanx to check if > it works? > Unfortunatelly I can't - I used Mika=C3=ABl's port to compile the 'userland' utilities and examples are not compiled and for some reason my attempt to compile them failed. I'll investigate this if time permits. > Also how much memory did you assign to GPU? I saw OpenGL ES > stuff failing to initialized due to low GPU memory. May be it=E2=80=99s t= he > case with camera too?=20 >=20 Yes, that's definitely the case. After some guesswork and testing I found minimum GPU for camera is 128 MB. It is still not working, but fails in other way. 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 I have new board, the B+ one I will setup now, so I plan repeating Raspbian setup I did already, just not with SD card but microSD, and I will check what changes to videocore boot files in fat partition does 'sudo raspi-config'. Again, some time is necessary. Thanks for all the help provided so far. Regards, Milan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150219074736.7bf9b106>