Skip to content

iMX7 Video

vraevsky edited this page Feb 7, 2020 · 3 revisions

Table of Contents

  1. Rotation
  2. Reported Modes
  3. Current resolution
  4. Boot Parameters

imx7 console rotation

  • kernel config
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
  • kernel boot parameter must have this:
fbcon=rotate:1

For more details about the fbcon parameters refer to: https://www.kernel.org/doc/Documentation/fb/fbcon.txt

  • xorg.conf
Section "Device"
    Identifier  "Kernel Framebuffer Device"
    Driver      "fbdev"
    Option      "fbdev" "/dev/fb0"
    Option      "Rotate" "CW"
EndSection

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
EndSection
  • weston.ini
...
[output]
name=fbdev
transform=90
...

Reported Modes

cat /sys/class/graphics/fb0/modes

Current resolution

fbset

Boot parameters for supported display modes

Supported display modes:

  • dvi1280x720 - 1280X720 DVI.
  • dvi1280x1024 - 1280X1024 DVI.
  • dvi1920x1080 - 1920X1080 DVI.
  • dvi1024x768 or dvi (default) - 1024X768 DVI.

Follow this procedure in order to set a supported mode, for instance a maximum available 1920x1080:

  1. Reboot the device & stop in U-Boot.
  2. Issue:
env default -a
setenv displaytype dvi1920x1080
saveenv

cl-som-imx8

ucm-imx8m-mini

Clone this wiki locally