From 9d91548c4450984989997c6a86c1c2542f684781 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Tue, 23 Aug 2022 17:02:26 -0400 Subject: [PATCH] Fix init oops, and RG351P resolution oops. --- packages/sysutils/busybox/scripts/init | 2 ++ packages/ui/splash/package.mk | 2 +- projects/Rockchip/devices/RG351P/options | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 1bc0834e8..19afb8969 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -431,8 +431,10 @@ set_consolefont() { then setfont -C /dev/tty0 ter-v12n.psf elif [ "${hres}" -ge "640" ] && [ "${hres}" -lt "720" ] + then setfont -C /dev/tty0 ter-v14n.psf elif [ "${hres}" -ge "720" ] && [ "${hres}" -lt "1080" ] + then setfont -C /dev/tty0 ter-v18n.psf else setfont -C /dev/tty0 ter-v24n.psf diff --git a/packages/ui/splash/package.mk b/packages/ui/splash/package.mk index e8a0ede16..0ae5bf124 100644 --- a/packages/ui/splash/package.mk +++ b/packages/ui/splash/package.mk @@ -20,7 +20,7 @@ make_target() { } mksplash() { - SPLASH="${ROOT}/distributions/JELOS/splash/splash.png" + SPLASH="${ROOT}/distributions/${DISTRO}/splash/splash.png" if [ -n "${DISPLAY_RESOLUTION}" ] then convert ${SPLASH} -background none -resize ${DISPLAY_RESOLUTION} -gravity center -extent ${DISPLAY_RESOLUTION} ${1}/splash.png diff --git a/projects/Rockchip/devices/RG351P/options b/projects/Rockchip/devices/RG351P/options index eacdc5f18..365d93809 100644 --- a/projects/Rockchip/devices/RG351P/options +++ b/projects/Rockchip/devices/RG351P/options @@ -45,7 +45,7 @@ KERNEL_MAKE_EXTRACMD+=" rockchip/${DEVICE_DTB}.dtb" # Display Resolution - DISPLAY_RESOLUTION="320x240" + DISPLAY_RESOLUTION="320x480" # Mali GPU family MALI_FAMILY="bifrost-g31"