From owner-freebsd-arm@FreeBSD.ORG Wed Feb 18 23:47:13 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C7382E5 for ; Wed, 18 Feb 2015 23:47:13 +0000 (UTC) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E3472A2 for ; Wed, 18 Feb 2015 23:47:11 +0000 (UTC) Received: from [208.184.220.60] (helo=macbook-air-2.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1YOEKa-000H7o-CM; Wed, 18 Feb 2015 15:47:02 -0800 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: Raspberry Pi Videocore interfaces question - Raspberry Camera From: Oleksandr Tymoshenko In-Reply-To: <20150219001203.7a1ae3e9@zeta.dino.sk> Date: Wed, 18 Feb 2015 15:46:27 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150216083503.7789c619@zeta.dino.sk> <0B74DE06-1F46-49E0-B27D-EABFAB1104E3@bluezbox.com> <20150216101651.630cfc2b@zeta.dino.sk> <20150219001203.7a1ae3e9@zeta.dino.sk> To: Milan Obuch X-Mailer: Apple Mail (2.2070.6) Sender: gonzo@id.bluezbox.com X-Spam-Level: / X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Feb 18, 2015, at 3:12 PM, Milan Obuch wrote: > > On Mon, 16 Feb 2015 10:20:20 +0100 > Mikaƫl Urankar wrote: > >> 2015-02-16 10:16 GMT+01:00 Milan Obuch : >>> Hi, Gonzo, >>> >>> thanks for fast response! I will try it on my Pi as soon as >>> currently running upgrade is done. >>> >>> Do I understand it right I should just download the whole repository >>> and then run 'buildme.freebsd'? >> >> Hi, >> >> I've made a port for raspberrypi-userland based on NetBSD one: >> http://mikael.urankar.free.fr/FreeBSD/raspberrypi-userland.shar > > Hello, > > 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 > > assertion failure:/usr/ports/misc/raspberrypi-userland/work/gonzoua-userland-11ffc75/interface/vmcs_host/vc_vchi_dispmanx.c:200:vc_vchi_dispmanx_init():success == 0 > > 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. > > 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: [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: dino.sk] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 T_FRT_ABSOLUT BODY: ReplaceTags: Absolutely 2.7 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: Wed, 18 Feb 2015 23:47:13 -0000 > On Feb 18, 2015, at 3:12 PM, Milan Obuch wrote: >=20 > On Mon, 16 Feb 2015 10:20:20 +0100 > Mika=C3=ABl Urankar wrote: >=20 >> 2015-02-16 10:16 GMT+01:00 Milan Obuch : >>> Hi, Gonzo, >>>=20 >>> thanks for fast response! I will try it on my Pi as soon as >>> currently running upgrade is done. >>>=20 >>> Do I understand it right I should just download the whole repository >>> and then run 'buildme.freebsd'? >>=20 >> 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-11ffc75= /interface/vmcs_host/vc_vchi_dispmanx.c:200:vc_vchi_dispmanx_init():succes= s =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: I do not have device handy to test it right now but I=E2=80=99ll do it = soon. For now could you try /opt/vc/src/hello_pi/hello_dispmanx to check if it = works? 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 = the case with camera too?=20