Re: MT9M131 on I.MX6DL CSI color issue

Florian Boor
2018-01-18T16:31:46Z

Hello Daniel,

On 18.01.2018 05:03, Daniel Glöckner wrote:
> The vertical lines tell me that videoparse format=5 is wrong. Since the
> U and V planes are so similar in the screenshot, it is most likely
> format 4 or 19.

okay - it gets more colorful with these at least :-)
See [1] and it looks quite similar with both format 4 and 19.

> But that does not explain the wraparounds. Can you rule out that the
> data lines have been connected in the wrong order?

According to the schematics and camera documentation I have the order of the
data lines is correct. I checked one more time... but I'm not sure if the
configuration of the parallel camera input is perfectly right.

The hardware uses CSI0 data lines 12 to 19 and so I used the configuration from
the SabreLite board:

&ipu1_csi0_from_ipu1_csi0_mux {
bus-width = <8>;
data-shift = <12>; /* Lines 19:12 used */
...

So what I did is to change data-shift to 0. This should cause unused lines to be
sampled but it did not change anything.
So even assuming it is correct per default some of the settings might never make
it to the hardware interface configuration.

Greetings

Florian

[1] http://www.kernelconcepts.de/~florian/screenshot2.png

--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-338857-29
[Robert Hutchings Goddard, 1904] florian.boor@kernelconcepts.de
http://www.kernelconcepts.de/en

kernel concepts GmbH
Hauptstraße 16
D-57074 Siegen
Geschäftsführer: Ole Reinhardt
HR Siegen, HR B 9613

--
The dream of yesterday Florian Boor
is the hope of today Tel: +49 271-771091-15
and the reality of tomorrow. Fax: +49 271-338857-29