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

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
[[Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710|How to Config Multi-Display for RK3399 RSB4710]]
+
== Contents ==
 +
 
 +
 [[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710# hide]] 
 +
 
 +
*[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#How_to_Config_Multi-Display_for_RK3399_RSB4710 1 How to Config Multi-Display for RK3399 RSB4710]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#Contents 1.1 Contents]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#Enter_U-boot_interrupt_mode 1.2 Enter U-boot interrupt mode]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#eDP_.2B_HDMI 1.3 eDP + HDMI]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#eDP_.2B_LVDS 1.4 eDP + LVDS]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#LVDS_.2B_HDMI 1.5 LVDS + HDMI]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#eDP_.2B_DP 1.6 eDP + DP]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#LVDS_.2B_DP 1.7 LVDS + DP]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#HDMI_.2B_DP 1.8 HDMI + DP]
 +
**[http://ess-wiki.advantech.com.tw/view/Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710#Default_Support_Display 1.9 Default Support Display]
 +
 
 +
= <u>How to Config Multi-Display for RK3399 RSB4710</u>[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=1 edit]] =
 +
 
 +
RSB-4710&nbsp;surport 4&nbsp;display ports&nbsp;: eDP、LVDS(mipi to LVDS)、HDMI、DP&nbsp;(DP to HDMI).&nbsp;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:'''
 +
 
 +
&nbsp; &nbsp; &nbsp; &nbsp; Android&nbsp;distinguish the primary and the extend screen.&nbsp;
 +
 
 +
== Contents[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=2 edit]] ==
 +
 
 +
&nbsp;[[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710# hide]]&nbsp;
 +
 
 +
*[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710#Enter_U-boot_interrupt_mode 1&nbsp;Enter U-boot interrupt mode]
 +
*[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710#eDP_.2B_HDMI 2&nbsp;eDP + HDMI]
 +
*[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710#eDP_.2B_LVDS 3&nbsp;eDP + LVDS]
 +
*[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710#LVDS_.2B_HDMI 4&nbsp;LVDS + HDMI]
 +
*[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710#eDP_.2B_DP 5&nbsp;eDP + DP]
 +
*[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710#LVDS_.2B_DP 6&nbsp;LVDS + DP]
 +
*[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710#HDMI_.2B_DP 7&nbsp;HDMI + DP]
 +
*[http://ess-wiki.advantech.com.tw/view/How_to_Config_Multi-Display_for_RK3399_RSB710#Default_Support_Display 8&nbsp;Default Support Display]
 +
 
 +
== Enter U-boot interrupt mode[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=3 edit]] ==
 +
 
 +
Connect device to debug port, and open debug console. See more&nbsp;: &lt;a href="How%20to%20debug%20for%20RK3399%20RSB4710"&gt;How_to_debug&lt;/a&gt;.
 +
 
 +
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
 +
=> <INTERRUPT>
 +
=></pre>
 +
 
 +
Then you can&nbsp;input the following cammand to config Multi-Display.
 +
 
 +
== eDP + HDMI[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=4 edit]] ==
 +
<pre>setenv prmry_screen edp-1920x1080
 +
setenv extend_screen hdmi-default
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
 
 +
 
 +
or
 +
<pre>setenv prmry_screen hdmi-default
 +
setenv extend_screen edp-1920x1080
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
 
 +
 
 +
== eDP + LVDS[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=5 edit]] ==
 +
<pre>setenv prmry_screen edp-1920x1080
 +
setenv extend_screen lvds-g070vw01
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
or
 +
<pre>setenv prmry_screen lvds-g070vw01
 +
setenv extend_screen edp-1920x1080
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
 
 +
 
 +
== LVDS + HDMI[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=6 edit]] ==
 +
<pre>setenv prmry_screen hdmi-default
 +
setenv extend_screen lvds-g070vw01
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
or
 +
<pre>setenv prmry_screen lvds-g070vw01
 +
​setenv extend_screen hdmi-default
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
== eDP + DP[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=7 edit]] ==
 +
<pre>setenv prmry_screen edp-1920x1080
 +
setenv extend_screen dp-default
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
 
 +
 
 +
or
 +
<pre>setenv prmry_screen dp-default
 +
setenv extend_screen edp-1920x1080
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
 
 +
 
 +
== LVDS + DP[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=8 edit]] ==
 +
<pre>setenv prmry_screen dp-default
 +
setenv extend_screen lvds-g070vw01
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
or
 +
<pre>setenv prmry_screen lvds-g070vw01
 +
setenv extend_screen dp-default
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
 
 +
 
 +
== HDMI + DP[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=9 edit]] ==
 +
<pre>setenv prmry_screen hdmi-default
 +
setenv extend_screen dp-default
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
or
 +
<pre>setenv prmry_screen dp-fefault
 +
​setenv extend_screen hdmi-default
 +
saveenv
 +
reset
 +
</pre>
 +
 
 +
== Default Support Display[[http://ess-wiki.advantech.com.tw/wiki/index.php?title=Help_talk:How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit&section=10 edit]] ==
 +
 
 +
{| border="1" cellspacing="1" cellpadding="1"
 +
|-
 +
| '''Port'''
 +
| '''RSB4710'''
 +
|-
 +
| edp
 +
| edp-1920x1080<br/>edp-1366x768<br/>
 +
|-
 +
| lvds
 +
| lvds-g070vw01<br/>lvds-g150xgel05<br/>lvds-g215hvn01<br/>
 +
|-
 +
| hdmi
 +
| hdmi-default<br/>
 +
|-
 +
| dp
 +
| dp-default
 +
|}
 +
 
 +
<br/>'''NOTE&nbsp;:&nbsp;'''
 +
 
 +
1. The name of the panel must begin with "edp-"、"lvds-" 、"hdmi-"&nbsp; or “dp-”.
 +
 
 +
And it can be found in "kernel/include/dt-bindings/display/screen-timing/{LCDNAME}.dtsi" like&nbsp;:
 +
 
 +
lvds_g070vw01:&nbsp;'''lvds-g070vw01'''
 +
 
 +
2. If there is no configuration, you will get default setting&nbsp;:
 +
 
 +
hdmi-default&nbsp; and&nbsp;dp-default as default setting.
 +
 
 +
3. Check your configuration in Terminal or debug console.
 +
<pre>cat /proc/cmdline
 +
... prmry_screen=hdmi-default extend_screen=dp-default</pre>
 +
 
 +
{| border="1" cellspacing="1" cellpadding="1"
 +
|-
 +
| LVDS Name
 +
| Resolution
 +
|-
 +
| lvds-g070vw01<br/>
 +
| 800x480
 +
|-
 +
| lvds-g150xgel05<br/>
 +
| 1024x768
 +
|-
 +
| lvds-g215hvn01<br/>
 +
| 1920x1080
 +
|}

Revision as of 02:47, 7 July 2020

Contents

 [hide

How to Config Multi-Display for RK3399 RSB4710[edit]

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. 

Contents[edit]

 [hide

Enter U-boot interrupt mode[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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[edit]

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
LVDS Name Resolution
lvds-g070vw01
800x480
lvds-g150xgel05
1024x768
lvds-g215hvn01
1920x1080