Difference between revisions of "HBW test/test"
From ESS-WIKI
(→config u-boot env) |
|||
Line 15: | Line 15: | ||
==Convert EDID config to hex value== | ==Convert EDID config to hex value== | ||
+ | (use g070vw01v0.bin as example below) | ||
+ | <syntaxhighlight lang="bash"> | ||
+ | EDIDBIN=g070vw01v0.bin | ||
+ | xxd -c 16 -ps $EDIDBIN | sed "s/../0x& /g; s/ *$//" | ||
+ | </syntaxhighlight> | ||
==Convert hex value to i2cset command list== | ==Convert hex value to i2cset command list== |
Revision as of 11:32, 28 December 2023
Prerequisites
On Host PC
- LVDS panel's EDID config (128 bytes)
- (optional) one utility to edit EDID config
- PTN3460 Programming Guide
On RSB-3810
- i2c-tools installed
sudo apt update
sudo apt install i2c-tools
Convert EDID config to hex value
(use g070vw01v0.bin as example below)
EDIDBIN=g070vw01v0.bin
xxd -c 16 -ps $EDIDBIN | sed "s/../0x& /g; s/ *$//"
Convert hex value to i2cset command list
Add i2c command for PTN3460
run the script
flash new firmware.vfat
get and extract update_edid.tgz
tar xvf update_edid.tgz
flash u-boot env & firmware (dtb)
genio-flash mmc0boot1 firmware firmware_b
config u-boot env to ebable LVDS display
(choose 1,3,4,5 or 6 as a new EDID, use 6 as example below)
break countdown in u-boot
- Multi-display (HDMI + LVDS)
- The LVDS is always major display that has nothing to do with the specified order.
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo hdmi.dtbo lvds6.dtbo"
saveenv
reset
- LVDS only
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo lvds6.dtbo"
saveenv
reset