From 2aaffcfa2780b85eacbb04b2dca26856da24f870 Mon Sep 17 00:00:00 2001 From: Apaczer <94932128+Apaczer@users.noreply.github.com> Date: Tue, 16 May 2023 22:37:26 +0200 Subject: [PATCH] [BOARD] update st7789sfb video driver long initialization fix --- board/miyoo/boot/normalboot.custom.sh | 6 ++++-- board/miyoo/rootfs/etc/main | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/board/miyoo/boot/normalboot.custom.sh b/board/miyoo/boot/normalboot.custom.sh index 1646f506..24ea9d71 100644 --- a/board/miyoo/boot/normalboot.custom.sh +++ b/board/miyoo/boot/normalboot.custom.sh @@ -1,5 +1,7 @@ # expected to be run from this directory # LOGS variable is set, but it should usually be /dev/null # CONSOLE_VARIANT is also set -# -daemon >> "${LOGS}" 2>&1 \ No newline at end of file +# launch daemon +daemon >> "${LOGS}" 2>&1 +# st7789sfb video driver long initialization fix +echo " " \ No newline at end of file diff --git a/board/miyoo/rootfs/etc/main b/board/miyoo/rootfs/etc/main index aabf0501..f0fdf148 100755 --- a/board/miyoo/rootfs/etc/main +++ b/board/miyoo/rootfs/etc/main @@ -118,9 +118,6 @@ fi # run boot logo animation if (!(grep -q BOOT_LOGO\=\0 "${HOME}/options.cfg")); then ${BOOTLOGO} >> "${LOGS}" 2>&1 - #st7789s video driver long initialization fix -elif (lsmod | grep -q st7789s); then - sleep 1 fi # can't unmount boot because 'daemon' runs from it - but it's mounted read-only