meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: "Fabio Estevam" <festevam@gmail.com>
To: Terry Barnaby <terry@beam.ltd.uk>
Cc: meta-freescale@lists.yoctoproject.org
Subject: Re: [meta-freescale] Wandboard WB-IMX6U-BW CAM-OV5645 camera
Date: Thu, 18 Feb 2021 22:19:17 -0300	[thread overview]
Message-ID: <CAOMZO5DV8CSn=QzSvULwodnExXTB0sYqjGaUgFWD7pyE1mo8wA@mail.gmail.com> (raw)
In-Reply-To: <65132729-750d-76a0-bd7f-52add3bb9212@beam.ltd.uk>

Hi Terry,

On Wed, Feb 17, 2021 at 2:32 AM Terry Barnaby <terry@beam.ltd.uk> 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 <terry@beam.ltd.uk> 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.io but using what I thought would be the latest GIT using "repo init -u https://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 the 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 supported 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/4c13a4db60b4d570ea8cc496d02e5ea31adf27f0

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

  reply	other threads:[~2021-02-19  1:19 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16  8:39 Wandboard WB-IMX6U-BW CAM-OV5645 camera Terry Barnaby
2021-02-16 20:46 ` [meta-freescale] " Otavio Salvador
2021-02-16 20:55 ` Fabio Estevam
2021-02-17  5:31   ` Terry Barnaby
2021-02-19  1:19     ` Fabio Estevam [this message]
2021-02-19  7:24       ` Terry Barnaby
2021-02-19 11:09         ` Fabio Estevam
2021-02-19 12:59           ` Andrey Zhizhikin
2021-02-19 13:28             ` Terry Barnaby
2021-02-19 13:34               ` Andrey Zhizhikin
2021-02-19 13:45                 ` Terry Barnaby
2021-02-19 15:22             ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOMZO5DV8CSn=QzSvULwodnExXTB0sYqjGaUgFWD7pyE1mo8wA@mail.gmail.com' \
    --to=festevam@gmail.com \
    --cc=meta-freescale@lists.yoctoproject.org \
    --cc=terry@beam.ltd.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).