odroid-xu4:application_note:software:hdmi_custom_edid

This is an old revision of the document!


HDMI Custom EDID Usage on XU4

For some specific monitors, unusual timing parameters in their EDID are used,
so the manual EDID binaries that are supported on XU4 kernel doesn't work with the monitors.
With this instructions, you can set your edid by force.
(TODO)

Get the edid from your monitor

First, you need to check all of videoconfig in boot.ini are blocked with comment character “#“
and HPD env is TRUE.

# -----------------------------------------------
# 1920x1080 (1080P) without monitor data using generic information (1080p-noedid)
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/1920x1080.bin"
# -----------------------------------------------
.....
.....
# -----------------------------------------------
# 480x320 without monitor data using generic information
# setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x320.bin"
# -----------------------------------------------

#------------------------------------------------------------------------------
#
# HDMI Hot Plug detection
#
#------------------------------------------------------------------------------
setenv HPD true"

Then, make sure to reboot your XU4.

target
$ sudo reboot

Now, you can read the monitor's EDID from the following node.

/sys/class/drm/card0/card0-HDMI-A-1/edid

Copy edid into /lib/firmware/

Copy the edid binary into /lib/firmware/ directory.

target
$ cat /sys/class/drm/card0/card0-HDMI-A-1/edid > /lib/firmware/custom_edid.bin

Or, if you have custom edid binary that you want to use, copy it into the same directory.

Add custom edid path in boot.ini

Add the edid binary name in boot.ini with drm_kms_helper_parameter.

setenv videoconfig "drm_kms_helper.edid_firmware=custom_edid.bin"

Then, reboot.

target
$ sudo reboot

Confirm

  • odroid-xu4/application_note/software/hdmi_custom_edid.1516329211.txt.gz
  • Last modified: 2018/01/19 11:03
  • by joy.cho