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

Next revision
Previous revision
odroid-xu4:application_note:software:hdmi_custom_edid [2018/01/19 10:24]
joy.cho created
odroid-xu4:application_note:software:hdmi_custom_edid [2021/03/18 15:33] (current)
joy.cho
Line 1: Line 1:
-====== HDMI Custom EDID ======+====== How to use HDMI Custom EDID on XU4 ====== 
 +\\ 
 +=== 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. 
 +<code> 
 +# ----------------------------------------------- 
 +# 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" 
 +# -----------------------------------------------
  
-TODO+#------------------------------------------------------------------------------ 
 +
 +# 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.1516326896.txt.gz
  • Last modified: 2018/01/19 10:24
  • by joy.cho