Difference between revisions of "How to config Multi-Display for rk3288 series Debian9"

From ESS-WIKI
Jump to: navigation, search
(Created page with "RSB-4680 surport 3 display ports : eDP、LVDS、HDMI . Only two ports work at the same time . You can config Multi-Display to eDP + HDMI 、eDP + LVDS、LVDS + HDMI ....")
 
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
RSB-4680 surport 3 display ports : eDP、LVDS、HDMI . Only two ports work at the same time .  
+
RSB-4680 surport 3 display ports : eDP、LVDS、HDMI . Only two ports work at the same time .
  
 
You can config Multi-Display to eDP + HDMI 、eDP + LVDS、LVDS + HDMI .
 
You can config Multi-Display to eDP + HDMI 、eDP + LVDS、LVDS + HDMI .
  
Enter "ctrl + c" key when in u-boot in Terminal , and input the following cammand to config Multi-Display.
+
== Enter U-boot interrupt mode ==
 +
 
 +
Connect device to debug port, and open debug console. See more : [[How_to_debug]].
 +
 
 +
Press "ctrl + c" key before power up the device, until get the following information on debug console : 
 +
<pre>Hit any key to stop autoboot: 0
 +
=> <INTERRUPT>
 +
=></pre>
 +
 
 +
Then you can&nbsp;input the following cammand to config Multi-Display.
 +
 
 +
<!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjI2OTktMTU1MjAyNzg3OTMwNSIsImJsb2NrVHlwZSI6ImhlYWRpbmciLCJzdHlsZXMiOnsiYWxpZ24iOiJsZWZ0IiwiaW5kZW50IjowLCJ0ZXh0LWluZGVudCI6MCwibGluZS1oZWlnaHQiOjEuNzUsImJhY2stY29sb3IiOiIiLCJwYWRkaW5nIjoiIn0sInR5cGUiOiJoZWFkaW5nIiwicmljaFRleHQiOnsiZGF0YSI6W3siY2hhciI6IkgifSx7ImNoYXIiOiJpIn0seyJjaGFyIjoidCJ9LHsiY2hhciI6IiAifSx7ImNoYXIiOiJhIn0seyJjaGFyIjoibiJ9LHsiY2hhciI6InkifSx7ImNoYXIiOiIgIn0seyJjaGFyIjoiayJ9LHsiY2hhciI6ImUifSx7ImNoYXIiOiJ5In0se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Ijp7ImFsaWduIjoibGVmdCIsImluZGVudCI6MCwidGV4dC1pbmRlbnQiOjAsImxpbmUtaGVpZ2h0IjoxLjc1LCJiYWNrLWNvbG9yIjoiIiwicGFkZGluZyI6IiJ9LCJ0eXBlIjoicGFyYWdyYXBoIiwicmljaFRleHQiOnsiZGF0YSI6W3siY2hhciI6Ij0ifSx7ImNoYXIiOiI+In0seyJjaGFyIjoiICJ9XSwiaXNSaWNoVGV4dCI6dHJ1ZSwia2VlcExpbmVCcmVhayI6dHJ1ZX19XQ==-->
  
 
== eDP + HDMI ==
 
== eDP + HDMI ==
 +
<pre>setenv prmry_screen edp-1920x1080
 +
setenv extend_screen hdmi-default
 +
saveenv
 +
reset
 +
</pre>
 +
  
setenv prmry_screen edp-1920x1080<br/>setenv extend_screen hdmi-default<br/>saveenv<br/>reset
 
  
 
== eDP + LVDS ==
 
== eDP + LVDS ==
 
+
<pre>setenv prmry_screen edp-1920x1080
setenv prmry_screen edp-1920x1080<br/>setenv extend_screen lvds-g070vw01<br/>saveenv<br/>reset
+
setenv extend_screen lvds-g070vw01
 +
saveenv
 +
reset
 +
</pre>
  
 
== LVDS + HDMI ==
 
== LVDS + HDMI ==
 
+
<pre>setenv prmry_screen hdmi-default
setenv prmry_screen hdmi-default<br/>setenv extend_screen lvds-g070vw01<br/>saveenv<br/>reset
+
setenv extend_screen lvds-g070vw01
 +
saveenv
 +
reset
 +
</pre>
  
 
== Default Support Display ==
 
== Default Support Display ==
  
{| border="0" cellpadding="0" cellspacing="0" width="387"
+
{| border="1" cellspacing="1" cellpadding="1" style="width: 408px;"
|- height="19"
+
|-
| height="19" width="138" | '''Port'''
+
| style="width: 124px;" | <span style="color:#FF0000;">'''Port'''</span>
| width="249" | '''RSB4680'''
+
| style="width: 124px;" | <span style="color:#FF0000;">'''RSB4680'''</span>
|- height="19"
+
| style="width: 142px;" | <span style="color:#FF0000;">'''USM110'''</span>
| rowspan="3" height="57" | edp
+
|-
| edp-1920x1200
+
| style="width: 124px;" | edp
|- height="19"
+
| style="width: 124px;" | edp-1920x1200<br/>edp-1920x1080<br/>edp-1024x768<br/>
| height="19" | edp-1920x1080
+
| style="width: 142px;" | edp-1920x1080<br/>edp-1280x720<br/>edp-1024x768<br/>edp-720x480<br/>edp-640x480<br/>
|- height="19"
+
|-
| height="19" | edp-1024x768
+
| style="width: 124px;" | lvds
|- height="19"
+
| style="width: 124px;" | lvds-g070vw01<br/>lvds-idk1110wp<br/>lvds-g150xgel05<br/>lvds-g215hvn01<br/>lvds-p460hvn02<br/>
| rowspan="4" height="76" | lvds
+
| style="width: 142px;" | NA
| lvds-g070vw01
+
|-
|- height="19"
+
| style="width: 124px;" | hdmi
| height="19" | lvds-g150xgel05
+
| style="width: 124px;" | hdmi-default<br/>
|- height="19"
+
| style="width: 142px;" | hdmi-default<br/>
| height="19" | lvds-g215hvn01
 
|- height="19"
 
| height="19" | lvds-p460hvn02
 
|- height="19"
 
| height="19" | hdmi
 
| hdmi-default
 
 
|}
 
|}
 +
 +
<br/>'''NOTE&nbsp;:&nbsp;'''
 +
 +
1. The name of the panel must begin with "edp-"、"lvds-" or "hdmi-" .
 +
 +
And it can be found in "kernel/include/dt-bindings/display/screen-timing/{LCDNAME}.dtsi" like&nbsp;:
 +
 +
lvds_g070vw01: <span style="color:#FF0000;">'''lvds-g070vw01'''</span>
 +
 +
2. If there is no configuration, you will get default setting&nbsp;:
 +
 +
edp-default (edp-1920x1080) and&nbsp;hdmi-default as default setting.
 +
 +
3. Check your configuration in Terminal or debug console.
 +
<pre>cat /proc/cmdline
 +
... prmry_screen=edp-1920x1080 extend_screen=hdmi-default
 +
</pre>

Latest revision as of 08:35, 25 March 2019

RSB-4680 surport 3 display ports : eDP、LVDS、HDMI . Only two ports work at the same time .

You can config Multi-Display to eDP + HDMI 、eDP + LVDS、LVDS + HDMI .

Enter U-boot interrupt mode

Connect device to debug port, and open debug console. See more : How_to_debug.

Press "ctrl + c" key before power up the device, until get the following information on debug console : 

Hit any key to stop autoboot: 0
=> <INTERRUPT>
=>

Then you can input the following cammand to config Multi-Display.


eDP + HDMI

setenv prmry_screen edp-1920x1080
setenv extend_screen hdmi-default
saveenv
reset


eDP + LVDS

setenv prmry_screen edp-1920x1080
setenv extend_screen lvds-g070vw01
saveenv
reset

LVDS + HDMI

setenv prmry_screen hdmi-default
setenv extend_screen lvds-g070vw01
saveenv
reset

Default Support Display

Port RSB4680 USM110
edp edp-1920x1200
edp-1920x1080
edp-1024x768
edp-1920x1080
edp-1280x720
edp-1024x768
edp-720x480
edp-640x480
lvds lvds-g070vw01
lvds-idk1110wp
lvds-g150xgel05
lvds-g215hvn01
lvds-p460hvn02
NA
hdmi hdmi-default
hdmi-default


NOTE : 

1. The name of the panel must begin with "edp-"、"lvds-" or "hdmi-" .

And it can be found in "kernel/include/dt-bindings/display/screen-timing/{LCDNAME}.dtsi" like :

lvds_g070vw01: lvds-g070vw01

2. If there is no configuration, you will get default setting :

edp-default (edp-1920x1080) and hdmi-default as default setting.

3. Check your configuration in Terminal or debug console.

cat /proc/cmdline
... prmry_screen=edp-1920x1080 extend_screen=hdmi-default