All of lore.kernel.org
 help / color / mirror / Atom feed
* EDID on imx6 (was 'No HDMI video on imx6qsabresd with dizzy')
@ 2014-11-14  8:37 Andreas Müller
  2014-11-14 10:41 ` Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andreas Müller @ 2014-11-14  8:37 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale

Hi Nicolay,

I opened a new thread - my HDMI problems was unrelated to yours (and
your problem is solved).

On Thu, Nov 13, 2014 at 8:34 PM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> Hi guys,
>
> Thanks to Fabio the HDMI is now working. Here's how:
>
> 1. Disabled HDMI support in u-boot-fsl (actually disabled all video-
> related support, as it was easier/faster).
> 2. Added the usual video configuration to "mmcarg" env-var:
>
> video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
>
> 3. Booted the board (had to set mmcdev to 0 as I boot from SD2).
> 4. Observed that Xorg was running on the HDMI screen.
> 5. Played video via gstreamer and observed it's rendering on the screen
> without issues.
>
> After discussion with Andreas, I tested the following resolutions and
> they worked OK:
>
> - 640x480
> - 800x600
> - 1024x768
> - 1280x720
> (just don't have the time to test more as these were OK for my tests)
>
I am wondering: It seems I am the only one with fixed 640x480
resolution on unpatched freescale kernel.

For me to understand more: Could you enter the following on device's
console with one working environment and monitor connected during
boot:

for f in `find /sys -name edid`; do echo $f; cat $f; done

and send me the result. This would help me much to understand why I
need the patches attached in earlier email and you don't need them.

Thanks

Andreas


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EDID on imx6 (was 'No HDMI video on imx6qsabresd with dizzy')
  2014-11-14  8:37 EDID on imx6 (was 'No HDMI video on imx6qsabresd with dizzy') Andreas Müller
@ 2014-11-14 10:41 ` Otavio Salvador
  2014-11-14 11:33 ` Nikolay Dimitrov
  2014-11-14 22:09 ` Eric Nelson
  2 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2014-11-14 10:41 UTC (permalink / raw)
  To: Andreas Müller; +Cc: meta-freescale

On Fri, Nov 14, 2014 at 6:37 AM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
...
> I am wondering: It seems I am the only one with fixed 640x480
> resolution on unpatched freescale kernel.
>
> For me to understand more: Could you enter the following on device's
> console with one working environment and monitor connected during
> boot:

Does it helps?

https://github.com/boundarydevices/linux-imx6/commit/e801afb9ab51461d08390aceef63035adbcad1ad

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EDID on imx6 (was 'No HDMI video on imx6qsabresd with dizzy')
  2014-11-14  8:37 EDID on imx6 (was 'No HDMI video on imx6qsabresd with dizzy') Andreas Müller
  2014-11-14 10:41 ` Otavio Salvador
@ 2014-11-14 11:33 ` Nikolay Dimitrov
  2014-11-14 22:09 ` Eric Nelson
  2 siblings, 0 replies; 4+ messages in thread
From: Nikolay Dimitrov @ 2014-11-14 11:33 UTC (permalink / raw)
  To: Andreas Müller; +Cc: meta-freescale

Hi Andreas,

On 11/14/2014 10:37 AM, Andreas Müller wrote:
> For me to understand more: Could you enter the following on device's
> console with one working environment and monitor connected during
> boot:
>
> for f in `find /sys -name edid`; do echo $f; cat $f; done
>
> and send me the result. This would help me much to understand why I
> need the patches attached in earlier email and you don't need them.

I have 2 HDMI displays on my desk, so I'm sending you the EDID data for 
both of them.

7" mini-display:

/sys/devices/soc0/soc.1/20e0000.hdmi_video/edid
0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x4A 0x8B 0x54 0x4C 0x01 0x00 
0x00 0x00
0x0C 0x11 0x01 0x03 0x81 0x46 0x27 0x78 0x8A 0xA5 0x8E 0xA6 0x54 0x4A 
0x9C 0x26
0x12 0x45 0x46 0xAF 0xCF 0x00 0x95 0x00 0x95 0x0F 0x95 0x19 0x01 0x01 
0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x1D 0x00 0x72 0x51 0xD0 0x1E 0x20 
0x6E 0x28
0x55 0x00 0xB9 0x88 0x21 0x00 0x00 0x1E 0x8C 0x0A 0xD0 0x8A 0x20 0xE0 
0x2D 0x10
0x10 0x3E 0x96 0x00 0xB9 0x88 0x21 0x00 0x00 0x18 0x00 0x00 0x00 0xFD 
0x00 0x32
0x4B 0x18 0x3C 0x0B 0x00 0x0A 0x20 0x20 0x20 0x20 0x20 0x20 0x00 0x00 
0x00 0xFC
0x00 0x33 0x32 0x56 0x33 0x48 0x2D 0x48 0x36 0x41 0x0A 0x20 0x20 0x20 
0x01 0x29
0x02 0x03 0x21 0x71 0x4E 0x06 0x07 0x02 0x03 0x15 0x96 0x11 0x12 0x13 
0x04 0x14
0x05 0x1F 0x90 0x23 0x09 0x07 0x07 0x83 0x01 0x00 0x00 0x65 0x03 0x0C 
0x00 0x10
0x00 0x8C 0x0A 0xD0 0x90 0x20 0x40 0x31 0x20 0x0C 0x40 0x55 0x00 0xB9 
0x88 0x21
0x00 0x00 0x18 0x01 0x1D 0x80 0x18 0x71 0x1C 0x16 0x20 0x58 0x2C 0x25 
0x00 0xB9
0x88 0x21 0x00 0x00 0x9E 0x01 0x1D 0x80 0xD0 0x72 0x1C 0x16 0x20 0x10 
0x2C 0x25
0x80 0xB9 0x88 0x21 0x00 0x00 0x9E 0x01 0x1D 0x00 0xBC 0x52 0xD0 0x1E 
0x20 0xB8
0x28 0x55 0x40 0xB9 0x88 0x21 0x00 0x00 0x1E 0x02 0x3A 0x80 0xD0 0x72 
0x38 0x2D
0x40 0x10 0x2C 0x45 0x80 0xB9 0x88 0x21 0x00 0x00 0x1E 0x00 0x00 0x00 
0x00 0xD0
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00

22" display:

/sys/devices/soc0/soc.1/20e0000.hdmi_video/edid
0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x41 0x0C 0x1B 0xC0 0x01 0x01 
0x01 0x01
0x10 0x11 0x01 0x03 0x80 0x35 0x1E 0x78 0x2E 0x78 0xF5 0xA6 0x55 0x48 
0x9B 0x26
0x12 0x50 0x54 0xBF 0xEF 0x80 0xB3 0x00 0xA9 0x40 0x95 0x00 0x90 0x40 
0x81 0x80
0x81 0x40 0x81 0xC0 0x71 0x4F 0x21 0x39 0x90 0x30 0x62 0x1A 0x27 0x40 
0x68 0xB0
0x36 0x00 0x10 0x29 0x21 0x00 0x00 0x1C 0x00 0x00 0x00 0xFF 0x00 0x43 
0x44 0x30
0x30 0x37 0x31 0x36 0x32 0x33 0x34 0x38 0x39 0x31 0x00 0x00 0x00 0xFC 
0x00 0x50
0x68 0x69 0x6C 0x69 0x70 0x73 0x20 0x32 0x32 0x30 0x58 0x57 0x00 0x00 
0x00 0xFD
0x00 0x38 0x4C 0x1E 0x5D 0x11 0x00 0x0A 0x20 0x20 0x20 0x20 0x20 0x20 
0x01 0x93
0x02 0x03 0x1E 0xF2 0x4B 0x05 0x04 0x03 0x01 0x12 0x13 0x14 0x16 0x07 
0x10 0x1F
0x23 0x09 0x07 0x07 0x83 0x01 0x00 0x00 0x65 0x03 0x0C 0x00 0x10 0x00 
0xF3 0x39
0x80 0x18 0x71 0x38 0x2D 0x40 0x58 0x2C 0x45 0x00 0xC4 0x8E 0x21 0x00 
0x00 0x1E
0xF3 0x39 0x80 0xD0 0x72 0x38 0x2D 0x40 0x10 0x2C 0x45 0x80 0xC4 0x8E 
0x21 0x00
0x00 0x1E 0x01 0x1D 0x80 0x18 0x71 0x1C 0x16 0x20 0x58 0x2C 0x25 0x00 
0xC4 0x8E
0x21 0x00 0x00 0x9E 0x01 0x1D 0x00 0x72 0x51 0xD0 0x1E 0x20 0x6E 0x28 
0x55 0x00
0xC4 0x8E 0x21 0x00 0x00 0x1E 0xD6 0x09 0x80 0xA0 0x20 0xE0 0x2D 0x10 
0x08 0x60
0x22 0x00 0x12 0x8E 0x21 0x08 0x08 0x18 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x26
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0x00

Hope this helps. Regards,
Nikolay


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: EDID on imx6 (was 'No HDMI video on imx6qsabresd with dizzy')
  2014-11-14  8:37 EDID on imx6 (was 'No HDMI video on imx6qsabresd with dizzy') Andreas Müller
  2014-11-14 10:41 ` Otavio Salvador
  2014-11-14 11:33 ` Nikolay Dimitrov
@ 2014-11-14 22:09 ` Eric Nelson
  2 siblings, 0 replies; 4+ messages in thread
From: Eric Nelson @ 2014-11-14 22:09 UTC (permalink / raw)
  To: Andreas Müller, Nikolay Dimitrov; +Cc: meta-freescale

Hi Andreas,

On 11/14/2014 01:37 AM, Andreas Müller wrote:
> Hi Nicolay,
> 
> I opened a new thread - my HDMI problems was unrelated to yours (and
> your problem is solved).
> 
> On Thu, Nov 13, 2014 at 8:34 PM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>> Hi guys,
>>
>> Thanks to Fabio the HDMI is now working. Here's how:
>>
>> 1. Disabled HDMI support in u-boot-fsl (actually disabled all video-
>> related support, as it was easier/faster).
>> 2. Added the usual video configuration to "mmcarg" env-var:
>>
>> video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
>>
>> 3. Booted the board (had to set mmcdev to 0 as I boot from SD2).
>> 4. Observed that Xorg was running on the HDMI screen.
>> 5. Played video via gstreamer and observed it's rendering on the screen
>> without issues.
>>
>> After discussion with Andreas, I tested the following resolutions and
>> they worked OK:
>>
>> - 640x480
>> - 800x600
>> - 1024x768
>> - 1280x720
>> (just don't have the time to test more as these were OK for my tests)
>>
> I am wondering: It seems I am the only one with fixed 640x480
> resolution on unpatched freescale kernel.
> 
> For me to understand more: Could you enter the following on device's
> console with one working environment and monitor connected during
> boot:
> 
> for f in `find /sys -name edid`; do echo $f; cat $f; done
> 
> and send me the result. This would help me much to understand why I
> need the patches attached in earlier email and you don't need them.
> 

Here's the output from an LG monitor:

/sys/devices/soc0/soc.1/20e0000.hdmi_video/edid
0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x1E 0x6D 0xFB 0x56 0x01 0x01
0x01 0x01
0x03 0x13 0x01 0x03 0x80 0x33 0x1D 0x78 0x0A 0xAE 0xC5 0xA2 0x57 0x4A
0x9C 0x25
0x12 0x50 0x54 0xA7 0x6B 0x80 0xB3 0x00 0x81 0x8F 0x81 0x80 0x71 0x4F
0x01 0x01
0x01 0x01 0x01 0x01 0x01 0x01 0x1A 0x36 0x80 0xA0 0x70 0x38 0x1F 0x40
0x30 0x20
0x35 0x00 0xFE 0x22 0x11 0x00 0x00 0x1E 0x02 0x3A 0x80 0x18 0x71 0x38
0x2D 0x40
0x53 0x2C 0x45 0x00 0xFE 0x22 0x11 0x00 0x00 0x1E 0x00 0x00 0x00 0xFD
0x00 0x38
0x3D 0x1E 0x53 0x0F 0x00 0x0A 0x20 0x20 0x20 0x20 0x20 0x20 0x00 0x00
0x00 0xFC
0x00 0x57 0x32 0x33 0x36 0x31 0x0A 0x20 0x20 0x20 0x20 0x20 0x20 0x20
0x01 0x61
0x02 0x03 0x21 0xF1 0x4E 0x90 0x04 0x03 0x01 0x14 0x12 0x05 0x1F 0x10
0x13 0x00
0x00 0x00 0x00 0x23 0x09 0x07 0x07 0x83 0x01 0x00 0x00 0x65 0x03 0x0C
0x00 0x10
0x00 0x02 0x3A 0x80 0x18 0x71 0x38 0x2D 0x40 0x58 0x2C 0x45 0x00 0xFE
0x22 0x11
0x00 0x00 0x1E 0x01 0x1D 0x80 0x18 0x71 0x1C 0x16 0x20 0x58 0x2C 0x25
0x00 0xFE
0x22 0x11 0x00 0x00 0x9E 0x01 0x1D 0x00 0x72 0x51 0xD0 0x1E 0x20 0x6E
0x28 0x55
0x00 0xFE 0x22 0x11 0x00 0x00 0x1E 0x8C 0x0A 0xD0 0x8A 0x20 0xE0 0x2D
0x10 0x10
0x3E 0x96 0x00 0xFE 0x22 0x11 0x00 0x00 0x18 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0xDE
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00

Note that U-Boot also has support for reading and parsing EDID:

On our boards, you can grab the information as shown below:

U-Boot > i2c dev 1
Setting bus to 1
U-Boot > i2c edid 0x50
EDID version: 1.3
Product ID code: 56fb
Manufacturer: GSM
Serial number: 01010101
Manufactured in week: 3 year: 2009
Video input definition: digital signal, voltage level 0
Monitor is non-RGB
Maximum visible display size: 51 cm x 29 cm
Power management features: no active off, no suspend, no standby
Estabilished timings:
	720x400		70 Hz (VGA 640x400, IBM)
	640x480		60 Hz (VGA)
	640x480		75 Hz (VESA)
	800x600		56 Hz (VESA)
	800x600		60 Hz (VESA)
	800x600		75 Hz (VESA)
	832x624		75 Hz (Mac II)
	1024x768	60 Hz (VESA)
	1024x768	75 Hz (VESA)
	1280x1024	75 (VESA)
	1152x870	75 (Mac II)
Standard timings:
	1680x1050 	60 Hz
	1280x1024 	75 Hz
	1280x1024 	60 Hz
	1152x864 	75 Hz
	1920x1080 	59 Hz (detailed)
	1920x1080 	60 Hz (detailed)
Monitor range limits, horizontal sync: 30-83 kHz, vertical refresh:
56-61 Hz, max pixel clock: 150 MHz
Monitor name: W2361


I hope this helps,


Eric


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-14 22:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-14  8:37 EDID on imx6 (was 'No HDMI video on imx6qsabresd with dizzy') Andreas Müller
2014-11-14 10:41 ` Otavio Salvador
2014-11-14 11:33 ` Nikolay Dimitrov
2014-11-14 22:09 ` Eric Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.