Difference between revisions of "HBW test/test"

From ESS-WIKI
Jump to: navigation, search
(config u-boot env)
(config u-boot env)
Line 34: Line 34:
  
 
== config u-boot env ==
 
== config u-boot env ==
=== add correct lvds panel ===
+
=== switch to Multi-display or LVDS ===
 
break countdown in u-boot
 
break countdown in u-boot
 +
* Multi-display (HDMI + LVDS)
 +
<syntaxhighlight lang="bash">
 +
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo display-hdmi.dtbo display-lvds.dtbo"
 +
</syntaxhighlight>
 +
: note: LVDS is always major display
  
 +
* LVDS only
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
# dual display - HDMI (minor) + LVDS (EDID 6) (major)
+
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo display-lvds.dtbo"
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo display-hdmi.dtbo display-lvds6.dtbo"
 
 
 
# single display only - LVDS (EDID 6)
 
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo display-lvds6.dtbo"
 
 
 
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 11:15, 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

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

switch to Multi-display or LVDS

break countdown in u-boot

  • Multi-display (HDMI + LVDS)
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo display-hdmi.dtbo display-lvds.dtbo"
note: LVDS is always major display
  • LVDS only
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo display-lvds.dtbo"