Difference between revisions of "HBW test/test"

From ESS-WIKI
Jump to: navigation, search
(config u-boot env)
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:How to add one new LVDS panel's EDID to PTN3460}}
+
{{DISPLAYTITLE:How to update kernel for hardware enablement}}
<div style="float:right;  position:fixed;  margin:0 1em 0 0;  top:200px;  right:10px;  max-height: 350px;  overflow: auto">__TOC__</div>
 
  
== Prerequisites ==
+
== Hardware Enablement ==
=== On Host PC ===
+
*RS-485
* LVDS panel's EDID config (128 bytes)
+
*TPM
* (optional) one utility to edit EDID config
+
*external watchdog
* PTN3460 Programming Guide
+
*ethernet switch (UIO-4036)
=== On RSB-3810 ===
 
* i2c-tools installed
 
<syntaxhighlight lang="bash">
 
sudo apt update
 
sudo apt install i2c-tools
 
</syntaxhighlight>
 
 
 
==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==
+
== Install Procedures ==
get and extract update_edid.tgz
+
=== fetch the following packages ===
 +
kernel (get these files from your contact window)
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
tar xvf update_edid.tgz
+
# linux-buildinfo-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
 +
# linux-headers-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
 +
# linux-image-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
 +
# linux-modules-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
 +
# linux-mtk-headers-5.15.0-1029_5.15.0-1029.33advantech1_all.deb
 
</syntaxhighlight>
 
</syntaxhighlight>
 
+
dependency
flash u-boot env & firmware (dtb)
 
<syntaxhighlight lang="bash">
 
genio-flash mmc0boot1 firmware firmware_b
 
</syntaxhighlight>
 
 
 
== config u-boot env ==
 
=== switch to Multi-display or LVDS ===
 
break countdown in u-boot
 
: (use EDID 6 as example)
 
* Multi-display (HDMI + LVDS)
 
: The LVDS is always major display that has nothing to do with the specified order.
 
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo hdmi.dtbo lvds6.dtbo"
+
wget https://ftp.fau.de/ubuntu-ports/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_arm64.deb
saveenv
 
reset
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
* LVDS only
+
=== install all fetched packages ===
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
setenv list_dbto "gpu-mali.dtbo video.dtbo apusys.dtbo lvds6.dtbo"
+
sudo dpkg -i *deb
saveenv
+
sudo reboot
reset
 
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 10:03, 26 January 2024


Hardware Enablement

  • RS-485
  • TPM
  • external watchdog
  • ethernet switch (UIO-4036)

Install Procedures

fetch the following packages

kernel (get these files from your contact window)

# linux-buildinfo-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
# linux-headers-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
# linux-image-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
# linux-modules-5.15.0-1029-mtk_5.15.0-1029.33advantech1_arm64.deb
# linux-mtk-headers-5.15.0-1029_5.15.0-1029.33advantech1_all.deb

dependency

wget https://ftp.fau.de/ubuntu-ports/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_arm64.deb

install all fetched packages

sudo dpkg -i *deb
sudo reboot