odroid-xu4:application_note:software:hdmi_custom_edid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
odroid-xu4:application_note:software:hdmi_custom_edid [2018/01/19 10:50]
joy.cho
odroid-xu4:application_note:software:hdmi_custom_edid [2021/03/18 15:33] (current)
joy.cho
Line 1: Line 1:
-====== HDMI Custom EDID Usage on XU4 ====== +====== How to use HDMI Custom EDID on XU4 ====== 
- +\\ 
-For some specific monitors, unusual timing parameters in their EDID are used,\\ +=== Get the edid from your monitor === 
-so the manual EDID binaries that are supported on XU4 kernel doesn't work with the monitors.\\ +First, you need to check all of videoconfig in boot.ini are blocked with comment character "#"\\ 
-With this instructions, you can set your edid by force.\\ +and HPD env is TRUE.
-(TODO) +
- +
-==== How to Get the edid from your monitor ==== +
-First, you need to check all of videoconfig in boot.ini are blocked with comment character "#".+
 <code> <code>
 # ----------------------------------------------- # -----------------------------------------------
Line 18: Line 14:
 # 480x320 without monitor data using generic information # 480x320 without monitor data using generic information
 # setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x320.bin" # setenv videoconfig "drm_kms_helper.edid_firmware=edid/480x320.bin"
-</code> +# -----------------------------------------------
-Then, Reboot.\\ +
- +
- +
-==== Set-up Sequence ====+
  
 +#------------------------------------------------------------------------------
 +#
 +# HDMI Hot Plug detection
 +#
 +#------------------------------------------------------------------------------
 +setenv HPD "true"
  
 +</code>
 +Then, make sure to reboot your XU4.\\
 +<code bash target>
 +$ sudo reboot
 +</code>
 +Now, you can read the monitor's EDID from the following node.
 +<code>
 +/sys/class/drm/card0/card0-HDMI-A-1/edid
 +</code>
 +\\
 +=== Copy edid into /lib/firmware/ ===
 +Copy the edid binary into /lib/firmware/ directory.
 +<code bash target>
 +$ cat /sys/class/drm/card0/card0-HDMI-A-1/edid > /lib/firmware/custom_edid.bin
 +</code>
 +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.
 +<code>
 +setenv videoconfig "drm_kms_helper.edid_firmware=custom_edid.bin"
  
 +setenv HPD "false"
 +</code>
 +Then, reboot.
 +<code bash target>
 +$ sudo reboot
 +</code>
 +\\
 +=== Check if it works ===
 +Now the edid is running and you can check it with these nodes.
 +<code bash target>
 +$ cat /sys/module/drm_kms_helper/parameters/edid_firmware 
 +custom_edid.bin
 +</code>
 +And the display mode list from the edid is shown here.
 +<code bash target>
 +$ cat /sys/class/drm/card0-HDMI-A-1/modes
 +</code>
  
  • odroid-xu4/application_note/software/hdmi_custom_edid.1516328401.txt.gz
  • Last modified: 2018/01/19 10:50
  • by joy.cho