From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by mx.groups.io with SMTP id smtpd.web08.14727.1613508966951312675 for ; Tue, 16 Feb 2021 12:56:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UDRjkkGF; spf=pass (domain: gmail.com, ip: 209.85.208.171, mailfrom: festevam@gmail.com) Received: by mail-lj1-f171.google.com with SMTP id g11so13580902ljj.7 for ; Tue, 16 Feb 2021 12:56:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Bct7r0nkJ2ZDISBHB1Rxz7fp7hMuRk1sAx3fuPYxOCM=; b=UDRjkkGF5YknKZZyKPo+P487Q0H3q5+kX+kFL848yrWoJbrRl0gUfFAtpnn1IoHiPp yhyAcp42ABJOucxCIN71tym24j0JQ5wDK33GJEUxX/qd15RH0wjsVPX/iYGYb2OgmKM8 owz0l5wglyJRxdd1/lKG9sP3qHTZQMQuOuBDfN5SZXVvyxDoHP/wkzUFdop0emntyTal qbtB1hANfRS8HSn0Tkxey4DmQXf6NMfPkUubFopk6Dehh1rl7ht+J0p4KS7n5ie7NSJL igJ/rGuy5bB0AIVALWB1m7eXhfc6t/dk+z9zO0KmaQo0pmBSAM9Stpl4luakue79MqrL HOaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Bct7r0nkJ2ZDISBHB1Rxz7fp7hMuRk1sAx3fuPYxOCM=; b=khT3gm95PW5jrOstCPeo8zWRaH9o9PPm4FH/6xLtXCNxSi0hx7zpltHLpd8G5+EQhA +4lxZB/L03TOf4ufFUDi4Rw9axHBU+uC40dwv1gxaDJNAcI4Aa9AYk4f98YyDX3Hh/GW s1/jaFGJVeapGZ/SSpCb+KBVEhOfan64RYNZi15aA9LvgvOz6k7hTWsSlJTcvJ18eycX QM8HUzAUesU1teMc87GN3pTlOwhf4rXJtWD05XMjDwbS8jkGhUHLhU9EPzFEF7q2PQNk Bbka29BmL9i78EUoFgc2v408fRgoWYMTLhNIOupu2N21ZHZSwO5Ao1RqO6f/Drg+ocSM mp2Q== X-Gm-Message-State: AOAM532UqhCzhq0DsGUgaHRefKH7motIYvufAOpbYyYEjxynsSV3IJuk I9gVaMpv7d4BDIStfsAfzs3FHOYUbozcRu1QWdg= X-Google-Smtp-Source: ABdhPJyFvFiuNQ/U90sx2Y/WknDcXua26rMR56uNm0gYbf7o3M2ISqPtk3srbV1G4zROZ/wUuDNJrpu9iZMji5+nCHQ= X-Received: by 2002:a2e:a550:: with SMTP id e16mr12727904ljn.264.1613508965032; Tue, 16 Feb 2021 12:56:05 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Fabio Estevam" Date: Tue, 16 Feb 2021 17:55:53 -0300 Message-ID: Subject: Re: [meta-freescale] Wandboard WB-IMX6U-BW CAM-OV5645 camera To: Terry Barnaby Cc: meta-freescale@lists.yoctoproject.org Content-Type: text/plain; charset="UTF-8" Hi Terry, On Tue, Feb 16, 2021 at 5:39 AM Terry Barnaby wrote: > > Hi, > > I am trying to get the CAM-OV5645 MIPI-CSI camera interface working on a > WB-IMX6U-BW board for a development experiment. However, I'm not having > much luck with many different Linux "distribution" installs and info on > the Wandboard WB-IMX6U-BW and CAM-OV5645 camera seems very hard to get > hold of. The camera also does not appear to work on a PICO-PI-IMX8-PRO > board. I get kernel messages like those listed at the bottom of this > email. I guess the camera module may be faulty, (it is new), or there > may have been hardware changes. The kernel is not seeing the OV5645 on > the I2C-2 bus although the ov5645 kernel driver module is loaded. This > is just a check to see if anyone can shed any light on this ? > > Also the WB-IMX6U-BW board is a revD1 board. However I note that the > current freescale.github.io Yocto build appears to consider it a revB1 Which U-Boot version is this? Can you try U-Boot 2021.01? > board and both uboot and the kernel tries to use the > imx6dl-wandboard-revb1.dtb rather than the imx6dl-wandboard-revd1.dtb. > As a quick hack I have copied imx6dl-wandboard-revd1.dtb over > imx6dl-wandboard-revb1.dtb in /boot for the kernel but not touched > uboot. The Linux boots fine with this (The Ethernet was not working with > imx6dl-wandboard-revb1.dtb). Not sure what is wrong here ? > > Also anyone know of any sources of information as the wandboard.org site > does not seem to be active/maintained (no forums, not contacts etc.) ? > > Terry > > Yocto http://freescale.github.io build: > [ 5.667968] coda 2040000.vpu: Firmware code revision: 46076 > [ 5.673786] coda 2040000.vpu: Initialized CODA960. > [ 5.678626] coda 2040000.vpu: Firmware version: 3.1.1 > [ 5.714096] coda 2040000.vpu: encoder registered as video4 > [ 5.714250] imx-sdma 20ec000.sdma: loaded firmware 3.5 > [ 5.728100] coda 2040000.vpu: decoder registered as video5 > [ 5.970899] ov5645 1-003c: ov5645_write_reg: write reg error -6: > reg=3a19, val=f8 I don't recall getting these I2C failures. Which kernel version is this? I tested camera capture recently on Wandboard with a mainline kernel and it worked well. Regards, Fabio Estevam