调整序号增加内容.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-09-16 17:14:49 +08:00
parent 140edd4e04
commit 04585d5c63
2 changed files with 9 additions and 7 deletions

View File

@ -131,7 +131,7 @@ file. After the make procedure is repeated, the EDID data set is ready
to be used. to be used.
``` ```
## 5.外部参考资料 ## 6.外部参考资料
1. <https://e2e.ti.com/support/processors/f/791/t/543371?jacinto6-hdmi-display-issue-with-drm-edid-> 1. <https://e2e.ti.com/support/processors/f/791/t/543371?jacinto6-hdmi-display-issue-with-drm-edid->
2. <https://unix.stackexchange.com/questions/97023/how-to-make-edid> 2. <https://unix.stackexchange.com/questions/97023/how-to-make-edid>

View File

@ -2,17 +2,19 @@
以 1920x720 为例。 以 1920x720 为例。
## 编译参数配置 ## 1.编译参数配置
config 如下: config 如下:
```cpp ```bash
CONFIG_EXTRA_FIRMWARE="1920x720.bin"
CONFIG_EXTRA_FIRMWARE_DIR="Documentation/EDID"
CONFIG_DRM_LOAD_EDID_FIRMWARE=y 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 ```bash
setenv mmcargs 'setenv bootargs console=${console},${baudrate} root=${mmcroot} drm_kms_helper.edid_firmware=HDMI-A-1:1920x720.bin drm.debug=0x06' 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 drm_kms_helper.edid_firmware=HDMI-A-1:1920x720.bin,HDMI-A-2:1920x720.bin
``` ```
1920x720.bin 应存在于Linux 固件目录 或 /vendor/etc/firmwareAndroid目录下。 1920x720.bin 应存在于 /lib/firmware/for Linux 或 /vendor/etc/firmwarefor Android目录下。
drm.debug=0x06 为 log 开关,对应文件 drivers/gpu/drm/drm_drv.c其部分内容如下 drm.debug=0x06 为 log 开关,对应文件 drivers/gpu/drm/drm_drv.c其部分内容如下