Difference between revisions of "How to Config Multi-Display for RK3399 RSB710"

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
RSB-4710 surport 4 display ports : eDP、LVDS(mipi to LVDS)、HDMI、DP (DP to HDMI). Only two ports work at the same time .
+
<p>RSB-4710&#160;surport 4&#160;display ports&#160;: eDP、LVDS(mipi to LVDS)、HDMI、DP&#160;(DP to HDMI).&#160;Only two ports work at the same time .
 
+
</p><p>You can config Multi-Display to eDP + HDMI 、eDP + LVDS、LVDS + HDMI 、eDP + DP、LVDS + DP、HDMI + DP.
You can config Multi-Display to eDP + HDMI 、eDP + LVDS、LVDS + HDMI 、eDP + DP、LVDS + DP、HDMI + DP.
+
</p><p><b>NOTE:</b>
 
+
</p><p>&#160; &#160; &#160; &#160; Android&#160;distinguish the primary and the extend screen.&#160;
'''NOTE:'''
+
</p>
 
+
<h2> Enter U-boot interrupt mode </h2>
&nbsp; &nbsp; &nbsp; &nbsp; Android&nbsp;distinguish the primary and the extend screen.&nbsp;
+
<p>Connect device to debug port, and open debug console. See more&#160;: <a href="How%20to%20debug%20for%20RK3399%20RSB4710">How_to_debug</a>.
 
+
</p><p>Press&#160;"ctrl + c" key before power up the device, until get the following information on debug console&#160;:&#160;
== Enter U-boot interrupt mode ==
+
</p>
 
+
Connect device to debug port, and open debug console. See more&nbsp;: [[How_to_debug_for_RK3399_RSB4710|How_to_debug]].
+
 
+
Press&nbsp;"ctrl + c" key before power up the device, until get the following information on debug console&nbsp;:&nbsp;
+
 
<pre>Hit any key to stop autoboot: 0
 
<pre>Hit any key to stop autoboot: 0
=> <INTERRUPT>
+
=&gt; &lt;INTERRUPT&gt;
=></pre>
+
=&gt;</pre>
 
+
<p>Then you can&#160;input the following cammand to config Multi-Display. <!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjI2OTktMTU1MjAyNzg3OTMwNSIsImJsb2NrVHlwZSI6ImhlYWRpbmciLCJzdHlsZXMiOnsiYWxpZ24iOiJsZWZ0Ii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HsiY2hhciI6IjwifSx7ImNoYXIiOiJJIn0seyJjaGFyIjoiTiJ9LHsiY2hhciI6IlQifSx7ImNoYXIiOiJFIn0seyJjaGFyIjoiUiJ9LHsiY2hhciI6IlIifSx7ImNoYXIiOiJVIn0seyJjaGFyIjoiUCJ9LHsiY2hhciI6IlQifSx7ImNoYXIiOiI+In1dLCJpc1JpY2hUZXh0Ijp0cnVlLCJrZWVwTGluZUJyZWFrIjp0cnVlfX0seyJibG9ja0lkIjoiMzAzMS0xNTUyMDI3OTU2OTQzIiwiYmxvY2tUeXBlIjoicGFyYWdyYXBoIiwic3R5bGVzIjp7ImFsaWduIjoibGVmdCIsImluZGVudCI6MCwidGV4dC1pbmRlbnQiOjAsImxpbmUtaGVpZ2h0IjoxLjc1LCJiYWNrLWNvbG9yIjoiIiwicGFkZGluZyI6IiJ9LCJ0eXBlIjoicGFyYWdyYXBoIiwicmljaFRleHQiOnsiZGF0YSI6W3siY2hhciI6Ij0ifSx7ImNoYXIiOiI+In0seyJjaGFyIjoiICJ9XSwiaXNSaWNoVGV4dCI6dHJ1ZSwia2VlcExpbmVCcmVhayI6dHJ1ZX19XQ==-->
Then you can&nbsp;input the following cammand to config Multi-Display. <!--5f39ae17-8c62-4a45-bc43-b32064c9388a:W3siYmxvY2tJZCI6IjI2OTktMTU1MjAyNzg3OTMwNSIsImJsb2NrVHlwZSI6ImhlYWRpbmciLCJzdHlsZXMiOnsiYWxpZ24iOiJsZWZ0IiwiaW5kZW50IjowLCJ0ZXh0LWluZGVudCI6MCwibGluZS1oZWlnaHQiOjEuNzUsImJhY2stY29sb3IiOiIiLCJwYWRkaW5nIjoiIn0sInR5cGUiOiJoZWFkaW5nIiwicmljaFRleHQiOnsiZGF0YSI6W3siY2hhciI6IkgifSx7ImNoYXIiOiJpIn0seyJjaGFyIjoidCJ9LHsiY2hhciI6IiAifSx7ImNoYXIiOiJhIn0seyJjaGFyIjoibiJ9LHsiY2hhciI6InkifSx7ImNoYXIiOiIgIn0sey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U2OTQzIiwiYmxvY2tUeXBlIjoicGFyYWdyYXBoIiwic3R5bGVzIjp7ImFsaWduIjoibGVmdCIsImluZGVudCI6MCwidGV4dC1pbmRlbnQiOjAsImxpbmUtaGVpZ2h0IjoxLjc1LCJiYWNrLWNvbG9yIjoiIiwicGFkZGluZyI6IiJ9LCJ0eXBlIjoicGFyYWdyYXBoIiwicmljaFRleHQiOnsiZGF0YSI6W3siY2hhciI6Ij0ifSx7ImNoYXIiOiI+In0seyJjaGFyIjoiICJ9XSwiaXNSaWNoVGV4dCI6dHJ1ZSwia2VlcExpbmVCcmVhayI6dHJ1ZX19XQ==-->
+
</p>
 
+
<h2> eDP + HDMI </h2>
== eDP + HDMI ==
+
 
<pre>setenv prmry_screen edp-1920x1080
 
<pre>setenv prmry_screen edp-1920x1080
 
setenv extend_screen hdmi-default
 
setenv extend_screen hdmi-default
Line 24: Line 19:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>
 
+
</p><p>or
 
+
</p>
or
+
 
<pre>setenv prmry_screen hdmi-default
 
<pre>setenv prmry_screen hdmi-default
 
setenv extend_screen edp-1920x1080
 
setenv extend_screen edp-1920x1080
Line 33: Line 27:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>
 
+
</p>
 
+
<h2> eDP + LVDS </h2>
== eDP + LVDS ==
+
 
<pre>setenv prmry_screen edp-1920x1080
 
<pre>setenv prmry_screen edp-1920x1080
 
setenv extend_screen lvds-g070vw01
 
setenv extend_screen lvds-g070vw01
Line 42: Line 35:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>or
or
+
</p>
 
<pre>setenv prmry_screen lvds-g070vw01
 
<pre>setenv prmry_screen lvds-g070vw01
 
setenv extend_screen edp-1920x1080  
 
setenv extend_screen edp-1920x1080  
Line 49: Line 42:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>
 
+
</p>
 
+
<h2> LVDS + HDMI </h2>
== LVDS + HDMI ==
+
 
<pre>setenv prmry_screen hdmi-default
 
<pre>setenv prmry_screen hdmi-default
 
setenv extend_screen lvds-g070vw01
 
setenv extend_screen lvds-g070vw01
Line 58: Line 50:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>or
or
+
</p>
 
<pre>setenv prmry_screen lvds-g070vw01
 
<pre>setenv prmry_screen lvds-g070vw01
 
​setenv extend_screen hdmi-default
 
​setenv extend_screen hdmi-default
Line 65: Line 57:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<h2> eDP + DP </h2>
== eDP + DP ==
+
 
<pre>setenv prmry_screen edp-1920x1080
 
<pre>setenv prmry_screen edp-1920x1080
 
setenv extend_screen dp-default
 
setenv extend_screen dp-default
Line 72: Line 63:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>
 
+
</p><p>or
 
+
</p>
or
+
 
<pre>setenv prmry_screen dp-default
 
<pre>setenv prmry_screen dp-default
 
setenv extend_screen edp-1920x1080
 
setenv extend_screen edp-1920x1080
Line 81: Line 71:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>
 
+
</p>
 
+
<h2> LVDS + DP </h2>
== LVDS + DP ==
+
 
<pre>setenv prmry_screen dp-default
 
<pre>setenv prmry_screen dp-default
 
setenv extend_screen lvds-g070vw01
 
setenv extend_screen lvds-g070vw01
Line 90: Line 79:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>or
or
+
</p>
 
<pre>setenv prmry_screen lvds-g070vw01
 
<pre>setenv prmry_screen lvds-g070vw01
 
setenv extend_screen dp-default  
 
setenv extend_screen dp-default  
Line 97: Line 86:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>
 
+
</p>
 
+
<h2> HDMI + DP </h2>
== HDMI + DP ==
+
 
<pre>setenv prmry_screen hdmi-default
 
<pre>setenv prmry_screen hdmi-default
 
setenv extend_screen dp-default
 
setenv extend_screen dp-default
Line 106: Line 94:
 
reset
 
reset
 
</pre>
 
</pre>
 
+
<p>or
or
+
</p>
 
<pre>setenv prmry_screen dp-fefault
 
<pre>setenv prmry_screen dp-fefault
 
​setenv extend_screen hdmi-default
 
​setenv extend_screen hdmi-default
Line 113: Line 101:
 
reset
 
reset
 
</pre>
 
</pre>
 +
<h2> Default Support Display </h2>
 +
<table border="1" cellspacing="1" cellpadding="1">
  
== Default Support Display ==
+
<tr>
 
+
<td> <b>Port</b>
{| border="1" cellspacing="1" cellpadding="1"
+
</td>
|-
+
<td> <b>RSB4710</b>
| '''Port'''
+
</td></tr>
| '''RSB4710'''
+
<tr>
|-
+
<td> edp
| edp
+
</td>
| edp-1920x1080<br/>edp-1366x768<br/>
+
<td> edp-1920x1080<br />edp-1366x768<br />
|-
+
</td></tr>
| lvds
+
<tr>
| lvds-g070vw01<br/>lvds-g150xgel05<br/>lvds-g215hvn01<br/>
+
<td> lvds
|-
+
</td>
| hdmi
+
<td> lvds-g070vw01<br />lvds-g150xgel05<br />lvds-g215hvn01<br />
| hdmi-default<br/>
+
</td></tr>
|-
+
<tr>
| dp
+
<td> hdmi
| dp-default
+
</td>
|}
+
<td> hdmi-default<br />
 
+
</td></tr>
<br/>'''NOTE&nbsp;:&nbsp;'''
+
<tr>
 
+
<td> dp
1. The name of the panel must begin with "edp-"、"lvds-" 、"hdmi-"&nbsp; or “dp-”.
+
</td>
 
+
<td> dp-default
And it can be found in "kernel/include/dt-bindings/display/screen-timing/{LCDNAME}.dtsi" like&nbsp;:
+
</td></tr></table>
 
+
<p><br /><b>NOTE&#160;:&#160;</b>
lvds_g070vw01: <span style="color:#FF0000;">'''lvds-g070vw01'''</span>
+
</p><p>1. The name of the panel must begin with "edp-"、"lvds-" 、"hdmi-"&#160; or “dp-”.
 
+
</p><p>And it can be found in "kernel/include/dt-bindings/display/screen-timing/{LCDNAME}.dtsi" like&#160;:
2. If there is no configuration, you will get default setting&nbsp;:
+
</p><p>lvds_g070vw01: <span style="color:#FF0000;"><b>lvds-g070vw01</b></span>
 
+
</p><p>2. If there is no configuration, you will get default setting&#160;:
hdmi-default&nbsp; and&nbsp;dp-default as default setting.
+
</p><p>hdmi-default&#160; and&#160;dp-default as default setting.
 
+
</p><p>3. Check your configuration in Terminal or debug console.
3. Check your configuration in Terminal or debug console.
+
</p>
 
<pre>cat /proc/cmdline
 
<pre>cat /proc/cmdline
 
... prmry_screen=hdmi-default extend_screen=dp-default</pre>
 
... prmry_screen=hdmi-default extend_screen=dp-default</pre>

Revision as of 09:19, 18 June 2020

RSB-4710 surport 4 display ports : eDP、LVDS(mipi to LVDS)、HDMI、DP (DP to HDMI). Only two ports work at the same time .

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

NOTE:

        Android distinguish the primary and the extend screen. 

Enter U-boot interrupt mode

Connect device to debug port, and open debug console. See more : <a href="How%20to%20debug%20for%20RK3399%20RSB4710">How_to_debug</a>.

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

or

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

eDP + LVDS

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

or

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

LVDS + HDMI

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

or

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

eDP + DP

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

or

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

LVDS + DP

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

or

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

HDMI + DP

setenv prmry_screen hdmi-default
setenv extend_screen dp-default
saveenv
reset

or

setenv prmry_screen dp-fefault
​setenv extend_screen hdmi-default
saveenv
reset

Default Support Display

Port RSB4710
edp edp-1920x1080
edp-1366x768
lvds lvds-g070vw01
lvds-g150xgel05
lvds-g215hvn01
hdmi hdmi-default
dp dp-default


NOTE : 

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

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 :

hdmi-default  and dp-default as default setting.

3. Check your configuration in Terminal or debug console.

cat /proc/cmdline
... prmry_screen=hdmi-default extend_screen=dp-default