diff --git a/Software/Development/OperatingSystem/Linux/Kernel/Modules/DRM/EDID/EDID_修改和参数说明.md b/Software/Development/OperatingSystem/Linux/Kernel/Modules/DRM/EDID/EDID_修改和参数说明.md index ee9f5b1..40e6635 100644 --- a/Software/Development/OperatingSystem/Linux/Kernel/Modules/DRM/EDID/EDID_修改和参数说明.md +++ b/Software/Development/OperatingSystem/Linux/Kernel/Modules/DRM/EDID/EDID_修改和参数说明.md @@ -131,7 +131,7 @@ file. After the make procedure is repeated, the EDID data set is ready to be used. ``` -## 5.外部参考资料 +## 6.外部参考资料 1. 2. diff --git a/Software/Development/OperatingSystem/Linux/Kernel/Modules/DRM/EDID/Kernel_EDID_配置.md b/Software/Development/OperatingSystem/Linux/Kernel/Modules/DRM/EDID/Kernel_EDID_配置.md index 7959014..857306b 100644 --- a/Software/Development/OperatingSystem/Linux/Kernel/Modules/DRM/EDID/Kernel_EDID_配置.md +++ b/Software/Development/OperatingSystem/Linux/Kernel/Modules/DRM/EDID/Kernel_EDID_配置.md @@ -2,17 +2,19 @@ 以 1920x720 为例。 -## 编译参数配置 +## 1.编译参数配置 config 如下: -```cpp -CONFIG_EXTRA_FIRMWARE="1920x720.bin" -CONFIG_EXTRA_FIRMWARE_DIR="Documentation/EDID" +```bash CONFIG_DRM_LOAD_EDID_FIRMWARE=y +# Built-in firmware +# CONFIG_FIRMWARE_IN_KERNEL=y +# CONFIG_EXTRA_FIRMWARE="1920x720.bin 1920x1080.bin" +# CONFIG_EXTRA_FIRMWARE_DIR="firmware" // this means 1920x720.bin and 1920x1080.bin are in $(source_dir)/firmware ``` -## Uboot 传参 +## 2.Uboot 传参 ```bash setenv mmcargs 'setenv bootargs console=${console},${baudrate} root=${mmcroot} drm_kms_helper.edid_firmware=HDMI-A-1:1920x720.bin drm.debug=0x06' @@ -20,7 +22,7 @@ setenv mmcargs 'setenv bootargs console=${console},${baudrate} root=${mmcroot} d drm_kms_helper.edid_firmware=HDMI-A-1:1920x720.bin,HDMI-A-2:1920x720.bin ``` -1920x720.bin 应存在于(Linux 固件目录) 或 /vendor/etc/firmware(Android)目录下。 +1920x720.bin 应存在于 /lib/firmware/(for Linux) 或 /vendor/etc/firmware(for Android)目录下。 drm.debug=0x06 为 log 开关,对应文件 drivers/gpu/drm/drm_drv.c,其部分内容如下: