From owner-freebsd-arm@freebsd.org Fri Nov 29 13:56:55 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A5DF1B151C for ; Fri, 29 Nov 2019 13:56:55 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from mx.i11.co (mx.i11.co [159.69.78.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47PbfG5nYXz3wc6 for ; Fri, 29 Nov 2019 13:56:54 +0000 (UTC) (envelope-from nikolay.kostirya@i11.co) Received: from [82.207.42.188] (helo=thinkpad) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iaglR-0006Ao-AJ; Fri, 29 Nov 2019 13:56:53 +0000 Date: Fri, 29 Nov 2019 15:56:51 +0200 From: Nick Kostirya To: Oleksandr Tymoshenko Cc: freebsd-arm@freebsd.org Subject: Re: Does Camera Module with OV5640 Chip worked on ARM FreeBSD 12.1 Message-ID: <20191129155651.12189b11@thinkpad> In-Reply-To: <20191127202058.GA91514@bluezbox.com> References: <20191126101301.5cb6c6df@thinkpad> <20191127202058.GA91514@bluezbox.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i386-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 47PbfG5nYXz3wc6 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-1.96)[ip: (-9.41), ipnet: 159.69.0.0/16(1.20), asn: 24940(-1.58), country: DE(-0.01)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[i11.co:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2019 13:56:55 -0000 On Wed, 27 Nov 2019 12:20:58 -0800 Oleksandr Tymoshenko wrote: > Nick Kostirya via freebsd-arm (freebsd-arm@freebsd.org) wrote: > > Hello. > > > > Could you tell me, please? > > Does Camera Module with OV5640 Chip work on ARM FreeBSD 12.1? > > It's DVP interface camera, not USB. > > If so, what is needed for this? > > > > https://www.friendlyarm.com/index.php?route=product/product&path=78&product_id=155 > > I don't think we have required drivers for this. Several things > are required to make it work: > - Driver for the OV5640 chip, ususally it's controlled over I2C > - Driver for the SoC block that handles actual pixel data path. For > this product it's DVP, the other common interface is MIPI/CSI. This > driver needs to be visible to userland as V4L2 device > (/dev/videoN). It also needs to have some glue code to talk to the OV5640 > (or any other sensor) driver to control the sensor parameters. > > As far as I know FreeBSD doesn't have support for neither of these things at > the moment. Thanks. I will look at USB cameras.