diff --git a/buildroot-external/board/raspberrypi/config.txt b/buildroot-external/board/raspberrypi/config.txt index 38cbf8db..451af7e9 100644 --- a/buildroot-external/board/raspberrypi/config.txt +++ b/buildroot-external/board/raspberrypi/config.txt @@ -11,7 +11,12 @@ kernel=zImage # Disable overscan assuming the display supports displaying the full resolution # If the text shown on the screen disappears off the edge, comment this out -# disable_overscan=1 +disable_overscan=1 +hdmi_group=1 +hdmi_mode=4 + +# uncomment if you get no picture on HDMI for a default "safe" mode +# hdmi_safe=1 # How much memory in MB to assign to the GPU on Pi models having # 256, 512 or 1024 MB total memory diff --git a/buildroot-external/configs/mycroftos_rpi3_defconfig b/buildroot-external/configs/mycroftos_rpi3_defconfig index 67fca2f7..aa0615b5 100644 --- a/buildroot-external/configs/mycroftos_rpi3_defconfig +++ b/buildroot-external/configs/mycroftos_rpi3_defconfig @@ -14,6 +14,7 @@ BR2_TARGET_GENERIC_ISSUE="Welcome to MycroftOS" BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y BR2_TARGET_GENERIC_ROOT_PASSWD="mycroft" BR2_SYSTEM_BIN_SH_BASH=y +# BR2_TARGET_GENERIC_GETTY is not set BR2_SYSTEM_DHCP="eth0" BR2_ENABLE_LOCALE_WHITELIST="C en_US en_US.UTF8" BR2_GENERATE_LOCALE="en_US en_US.UTF-8" @@ -78,6 +79,7 @@ BR2_PACKAGE_PKGCONF=y BR2_PACKAGE_E2FSPROGS=y BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y BR2_PACKAGE_NTFS_3G=y +BR2_PACKAGE_FBV=y BR2_PACKAGE_RPI_BT_FIRMWARE=y BR2_PACKAGE_RPI_FIRMWARE=y BR2_PACKAGE_RPI_FIRMWARE_X=y @@ -127,8 +129,6 @@ BR2_PACKAGE_LIBOPENSSL_BIN=y BR2_PACKAGE_LIBOPENSSL_ENGINES=y BR2_PACKAGE_LIBCONFIG=y BR2_PACKAGE_LIBNFS=y -BR2_PACKAGE_JPEG=y -BR2_PACKAGE_LIBPNG=y BR2_PACKAGE_BCM2835=y BR2_PACKAGE_WIRINGPI=y BR2_PACKAGE_LIBMPEG2=y diff --git a/buildroot-external/rootfs-overlay/etc/init.d/S00asplash b/buildroot-external/rootfs-overlay/etc/init.d/S00asplash new file mode 100755 index 00000000..2c52ed5f --- /dev/null +++ b/buildroot-external/rootfs-overlay/etc/init.d/S00asplash @@ -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 $? diff --git a/buildroot-external/rootfs-overlay/opt/mycroft/splash/boot.png b/buildroot-external/rootfs-overlay/opt/mycroft/splash/boot.png new file mode 100644 index 00000000..d0f14d47 Binary files /dev/null and b/buildroot-external/rootfs-overlay/opt/mycroft/splash/boot.png differ