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

From ESS-WIKI
Jump to: navigation, search
Line 31: Line 31:
 
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
+
Also set "persist.htg.force" to 1 at build.prop
 +
 
 +
 Power on,:
 +
 
 +
shell@rsb4680:/ $ su
 +
root@rsb4680:/ # setprop persist.htg.force 1
 +
root@rsb4680:/ # reboot

Revision as of 07:50, 17 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 "persist.htg.force" to 1 at build.prop

 Power on,:

shell@rsb4680:/ $ su
root@rsb4680:/ # setprop persist.htg.force 1
root@rsb4680:/ # reboot