All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Orange Pi HDMI to VGA output
@ 2017-08-13 14:32 apin prastya
  2017-09-04 21:50 ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: apin prastya @ 2017-08-13 14:32 UTC (permalink / raw)
  To: buildroot

Hello All,

I have successfully build the orangepi_one_defconfig. And able to boot and
output to serial console.
Its been a while I struggle with the HDMI output (I am using HDMI to VGA
converter) and no success to make the console output to HDMI.

Here what i have done so far :

   1. enable sunxi board on buildroot config and set the .fex to
   a20/orangepi.fex (attached orangepi.fex)
   2. modify the boot.cmd to : setenv bootargs console=ttyS0,115200
   console=tty0 console=tty1 hdmi.audio=EDID:0
   disp.screen0_output_mode=1280x720p60 root=/dev/mmcblk0p2 rootwait panic=10

Anyone has clue to enable HDMI output please let me know.
Thanks,

-- 
Apin,
Indonesia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170813/562c3d68/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orangepi.fex
Type: application/octet-stream
Size: 28490 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170813/562c3d68/attachment.obj>

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

* [Buildroot] Orange Pi HDMI to VGA output
  2017-08-13 14:32 [Buildroot] Orange Pi HDMI to VGA output apin prastya
@ 2017-09-04 21:50 ` Peter Korsgaard
  2017-09-05  9:41   ` Kurt Van Dijck
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2017-09-04 21:50 UTC (permalink / raw)
  To: buildroot

>>>>> "apin" == apin prastya <apin.klas@gmail.com> writes:

 > Hello All,
 > I have successfully build the orangepi_one_defconfig. And able to boot and
 > output to serial console.
 > Its been a while I struggle with the HDMI output (I am using HDMI to VGA
 > converter) and no success to make the console output to HDMI.

 > Here what i have done so far :

 >    1. enable sunxi board on buildroot config and set the .fex to
 >    a20/orangepi.fex (attached orangepi.fex)
 >    2. modify the boot.cmd to : setenv bootargs console=ttyS0,115200
 >    console=tty0 console=tty1 hdmi.audio=EDID:0
 >    disp.screen0_output_mode=1280x720p60 root=/dev/mmcblk0p2 rootwait panic=10

 > Anyone has clue to enable HDMI output please let me know.
 > Thanks,

The orangepi_one_defconfig uses the mainline Linux kernel, which doesn't
support the HDMI output yet or use .fex files, so this won't work.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Orange Pi HDMI to VGA output
  2017-09-04 21:50 ` Peter Korsgaard
@ 2017-09-05  9:41   ` Kurt Van Dijck
  2017-09-05 10:33     ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Kurt Van Dijck @ 2017-09-05  9:41 UTC (permalink / raw)
  To: buildroot

> >>>>> "apin" == apin prastya <apin.klas@gmail.com> writes:
> 
>  > Hello All,
>  > I have successfully build the orangepi_one_defconfig. And able to boot and
>  > output to serial console.
>  > Its been a while I struggle with the HDMI output (I am using HDMI to VGA
>  > converter) and no success to make the console output to HDMI.
> 
>  > Here what i have done so far :
> 
>  >    1. enable sunxi board on buildroot config and set the .fex to
>  >    a20/orangepi.fex (attached orangepi.fex)
>  >    2. modify the boot.cmd to : setenv bootargs console=ttyS0,115200
>  >    console=tty0 console=tty1 hdmi.audio=EDID:0
>  >    disp.screen0_output_mode=1280x720p60 root=/dev/mmcblk0p2 rootwait panic=10
> 
>  > Anyone has clue to enable HDMI output please let me know.
>  > Thanks,
> 
> The orangepi_one_defconfig uses the mainline Linux kernel, which doesn't
> support the HDMI output yet or use .fex files, so this won't work.
> 

My experience with HDMI to VGA convertors, on a beaglebone:

an "HDMI to VGA" convertor needs power.
An HDMI port provides, per spec, up to 10mA or so.
So, if you're using such HDMI to VGA convertor:
The beaglebone has a polyfuse to enforce this current limit.
Then the HDMI to VGA will never actually power up and fail to
emit VGA signal.
I once managed to succeed here with bypassing the polyfuse with a wire.
Again, this experience was on a beaglebone!
Peters comment above still applies :-)

Kind regards,
Kurt

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

* [Buildroot] Orange Pi HDMI to VGA output
  2017-09-05  9:41   ` Kurt Van Dijck
@ 2017-09-05 10:33     ` Peter Korsgaard
  2017-09-06 16:06       ` Julien CORJON
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2017-09-05 10:33 UTC (permalink / raw)
  To: buildroot

>>>>> "Kurt" == Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> writes:

Hi,

 > My experience with HDMI to VGA convertors, on a beaglebone:

 > an "HDMI to VGA" convertor needs power.
 > An HDMI port provides, per spec, up to 10mA or so.
 > So, if you're using such HDMI to VGA convertor:
 > The beaglebone has a polyfuse to enforce this current limit.
 > Then the HDMI to VGA will never actually power up and fail to
 > emit VGA signal.
 > I once managed to succeed here with bypassing the polyfuse with a wire.

Alternatively, the HDMI-to-VGA adapters I've seen typically can be
powered through USB (sometimes not exposed on the outside though).

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Orange Pi HDMI to VGA output
  2017-09-05 10:33     ` Peter Korsgaard
@ 2017-09-06 16:06       ` Julien CORJON
  2017-10-02 15:18         ` apin prastya
  0 siblings, 1 reply; 6+ messages in thread
From: Julien CORJON @ 2017-09-06 16:06 UTC (permalink / raw)
  To: buildroot

Hi,

Le 05/09/2017 ? 12:33, Peter Korsgaard a ?crit :
>>>>>> "Kurt" == Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> writes:
> 
> Hi,
> 
>   > My experience with HDMI to VGA convertors, on a beaglebone:
> 
>   > an "HDMI to VGA" convertor needs power.
>   > An HDMI port provides, per spec, up to 10mA or so.
>   > So, if you're using such HDMI to VGA convertor:
>   > The beaglebone has a polyfuse to enforce this current limit.
>   > Then the HDMI to VGA will never actually power up and fail to
>   > emit VGA signal.
>   > I once managed to succeed here with bypassing the polyfuse with a wire.
> 
> Alternatively, the HDMI-to-VGA adapters I've seen typically can be
> powered through USB (sometimes not exposed on the outside though).
> 

I'm also trying to make a HDMI to VGA converter on an i.MX6 and just 
discovered that most of them only support CEA resolutions [1]... 
(720p,1080p, etc.)

This can be the issue with your 1280x720 resolution.

I would recommend to take a look in /sys/class/graphics/fbX/modes to see 
the resolution negociated with your dongle.

Kind regards,

Julien

[1] https://en.wikipedia.org/wiki/Extended_Display_Identification_Data

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

* [Buildroot] Orange Pi HDMI to VGA output
  2017-09-06 16:06       ` Julien CORJON
@ 2017-10-02 15:18         ` apin prastya
  0 siblings, 0 replies; 6+ messages in thread
From: apin prastya @ 2017-10-02 15:18 UTC (permalink / raw)
  To: buildroot

I was able to make an output to HDMI and using HDMI to VGA converter.
Using this kernel : https://github.com/megous/linux/tree/orange-pi-4.13

But the problem comes that the fb is outside the monitor (way too left).
And here the modes :
# cat /sys/class/graphics/fb0/modes
U:1920x1080p-0

For the height of the monitor is correct, but the width is wrong.
Already set screen resolution : disp.screen0_output_mode=EDID:1280x1024p60.
But not working.

On Wed, Sep 6, 2017 at 11:06 PM, Julien CORJON <corjon.j@ecagroup.com>
wrote:

> Hi,
>
> Le 05/09/2017 ? 12:33, Peter Korsgaard a ?crit :
> >>>>>> "Kurt" == Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be> writes:
> >
> > Hi,
> >
> >   > My experience with HDMI to VGA convertors, on a beaglebone:
> >
> >   > an "HDMI to VGA" convertor needs power.
> >   > An HDMI port provides, per spec, up to 10mA or so.
> >   > So, if you're using such HDMI to VGA convertor:
> >   > The beaglebone has a polyfuse to enforce this current limit.
> >   > Then the HDMI to VGA will never actually power up and fail to
> >   > emit VGA signal.
> >   > I once managed to succeed here with bypassing the polyfuse with a
> wire.
> >
> > Alternatively, the HDMI-to-VGA adapters I've seen typically can be
> > powered through USB (sometimes not exposed on the outside though).
> >
>
> I'm also trying to make a HDMI to VGA converter on an i.MX6 and just
> discovered that most of them only support CEA resolutions [1]...
> (720p,1080p, etc.)
>
> This can be the issue with your 1280x720 resolution.
>
> I would recommend to take a look in /sys/class/graphics/fbX/modes to see
> the resolution negociated with your dongle.
>
> Kind regards,
>
> Julien
>
> [1] https://en.wikipedia.org/wiki/Extended_Display_Identification_Data




-- 
Apin,
Indonesia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171002/30e070f1/attachment.html>

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

end of thread, other threads:[~2017-10-02 15:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-13 14:32 [Buildroot] Orange Pi HDMI to VGA output apin prastya
2017-09-04 21:50 ` Peter Korsgaard
2017-09-05  9:41   ` Kurt Van Dijck
2017-09-05 10:33     ` Peter Korsgaard
2017-09-06 16:06       ` Julien CORJON
2017-10-02 15:18         ` apin prastya

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.