All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Nelson <eric.nelson@boundarydevices.com>
To: Gary Thomas <gary@mlbassoc.com>,
	 "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>
Subject: Re: HDMI on i.MX6
Date: Mon, 02 Jun 2014 14:03:23 -0700	[thread overview]
Message-ID: <538CE69B.1090709@boundarydevices.com> (raw)
In-Reply-To: <538CD96B.6070800@mlbassoc.com>

Hi Gary,

On 06/02/2014 01:07 PM, Gary Thomas wrote:
> I have some questions about HDMI display on i.MX6, the
> SabreLite / Nitrogen6x in particular.
>
> When I boot with my HDMI monitor attached, U-Boot finds it
> and tells me:
>    auto-detected panel HDMI
>    Display: HDMI (1024x768)
>

This is done because the display clocking is currently wonky
in U-Boot (you can have any frequency as long as it's the same
as the Hannstar display).

> Then Linux is booted with these arguments:
>    video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24

;) We chose that resolution just to mess with you.

This is currently hard-coded in the boot script here:

	https://github.com/boundarydevices/u-boot-imx6/blob/production/board/boundary/nitrogen6x/6x_bootscript-yocto.txt#L15

> I know that these parameters come from the boot script, but
> they seem to be hard coded.  What if I wanted different display
> parameters?  These values don't seem to work very well for my
> monitor - stuff is being cut off on all edges.  Perhaps my
> monitior isn't the best so I'd like some guidance on how to
> tune things.  I've attached a picture of the actual screen
> so you can see what I mean.
>

No problem. You can figure out what resolution works well with
your display by echo'ing values to /sys/class/graphics/fb0/mode
(cat /sys/class/graphics/fb0/modes for the values supported
by your monitor).

Then you can update the boot script .txt file and convert to
binary using this tool:

	http://git.boundarydevices.com/bootscript.php

In order to integrate with a Yocto build, you'll want to
generate a patch that overrides things in u-boot-script-boundary:
	https://github.com/Freescale/meta-fsl-arm-extra/blob/master/recipes-bsp/u-boot/u-boot-script-boundary_git.bb

Regards,


Eric


      reply	other threads:[~2014-06-02 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 20:07 HDMI on i.MX6 Gary Thomas
2014-06-02 21:03 ` Eric Nelson [this message]

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=538CE69B.1090709@boundarydevices.com \
    --to=eric.nelson@boundarydevices.com \
    --cc=gary@mlbassoc.com \
    --cc=meta-freescale@yoctoproject.org \
    /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 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.