IoTGateway/BSP/Android/Gettingstarted/How to set Multi-display for rk
From ESS-WIKI
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