From owner-freebsd-arm@FreeBSD.ORG Mon Feb 16 07:40:17 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 7A593894 for ; Mon, 16 Feb 2015 07:40:17 +0000 (UTC) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB417C2D for ; Mon, 16 Feb 2015 07:40:16 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Mon, 16 Feb 2015 08:35:04 +0100 id 0036FD70.54E19DA8.0000A5C8 Date: Mon, 16 Feb 2015 08:35:03 +0100 From: Milan Obuch To: freebsd-arm@freebsd.org Subject: Raspberry Pi Videocore interfaces question - Raspberry Camera Message-ID: <20150216083503.7789c619@zeta.dino.sk> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i386-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 07:40:17 -0000 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? Regards, Milan