From 5d3bdb373f23d98e7fee3a8e396a32dbd7d4fda1 Mon Sep 17 00:00:00 2001 From: lupeng Date: Tue, 26 Feb 2019 15:50:01 +0800 Subject: [PATCH] fb0 size set to 480x864 --- package/qt/qt5/files/qt-env.sh | 3 ++- target/allwinner/mandolin-c1evb/configs/sys_config.fex | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/qt/qt5/files/qt-env.sh b/package/qt/qt5/files/qt-env.sh index f41c6c763..28f7c19be 100755 --- a/package/qt/qt5/files/qt-env.sh +++ b/package/qt/qt5/files/qt-env.sh @@ -1,10 +1,11 @@ #!/bin/sh -export QT_QPA_PLATFORM=eglfs:size=896x480 +export QT_QPA_PLATFORM=eglfs:size=480x864 export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/qt5/plugins export QT_QPA_FONTDIR=/usr/lib/fonts export QT_QPA_GENERIC_PLUGINS=tslib export QT_QPA_EGLFS_INTEGRATION=none +#export QT_QPA_EGLFS_ROTATION=90 export XDG_RUNTIME_DIR=/dev/shm #export QT_QPA_GENERIC_PLUGINS=evdevmouse:/dev/input/event1 export QT_QPA_GENERIC_PLUGINS=evdevkeyboard:/dev/input/event0 diff --git a/target/allwinner/mandolin-c1evb/configs/sys_config.fex b/target/allwinner/mandolin-c1evb/configs/sys_config.fex index fd76d8d74..b7e0bb84c 100755 --- a/target/allwinner/mandolin-c1evb/configs/sys_config.fex +++ b/target/allwinner/mandolin-c1evb/configs/sys_config.fex @@ -498,11 +498,11 @@ screen0_output_mode = 2 screen0_output_format = 0 screen1_output_type = 1 -screen1_output_mode = 4 +screen1_output_mode = 8 fb0_format = 0 fb0_width = 480 -fb0_height = 896 +fb0_height = 864 fb1_format = 0 fb1_width = 0