IoTGateway/BSP/Android/Gettingstarted/How to set Multi-display for rk

From ESS-WIKI
Revision as of 02:16, 5 June 2018 by Yanwei.cao (talk | contribs) (modify dual display method)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

HDMI(4K) and VGA(edp)

 This is the default display mode,VGA is prmry screen,HDMI is extend screen.if you want  to change hdmi as prmry screen,VGA as extend screen,

 Power on, stop at the uboot stage:

rkboot # setenv prmry_screen hdmi-720p
rkboot # setenv extend_screen edp-1024x768
rkboot # saveenv
rkboot # reset

HDMI(4K) and LVDS

 Power on, stop at the uboot stage:

rkboot # setenv prmry_screen hdmi-720p
rkboot # setenv extend_screen lvds-g070vw01
or
rkboot # setenv prmry_screen lvds-g070vw01
rkboot # setenv extend_screen hdmi-720p
rkboot # saveenv
rkboot # reset

display_mode is optional : lvds_1024x768, dual_lvds_1920x1080

LVDS and VGA(edp)

 Power on, stop at the uboot stage:

rkboot # setenv prmry_screen edp-1024x768
rkboot # setenv extend_screen lvds-g070vw01
or
rkboot # setenv prmry_screen lvds-g070vw01
rkboot # setenv extend_screen edp-1024x768
rkboot # saveenv
rkboot # reset

The screen value from kernel dts display-timings node name, 

lvds optional: lvds-g070vw01 (800*480)、lvds-g150xgel05 (1024*768)、lvds-g215hvn01 (1920*1080 dual)、lvds-p460hvn02 (1920*1080 dual 30bits)、lvds-lmt101dnmfdd (1024*600)、lvds-lmt150dngfdd (1024*768)

hdmi optional:hdmi-720p,hdmi-1080p,hdmi-2160p

VGA optional:edp-1920x1200,edp-1920x1080,edp-1024x768