How to Config Multi-Display for RK3399 RSB4710

From ESS-WIKI
Revision as of 02:47, 7 July 2020 by Phill.liu (talk | contribs)
Jump to: navigation, search

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