Difference between revisions of "IoTGateway/BSP/Android/Gettingstarted/How to set Multi-display for rk"
From ESS-WIKI
Line 1: | Line 1: | ||
− | + | <h2> <span style="color:#0070c0">HDMI(4K) and VGA(edp)</span> </h2> | |
− | + | <p> This is the default display mode,To set the display_mode environment variable as the default value | |
− | & | + | </p><p> Power on, stop at the uboot stage: |
− | + | </p> | |
− | & | + | <pre class="_fck_mw_lspace">rkboot # setenv display_mode |
− | + | rkboot # saveenv | |
− | + | rkboot # reset | |
− | + | </pre> | |
− | + | <h2> <span style="color:#0070c0">HDMI(4K) and LVDS</span> </h2> | |
− | + | <p> Power on, stop at the uboot stage: | |
− | + | </p> | |
− | + | <pre class="_fck_mw_lspace">rkboot # setenv display_mode lvds_800x480 | |
− | & | + | rkboot # saveenv |
− | + | rkboot # reset | |
− | + | </pre> | |
− | + | <p>display_mode is optional : lvds_1024x768, dual_lvds_1920x1080 | |
− | + | </p> | |
− | + | <h2> <span style="color:#0070c0">LVDS and VGA(edp)</span> </h2> | |
− | display_mode is optional& | + | <p> Power on, stop at the uboot stage: |
− | + | </p> | |
− | + | <pre class="_fck_mw_lspace">rkboot # setenv display_mode dual_lcd | |
− | + | rkboot # setenv dual_lcd_screen0 edp_1024x768 | |
− | & | + | rkboot # setenv dual_lcd_screen1 lvds_800x480 |
− | + | rkboot # saveenv | |
− | + | rkboot # reset | |
− | + | </pre> | |
− | + | <p>dual_lcd_screen0 and dual_lcd_screen1 is optional and Only when display_mode set to dual_lcd is available | |
− | + | </p><p>Also set "persist.htg.force" to 1 at build.prop | |
− | + | </p><p> Power on,: | |
− | + | </p> | |
− | dual_lcd_screen0 and dual_lcd_screen1 is optional and Only when display_mode set to dual_lcd is available | + | <pre class="_fck_mw_lspace">shell@rsb4680:/ $ su |
− | + | root@rsb4680:/ # setprop persist.htg.force 1 | |
− | Also set "persist.htg.force" to 1 at build.prop | + | root@rsb4680:/ # reboot |
− | + | </pre> | |
− | & | ||
− | |||
− | |||
− | |||
− |
Revision as of 04:37, 28 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