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

From ESS-WIKI
Jump to: navigation, search
Line 17: Line 17:
 
  rkboot # reset
 
  rkboot # reset
  
display_mode is optional : lvds_1024x768, dual_lvds_1920x1080
+
display_mode is optional : lvds_1024x768, dual_lvds_1920x1080
  
 
== <span style="color:#0070c0">LVDS and VGA(edp)</span> ==
 
== <span style="color:#0070c0">LVDS and VGA(edp)</span> ==
Line 30: Line 30:
  
 
dual_lcd_screen0 and dual_lcd_screen1 is optional and Only when display_mode set to dual_lcd is available
 
dual_lcd_screen0 and dual_lcd_screen1 is optional and Only when display_mode set to dual_lcd is available
 +
 +
Also set "ro.htg.force" to 1 at build.prop

Revision as of 09:28, 14 May 2018

HDMI(4K) and VGA(edp)

 This is the default display mode,To set the display_mode environment variable as the default value

 Power on, stop at the uboot stage:

rkboot # setenv display_mode
rkboot # saveenv
rkboot # reset

HDMI(4K) and LVDS

 Power on, stop at the uboot stage:

rkboot # setenv display_mode lvds_800x480
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 display_mode dual_lcd
rkboot # setenv dual_lcd_screen0 edp_1024x768
rkboot # setenv dual_lcd_screen1 lvds_800x480
rkboot # saveenv
rkboot # reset

dual_lcd_screen0 and dual_lcd_screen1 is optional and Only when display_mode set to dual_lcd is available

Also set "ro.htg.force" to 1 at build.prop