From owner-freebsd-arm@FreeBSD.ORG Mon Feb 16 09:06:54 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 8B1BA419 for ; Mon, 16 Feb 2015 09:06:54 +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 F1FCB7E1 for ; Mon, 16 Feb 2015 09:06:53 +0000 (UTC) Received: from [24.130.144.214] (helo=[10.0.1.2]) by id.bluezbox.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1YNGwn-000EM1-9g; Mon, 16 Feb 2015 00:22:31 -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: <20150216083503.7789c619@zeta.dino.sk> Date: Mon, 16 Feb 2015 00:22:26 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <0B74DE06-1F46-49E0-B27D-EABFAB1104E3@bluezbox.com> References: <20150216083503.7789c619@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 15, 2015, at 11:35 PM, Milan Obuch wrote: > > Hi, > > I am currently doing a r276295 -> r278801 update on my Pi, I noticed > there is now VCHIQ interface in sources. Do we have any example how > this interface could be used? > > I would like to be able to use my raspberry camera under FreeBSD, but I > did not find anything done, however. I am able to rebuild raspistill et > al. from sources available at https://github.com/raspberrypi/userland > under raspbian linux, and would like to be able to do something similar > for FreeBSD. > > Also, there is python interface for this device available at > http://www.raspberrypi.org/picamera-pure-python-interface-for-camera-module/ > and I am able to build this one on my favorite OS, but this is not yet > a complete solution - both 'userland' C sources and picamera python > scripts uses mmal interface, which seems like not being available yet > for FreeBSD. > > My understanding is out VCHIQ interface was somehow ported from > 'userland' git repository, so it should be doable to port mmal > interface similarly, but as I have no idea how VCHIQ was done, I have > no idea how mmal interface could be ported. Is here anyone who could > help me with this task? Any pointers for more info about this? [...] 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: github.com] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.7 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org 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: Mon, 16 Feb 2015 09:06:54 -0000 > On Feb 15, 2015, at 11:35 PM, Milan Obuch wrote: >=20 > Hi, >=20 > I am currently doing a r276295 -> r278801 update on my Pi, I noticed > there is now VCHIQ interface in sources. Do we have any example how > this interface could be used? >=20 > I would like to be able to use my raspberry camera under FreeBSD, but = I > did not find anything done, however. I am able to rebuild raspistill = et > al. from sources available at https://github.com/raspberrypi/userland > under raspbian linux, and would like to be able to do something = similar > for FreeBSD. >=20 > Also, there is python interface for this device available at > = http://www.raspberrypi.org/picamera-pure-python-interface-for-camera-modul= e/ > and I am able to build this one on my favorite OS, but this is not yet > a complete solution - both 'userland' C sources and picamera python > scripts uses mmal interface, which seems like not being available yet > for FreeBSD. >=20 > My understanding is out VCHIQ interface was somehow ported from > 'userland' git repository, so it should be doable to port mmal > interface similarly, but as I have no idea how VCHIQ was done, I have > no idea how mmal interface could be ported. Is here anyone who could > help me with this task? Any pointers for more info about this? Hi Milan, There is FreeBSD port of =E2=80=9Cuserland=E2=80=9D repository mentioned = above: https://github.com/gonzoua/userland/tree/freebsd I am not sure if mmal interface is working properly, but majority=20 of demoes from hello_pi package run just fine on FreeBSD.=20 You can build this repo is on RPi or install xdev tools and = cross-compile it.=20