Difference between revisions of "IoTGateway/BSP/Android/Gettingstarted/How to set Multi-display for rk"

From ESS-WIKI
Jump to: navigation, search
(modify dual display method)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
== <span style="color:#0070c0">HDMI(4K) and VGA(edp)</span> ==
 
== <span style="color:#0070c0">HDMI(4K) and VGA(edp)</span> ==
  
&nbsp;This is the default display mode,To set the display_mode environment variable as the default value
+
&nbsp;This is the default display mode,VGA is prmry screen,HDMI is extend screen.if you want&nbsp; to change hdmi as prmry screen,VGA as extend screen,
  
 
&nbsp;Power on, stop at the uboot stage:
 
&nbsp;Power on, stop at the uboot stage:
  
  rkboot # setenv display_mode
+
  rkboot # setenv prmry_screen hdmi-720p
 +
rkboot # setenv extend_screen edp-1024x768
 
  rkboot # saveenv
 
  rkboot # saveenv
 
  rkboot # reset
 
  rkboot # reset
Line 13: Line 14:
 
&nbsp;Power on, stop at the uboot stage:
 
&nbsp;Power on, stop at the uboot stage:
  
  rkboot # setenv display_mode lvds_800x480
+
  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 # saveenv
 
  rkboot # reset
 
  rkboot # reset
Line 23: Line 28:
 
&nbsp;Power on, stop at the uboot stage:
 
&nbsp;Power on, stop at the uboot stage:
  
  rkboot # setenv display_mode dual_lcd
+
  rkboot # setenv prmry_screen edp-1024x768
  rkboot # setenv dual_lcd_screen0 edp_1024x768
+
  rkboot # setenv extend_screen lvds-g070vw01
  rkboot # setenv dual_lcd_screen1 lvds_800x480
+
or
 +
rkboot # setenv prmry_screen lvds-g070vw01
 +
  rkboot # setenv extend_screen edp-1024x768
 
  rkboot # saveenv
 
  rkboot # saveenv
 
  rkboot # reset
 
  rkboot # reset
  
dual_lcd_screen0 and dual_lcd_screen1 is optional and Only when display_mode set to dual_lcd is available
+
The screen value from kernel dts&nbsp;display-timings node name,&nbsp;
  
Also set "persist.htg.force" to 1 at build.prop
+
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)
  
&nbsp;Power on,
+
hdmi optional:hdmi-720p,hdmi-1080p,hdmi-2160p
  
shell@rsb4680:/ $ su
+
VGA optional:edp-1920x1200,edp-1920x1080,edp-1024x768
root@rsb4680:/ # setprop persist.htg.force 1
 
root@rsb4680:/ # reboot
 

Latest revision as of 02:16, 5 June 2018

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