From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) by mx.groups.io with SMTP id smtpd.web10.2650.1613697571112373231 for ; Thu, 18 Feb 2021 17:19:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TzlaEjaa; spf=pass (domain: gmail.com, ip: 209.85.208.172, mailfrom: festevam@gmail.com) Received: by mail-lj1-f172.google.com with SMTP id e17so10461340ljl.8 for ; Thu, 18 Feb 2021 17:19:30 -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:content-transfer-encoding; bh=PCBuOJlCLkWlO+4LEtcHj5axP7HWwFc8VeN1PO/DeqA=; b=TzlaEjaa6TtkppcqjKe62PNFsGxKu5EIp9VpZ1ZdCMEeuytMzz6VNtze/sLlq/0eQ+ OoUc0ZC1ZDQuNgBqyynTTUKfHYnY+7qvNZg+qtF2/AFgHR8NTe3PZFF6xGs++OaM2XhF J/XaLQbCyUHeUW3PZXI327UCdBdfkPtkkEQxQRJTonyt6+bcYsbDcREs7RIjJ4RHQbN5 KjHLGe89NxwJRoIZ6AZhzwvWZa3PRDbG/Jyc4C7+k91EKfJuPDmXC2NltExMafYpTNkN LdnAGa4mhcYZjuKY7wN5R0K+jOVxfa1dCaXnQaCA9Y7TN9WXj54OPgoHTQ56XuHfcn0r z7KQ== 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:content-transfer-encoding; bh=PCBuOJlCLkWlO+4LEtcHj5axP7HWwFc8VeN1PO/DeqA=; b=k+YuPWZzTvlmmqMc0lHrMfj0h40MOmdzsPnZjFgeO4KvaKQUpYorSjqDcRycxbvK/V VrELEFUGGvtCMUgPcYeeU6DRs08ORx6EYEAQ0jBi4EZHABC+QmAMID7wr6/Dp8M2Irgy hYeIULEAvNcNqNNR6vd9laBZUk8WOnh4mMlDc0TBJ5lp6DfNM0xut5o2tYOuM0OMbRhT ohcGNWPjDJ86KxJ0lI4S/wdT16EYI+IR55WbcjbXyoaFOrRJApj6oFOvS16bxalXvKhI JlFe/tLsOfG8LKTKU8dKMDmdvIS1KveZHiBi9hjI/wYIgTlbwDPG8XuIEndREXR/O8+s Op6Q== X-Gm-Message-State: AOAM531gyRvJK1iDgc5vLXaXuUIaLiqg8wCwjdiNi0DVJLc35q/AMxd4 /2L4ZMp7xk59xiTc928YH31IpCuzmIBDa6OOJug= X-Google-Smtp-Source: ABdhPJyOH5mFqbq382chi3zIB/+yqk0FREwyaeXeKfLEUFBdigvNu9Ku7hhzMAO+I7sVSeGFyqQSkKFX4E3pXs3nc5g= X-Received: by 2002:a05:6512:3884:: with SMTP id n4mr3909919lft.539.1613697569193; Thu, 18 Feb 2021 17:19:29 -0800 (PST) MIME-Version: 1.0 References: <65132729-750d-76a0-bd7f-52add3bb9212@beam.ltd.uk> In-Reply-To: <65132729-750d-76a0-bd7f-52add3bb9212@beam.ltd.uk> From: "Fabio Estevam" Date: Thu, 18 Feb 2021 22:19:17 -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" Content-Transfer-Encoding: quoted-printable Hi Terry, On Wed, Feb 17, 2021 at 2:32 AM Terry Barnaby wrote: > > Hi Fabio, > > Many thanks for your reply. Notes below: > > Terry > On 16/02/2021 20:55, Fabio Estevam wrote: > > 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? > > It was "U-Boot 2020.04+fslc+g88c58453be (Oct 13 2020 - 21:59:38 +0000)". = This is what was built using the instructions at: http://freescale.github.i= o but using what I thought would be the latest GIT using "repo init -u http= s://github.com/Freescale/fsl-community-bsp-platform" not the rocko branch. > > I have just downloaded the latest u-boot from its upstream GIT and built = "U-Boot 2021.04-rc2 (Feb 16 2021 - 12:47:43 +0000)" and that has detected t= he revD1 board and has info on the PMIC. Thanks for the heads up. Although = 2020.04 appeared to have code to check for the PMIC it looks like it only s= upported the quad processor variant not the dual lite. I don't have access to a imx6dl-wandboard revd1, but I thought that someone else has tested it for me when I fixed revd1 detection in this commit: https://gitlab.denx.de/u-boot/u-boot/-/commit/4c13a4db60b4d570ea8cc496d02e5= ea31adf27f0 If there is still issues, please let me know. > > As an aside, when building a Linux BSP for this or other iMX6/8 boards is= http://freescale.github.io the best starting point (being new to the iMX6/= 8 platforms) ? For i.MX6 I would go with upstream kernel. For i.MX8M, you may want to use the 5.4 branch maintained by Otavio and folks. > > 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.) ? I think the best route would be to ask in the U-Boot or Linux arm kernel mailing lists. Regards, Fabio Estevam