1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-11 08:36:13 +01:00

MycroftOS: Show a boot splash as early as possible in the bootproces

A clean "empty splash.png at boot however the same fbv code can be
used later on in the develoment and proces to show the user where
in the boot / configuration proces we are at.
- "Connect to wifi SSID" user information for the wifi configuration
- But also possible other cofiguration step later on in the wizard
This commit is contained in:
Peter Steenbergen 2018-11-06 13:59:01 +01:00
parent 42e80786a7
commit 0d1ea12fc0
4 changed files with 24 additions and 3 deletions

View File

@ -11,7 +11,7 @@ kernel=zImage
# Disable overscan assuming the display supports displaying the full resolution # Disable overscan assuming the display supports displaying the full resolution
# If the text shown on the screen disappears off the edge, comment this out # If the text shown on the screen disappears off the edge, comment this out
# disable_overscan=1 disable_overscan=1
# How much memory in MB to assign to the GPU on Pi models having # How much memory in MB to assign to the GPU on Pi models having
# 256, 512 or 1024 MB total memory # 256, 512 or 1024 MB total memory

View File

@ -78,6 +78,7 @@ BR2_PACKAGE_PKGCONF=y
BR2_PACKAGE_E2FSPROGS=y BR2_PACKAGE_E2FSPROGS=y
BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
BR2_PACKAGE_NTFS_3G=y BR2_PACKAGE_NTFS_3G=y
BR2_PACKAGE_FBV=y
BR2_PACKAGE_RPI_BT_FIRMWARE=y BR2_PACKAGE_RPI_BT_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE=y BR2_PACKAGE_RPI_FIRMWARE=y
BR2_PACKAGE_RPI_FIRMWARE_X=y BR2_PACKAGE_RPI_FIRMWARE_X=y
@ -127,8 +128,6 @@ BR2_PACKAGE_LIBOPENSSL_BIN=y
BR2_PACKAGE_LIBOPENSSL_ENGINES=y BR2_PACKAGE_LIBOPENSSL_ENGINES=y
BR2_PACKAGE_LIBCONFIG=y BR2_PACKAGE_LIBCONFIG=y
BR2_PACKAGE_LIBNFS=y BR2_PACKAGE_LIBNFS=y
BR2_PACKAGE_JPEG=y
BR2_PACKAGE_LIBPNG=y
BR2_PACKAGE_BCM2835=y BR2_PACKAGE_BCM2835=y
BR2_PACKAGE_WIRINGPI=y BR2_PACKAGE_WIRINGPI=y
BR2_PACKAGE_LIBMPEG2=y BR2_PACKAGE_LIBMPEG2=y

View File

@ -0,0 +1,22 @@
#!/bin/sh
#
# Loading boot splash
#
start() {
printf "Loading boot splash ..."
cat /dev/zero 1> /dev/fb0 2>/dev/null
fbv -f -d 1 /opt/mycroft/splash/boot.png > /dev/null 2>&1
echo "[OK]"
}
case "$1" in
start)
start
;;
*)
echo "Usage: $0 {start}"
exit 1
esac
exit $?

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB