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

From ESS-WIKI
Jump to: navigation, search
Line 1: Line 1:
== <span style="color:#0070c0">HDMI(4K) and VGA(edp)</span> ==
+
<h2> <span style="color:#0070c0">HDMI(4K) and VGA(edp)</span> </h2>
 
+
<p>&#160;This is the default display mode,To set the display_mode environment variable as the default value
&nbsp;This is the default display mode,To set the display_mode environment variable as the default value
+
</p><p>&#160;Power on, stop at the uboot stage:
 
+
</p>
&nbsp;Power on, stop at the uboot stage:
+
<pre class="_fck_mw_lspace">rkboot # setenv display_mode
 
+
rkboot # saveenv
rkboot # setenv display_mode
+
rkboot # reset
rkboot # saveenv
+
</pre>
rkboot # reset
+
<h2> <span style="color:#0070c0">HDMI(4K) and LVDS</span> </h2>
 
+
<p>&#160;Power on, stop at the uboot stage:
== <span style="color:#0070c0">HDMI(4K) and LVDS</span> ==
+
</p>
 
+
<pre class="_fck_mw_lspace">rkboot # setenv display_mode lvds_800x480
&nbsp;Power on, stop at the uboot stage:
+
rkboot # saveenv
 
+
rkboot # reset
rkboot # setenv display_mode lvds_800x480
+
</pre>
rkboot # saveenv
+
<p>display_mode is optional&#160;: lvds_1024x768, dual_lvds_1920x1080
rkboot # reset
+
</p>
 
+
<h2> <span style="color:#0070c0">LVDS and VGA(edp)</span> </h2>
display_mode is optional&nbsp;: lvds_1024x768, dual_lvds_1920x1080
+
<p>&#160;Power on, stop at the uboot stage:
 
+
</p>
== <span style="color:#0070c0">LVDS and VGA(edp)</span> ==
+
<pre class="_fck_mw_lspace">rkboot # setenv display_mode dual_lcd
 
+
rkboot # setenv dual_lcd_screen0 edp_1024x768
&nbsp;Power on, stop at the uboot stage:
+
rkboot # setenv dual_lcd_screen1 lvds_800x480
 
+
rkboot # saveenv
rkboot # setenv display_mode dual_lcd
+
rkboot # reset
rkboot # setenv dual_lcd_screen0 edp_1024x768
+
</pre>
rkboot # setenv dual_lcd_screen1 lvds_800x480
+
<p>dual_lcd_screen0 and dual_lcd_screen1 is optional and Only when display_mode set to dual_lcd is available
rkboot # saveenv
+
</p><p>Also set "persist.htg.force" to 1 at build.prop
rkboot # reset
+
</p><p>&#160;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>
&nbsp;Power on,:
 
 
 
shell@rsb4680:/ $ su
 
root@rsb4680:/ # setprop persist.htg.force 1
 
root@rsb4680:/ # reboot
 

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