In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about how to increase the dual-screen different display eDP+LVDS in RK3288. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
CPU:RK3288
System: Android 5.1
The following is the information in the official documentation.
1. The display interfaces supported by rk3288 can be combined arbitrarily.
2. In the case of dual-screen display, one display interface is the main screen and the other is the secondary screen; the primary and secondary screens are determined by board-level dts files and cannot be changed dynamically after startup.
3. When the two display interfaces show different resolutions, rk3288 can only provide an accurate clock for one display interface and a small frequency offset for the other display interface.
Although Ruixin Micro has provided patches for Android 5.1, I have some problems in the process of transplantation (it is best to check the patch line by line, not to use instructions directly for convenience).
The device eDP is the main screen and lvds is the secondary screen.
(1) modify two screen reference files lcd-xxx.dtsi first.
EDP screen reference file patch
Diff-git a/kernel/arch/arm/boot/dts/lcd-NV116FH1.dtsi b/kernel/arch/arm/boot/dts/lcd-NV116FH1.dtsi
Index 3862b05..7bf992f 100755
-a/kernel/arch/arm/boot/dts/lcd-NV116FH1.dtsi
+ b/kernel/arch/arm/boot/dts/lcd-NV116FH1.dtsi
@ @-3BI 11 + 3BI 9 @ @
*
, /
-/ {
-
-disp_timings: display-timings {
-native-mode =
-timing0: timing0 {
+ display-timings {
+ native-mode =
+ nv116fhm: timing0 {
Screen-type =
Out-face =
Clock-frequency =
@ @-30BI 4 + 30BI 3 @ @
Swap-gb =
}
}
-}
Lvds screen reference file patch
Diff-git a/kernel/arch/arm/boot/dts/lcd-ZJ080NA-08A.dtsi b/kernel/arch/arm/boot/dts/lcd-ZJ080NA-08A.dtsi
Old mode 100644
New mode 100755
Index fc6385c..58f999be
-a/kernel/arch/arm/boot/dts/lcd-ZJ080NA-08A.dtsi
+ b/kernel/arch/arm/boot/dts/lcd-ZJ080NA-08A.dtsi
@ @-3BI 11 + 3BI 10 @ @
*
, /
-/ {
-disp_timings: display-timings {
-native-mode =
-timing0: timing0 {
+ display-timings {
+ native-mode =
+ zj080na: timing0 {
Screen-type =
Lvds-format =
Out-face =
@ @-30BI 4 + 30BI 3 @ @
Swap-gb =
}
}
-}
(2) apply the kernel patch according to the official provision
Kernel patch
(3) apply the hardware patch according to the official provision
Hardware patch
(4) apply the framework patch according to the official provision
Framework patch
(5) the official patch is finished, but an error may be reported in the compilation at this time, as follows:
Cts/tests/tests/view/src/android/view/cts/WindowTest.java:846: error: WindowTest.MockWindow is not abstract and does not override abstract method moveExtendDisplay () in Window
Public class MockWindow extends Window {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with-Xlint:deprecation for details.
1 error
Make: * * [out/target/common/obj/APPS/CtsViewTestCases_intermediates/classes-full-debug.jar] Error 41
Make: * Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with-Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with-Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with-Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with-Xlint:unchecked for details.
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
# make failed to build some targets (03:55 (mm:ss)) #
According to the compilation error prompt, you need to modify the cts/tests/tests/view/src/android/view/cts/WindowTest.java file.
Diff-git a/cts/tests/tests/view/src/android/view/cts/WindowTest.java b/cts/tests/tests/view/src/android/view/cts/WindowTest.java
Index 3c5386d..8732ae7 100755
-a/cts/tests/tests/view/src/android/view/cts/WindowTest.java
+ b/cts/tests/tests/view/src/android/view/cts/WindowTest.java
@ @-998, public class WindowTest extends ActivityInstrumentationTestCase2 6 + 998, 19 @ @
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.