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

From ESS-WIKI
Jump to: navigation, search
(modify dual display method)
 
Line 1: Line 1:
<h2> <span style="color:#0070c0">HDMI(4K) and VGA(edp)</span> </h2>
+
== <span style="color:#0070c0">HDMI(4K) and VGA(edp)</span> ==
<p>&#160;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:
+
&nbsp;This is the default display mode,VGA is prmry screen,HDMI is extend screen.if you want&nbsp; to change hdmi as prmry screen,VGA as extend screen,
</p>
+
 
<pre class="_fck_mw_lspace">rkboot # setenv display_mode
+
&nbsp;Power on, stop at the uboot stage:
rkboot # saveenv
+
 
rkboot # reset
+
rkboot # setenv prmry_screen hdmi-720p
</pre>
+
rkboot # setenv extend_screen edp-1024x768
<h2> <span style="color:#0070c0">HDMI(4K) and LVDS</span> </h2>
+
rkboot # saveenv
<p>&#160;Power on, stop at the uboot stage:
+
rkboot # reset
</p>
+
 
<pre class="_fck_mw_lspace">rkboot # setenv display_mode lvds_800x480
+
== <span style="color:#0070c0">HDMI(4K) and LVDS</span> ==
rkboot # saveenv
+
 
rkboot # reset
+
&nbsp;Power on, stop at the uboot stage:
</pre>
+
 
<p>display_mode is optional&#160;: lvds_1024x768, dual_lvds_1920x1080
+
rkboot # setenv prmry_screen hdmi-720p
</p>
+
rkboot # setenv extend_screen lvds-g070vw01
<h2> <span style="color:#0070c0">LVDS and VGA(edp)</span> </h2>
+
or
<p>&#160;Power on, stop at the uboot stage:
+
rkboot # setenv prmry_screen lvds-g070vw01
</p>
+
rkboot # setenv extend_screen hdmi-720p
<pre class="_fck_mw_lspace">rkboot # setenv display_mode dual_lcd
+
rkboot # saveenv
rkboot # setenv dual_lcd_screen0 edp_1024x768
+
rkboot # reset
rkboot # setenv dual_lcd_screen1 lvds_800x480
+
 
rkboot # saveenv
+
display_mode is optional&nbsp;: lvds_1024x768, dual_lvds_1920x1080
rkboot # reset
+
 
</pre>
+
== <span style="color:#0070c0">LVDS and VGA(edp)</span> ==
<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
+
&nbsp;Power on, stop at the uboot stage:
</p><p>&#160;Power on,
+
 
</p>
+
rkboot # setenv prmry_screen edp-1024x768
<pre class="_fck_mw_lspace">shell@rsb4680:/ $ su
+
rkboot # setenv extend_screen lvds-g070vw01
root@rsb4680:/ # setprop persist.htg.force 1
+
or
root@rsb4680:/ # reboot
+
rkboot # setenv prmry_screen lvds-g070vw01
</pre>
+
rkboot # setenv extend_screen edp-1024x768
 +
rkboot # saveenv
 +
rkboot # reset
 +
 
 +
The screen value from kernel dts&nbsp;display-timings node name,&nbsp;
 +
 
 +
lvds optional: lvds-g070vw01 (800*480)、lvds-g150xgel05 (1024*768)、lvds-g215hvn01 (1920*1080 dual)、lvds-p460hvn02 (1920*1080 dual 30bits)、lvds-lmt101dnmfdd (1024*600)、lvds-lmt150dngfdd (1024*768)
 +
 
 +
hdmi optional:hdmi-720p,hdmi-1080p,hdmi-2160p
 +
 
 +
VGA optional:edp-1920x1200,edp-1920x1080,edp-1024x768

Latest revision as of 02:16, 5 June 2018

HDMI(4K) and VGA(edp)

 This is the default display mode,VGA is prmry screen,HDMI is extend screen.if you want  to change hdmi as prmry screen,VGA as extend screen,

 Power on, stop at the uboot stage:

rkboot # setenv prmry_screen hdmi-720p
rkboot # setenv extend_screen edp-1024x768
rkboot # saveenv
rkboot # reset

HDMI(4K) and LVDS

 Power on, stop at the uboot stage:

rkboot # setenv prmry_screen hdmi-720p
rkboot # setenv extend_screen lvds-g070vw01
or
rkboot # setenv prmry_screen lvds-g070vw01
rkboot # setenv extend_screen hdmi-720p
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 prmry_screen edp-1024x768
rkboot # setenv extend_screen lvds-g070vw01
or
rkboot # setenv prmry_screen lvds-g070vw01
rkboot # setenv extend_screen edp-1024x768
rkboot # saveenv
rkboot # reset

The screen value from kernel dts display-timings node name, 

lvds optional: lvds-g070vw01 (800*480)、lvds-g150xgel05 (1024*768)、lvds-g215hvn01 (1920*1080 dual)、lvds-p460hvn02 (1920*1080 dual 30bits)、lvds-lmt101dnmfdd (1024*600)、lvds-lmt150dngfdd (1024*768)

hdmi optional:hdmi-720p,hdmi-1080p,hdmi-2160p

VGA optional:edp-1920x1200,edp-1920x1080,edp-1024x768