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:
parent
42e80786a7
commit
0d1ea12fc0
@ -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
|
||||||
|
@ -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
|
||||||
|
22
buildroot-external/rootfs-overlay/etc/init.d/S00asplash
Executable file
22
buildroot-external/rootfs-overlay/etc/init.d/S00asplash
Executable 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 $?
|
BIN
buildroot-external/rootfs-overlay/opt/mycroft/splash/boot.png
Normal file
BIN
buildroot-external/rootfs-overlay/opt/mycroft/splash/boot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 118 KiB |
Loading…
Reference in New Issue
Block a user