From owner-freebsd-arm@FreeBSD.ORG Thu Feb 19 07:51:10 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98CB8F38 for ; Thu, 19 Feb 2015 07:51:10 +0000 (UTC) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 57FDECBD for ; Thu, 19 Feb 2015 07:51:10 +0000 (UTC) Received: by mail-ig0-f175.google.com with SMTP id hn18so42265511igb.2 for ; Wed, 18 Feb 2015 23:51:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=R9NwxnZfgfZCwmDBcb4/YXaimflro5gGNDNfRxflb/U=; b=Z18g3PSzKsMO7uum/enOu3kAulsg1dlNn5M4Hsx438IX0S/2jT7hht39+fRB0gi32a 5mks1oAxs9+cJPJ71NXcg1j3UsCqz4NFdxt4zGlPGedjr1gl0Flz6J9ua7DvZ3NND+C2 /PZRLsdqfMIv+65LPFXPbaNQsLQ4Ogx7K1dpplTkpkGoXo4UNFSvTFCzeeYAcZf/9Fd2 lsXkOWUvSScd+xGNTae+4Fo9oGtXDfTd5ccuVxlPz3Yg4lbF4MVcYh1q2SArTL+TJJIB bTD4QnWOPatMux0rZsKqr+leSf1j/MTC9umopntsZYz3T9fKXRE04cjGd/oP7RlOC4lX SlhA== MIME-Version: 1.0 X-Received: by 10.107.136.230 with SMTP id s99mr4525693ioi.8.1424332269740; Wed, 18 Feb 2015 23:51:09 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.17.66 with HTTP; Wed, 18 Feb 2015 23:51:09 -0800 (PST) In-Reply-To: <20150219084749.224227b1@zeta.dino.sk> References: <20150216083503.7789c619@zeta.dino.sk> <0B74DE06-1F46-49E0-B27D-EABFAB1104E3@bluezbox.com> <20150216101651.630cfc2b@zeta.dino.sk> <20150219001203.7a1ae3e9@zeta.dino.sk> <20150219074736.7bf9b106@zeta.dino.sk> <20150219084749.224227b1@zeta.dino.sk> Date: Wed, 18 Feb 2015 23:51:09 -0800 X-Google-Sender-Auth: XFkjWJHSLdy1pgWejE_8R5zU5bg Message-ID: Subject: Re: Raspberry Pi Videocore interfaces question - Raspberry Camera [added: picamera port shar] From: Adrian Chadd To: Milan Obuch Content-Type: text/plain; charset=UTF-8 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: Thu, 19 Feb 2015 07:51:10 -0000 Hi! Would you please file a PR with what you've found? That way the uboot-rpi port can be updated and the raspberry pi build scripts/documentation can also get updated. Thanks! -a On 18 February 2015 at 23:47, Milan Obuch wrote: > On Thu, 19 Feb 2015 18:04:02 +1100 > Johny Mattsson wrote: > >> On 19 February 2015 at 17:47, Milan Obuch 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 > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"