Difference between revisions of "Display Setting (RSB-3710)"
From ESS-WIKI
(Created page with "== Enter U-boot interrupt modehttp://ess-wiki.advantech.com.tw/wiki/index.php?title=How_to_Config_Multi-Display_for_RK3399_RSB4710&action=edit§ion=3 edit == Connect d...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == Using envtools in Debian/Android == |
+ | |||
+ | Using envtools to setup envs in Debian/Android OS is very similar in uboot. | ||
+ | |||
+ | Take “eDP+HDMI”for example : | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" | ||
+ | |- | ||
+ | | '''In uboot''' | ||
+ | | '''In Debian/Android''' | ||
+ | |- | ||
+ | | setenv prmry_screen hdmi-default<br/> | ||
+ | | fw_setenv prmry_screen hdmi-default<br/> | ||
+ | |- | ||
+ | | setenv extend_screen edp-1920x1080 | ||
+ | | fw_setenv extend_screen edp-1920x1080<br/> | ||
+ | |- | ||
+ | | saveenv | ||
+ | | saveenv | ||
+ | |- | ||
+ | | reset | ||
+ | | reset | ||
+ | |} | ||
+ | |||
+ | '''Note :''' | ||
+ | |||
+ | The tool "fw_setenv" will save envs automatically in Debian/Android OS, so it isn't necessary to saveen manually. | ||
+ | |||
+ | {| border="1" cellspacing="1" cellpadding="1" | ||
+ | |- | ||
+ | | LVDS Name | ||
+ | | Resolution | ||
+ | |- | ||
+ | | lvds-g070vw01<br/> | ||
+ | | 800x480 | ||
+ | |- | ||
+ | | lvds-g150xgel05<br/> | ||
+ | | 1024x768 | ||
+ | |- | ||
+ | | lvds-g215hvn01<br/> | ||
+ | | 1920x1080 | ||
+ | |} | ||
+ | |||
+ | == Enter U-boot interrupt mode == | ||
Connect device to debug port, and open debug console. | Connect device to debug port, and open debug console. | ||
Line 10: | Line 53: | ||
Then you can input the following cammand to config Multi-Display. | Then you can input the following cammand to config Multi-Display. | ||
− | == eDP + HDMI | + | == eDP + HDMI == |
<pre>setenv prmry_screen edp-1920x1080 | <pre>setenv prmry_screen edp-1920x1080 | ||
setenv extend_screen hdmi-default | setenv extend_screen hdmi-default | ||
Line 26: | Line 69: | ||
</pre> | </pre> | ||
− | == eDP + LVDS | + | == eDP + LVDS == |
<pre>setenv prmry_screen edp-1920x1080 | <pre>setenv prmry_screen edp-1920x1080 | ||
setenv extend_screen lvds-g070vw01 | setenv extend_screen lvds-g070vw01 | ||
Line 42: | Line 85: | ||
− | == LVDS + HDMI | + | == LVDS + HDMI == |
<pre>setenv prmry_screen hdmi-default | <pre>setenv prmry_screen hdmi-default | ||
setenv extend_screen lvds-g070vw01 | setenv extend_screen lvds-g070vw01 | ||
Line 56: | Line 99: | ||
</pre> | </pre> | ||
− | == eDP + DP | + | == eDP + DP == |
<pre>setenv prmry_screen edp-1920x1080 | <pre>setenv prmry_screen edp-1920x1080 | ||
setenv extend_screen dp-default | setenv extend_screen dp-default | ||
Line 74: | Line 117: | ||
− | == LVDS + DP | + | == LVDS + DP == |
<pre>setenv prmry_screen dp-default | <pre>setenv prmry_screen dp-default | ||
setenv extend_screen lvds-g070vw01 | setenv extend_screen lvds-g070vw01 | ||
Line 90: | Line 133: | ||
− | == HDMI + DP | + | == HDMI + DP == |
<pre>setenv prmry_screen hdmi-default | <pre>setenv prmry_screen hdmi-default | ||
setenv extend_screen dp-default | setenv extend_screen dp-default |
Latest revision as of 09:28, 20 January 2022
Contents
Using envtools in Debian/Android
Using envtools to setup envs in Debian/Android OS is very similar in uboot.
Take “eDP+HDMI”for example :
In uboot | In Debian/Android |
setenv prmry_screen hdmi-default |
fw_setenv prmry_screen hdmi-default |
setenv extend_screen edp-1920x1080 | fw_setenv extend_screen edp-1920x1080 |
saveenv | saveenv |
reset | reset |
Note :
The tool "fw_setenv" will save envs automatically in Debian/Android OS, so it isn't necessary to saveen manually.
LVDS Name | Resolution |
lvds-g070vw01 |
800x480 |
lvds-g150xgel05 |
1024x768 |
lvds-g215hvn01 |
1920x1080 |
Enter U-boot interrupt mode
Connect device to debug port, and open debug console.
Press "ctrl + c" key before power up the device, until get the following information on debug console :
Hit any key to stop autoboot: 0 => <INTERRUPT> =>
Then you can input the following cammand to config Multi-Display.
eDP + HDMI
setenv prmry_screen edp-1920x1080 setenv extend_screen hdmi-default saveenv reset
or
setenv prmry_screen hdmi-default setenv extend_screen edp-1920x1080 saveenv reset
eDP + LVDS
setenv prmry_screen edp-1920x1080 setenv extend_screen lvds-g070vw01 saveenv reset
or
setenv prmry_screen lvds-g070vw01 setenv extend_screen edp-1920x1080 saveenv reset
LVDS + HDMI
setenv prmry_screen hdmi-default setenv extend_screen lvds-g070vw01 saveenv reset
or
setenv prmry_screen lvds-g070vw01 setenv extend_screen hdmi-default saveenv reset
eDP + DP
setenv prmry_screen edp-1920x1080 setenv extend_screen dp-default saveenv reset
or
setenv prmry_screen dp-default setenv extend_screen edp-1920x1080 saveenv reset
LVDS + DP
setenv prmry_screen dp-default setenv extend_screen lvds-g070vw01 saveenv reset
or
setenv prmry_screen lvds-g070vw01 setenv extend_screen dp-default saveenv reset
HDMI + DP
setenv prmry_screen hdmi-default setenv extend_screen dp-default saveenv reset
or
setenv prmry_screen dp-fefault setenv extend_screen hdmi-default saveenv reset