* HDMI on i.MX6
@ 2014-06-02 20:07 Gary Thomas
2014-06-02 21:03 ` Eric Nelson
0 siblings, 1 reply; 2+ messages in thread
From: Gary Thomas @ 2014-06-02 20:07 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 964 bytes --]
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)
Then Linux is booted with these arguments:
video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
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.
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
[-- Attachment #2: cut_off_hdmi.jpg --]
[-- Type: image/jpeg, Size: 206447 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: HDMI on i.MX6
2014-06-02 20:07 HDMI on i.MX6 Gary Thomas
@ 2014-06-02 21:03 ` Eric Nelson
0 siblings, 0 replies; 2+ messages in thread
From: Eric Nelson @ 2014-06-02 21:03 UTC (permalink / raw)
To: Gary Thomas, meta-freescale@yoctoproject.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-02 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-02 20:07 HDMI on i.MX6 Gary Thomas
2014-06-02 21:03 ` 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.