Page 1 of 1

[SOLVED] ODROID GameStation Turbo XU3/XU - Splash Screen

Unread postPosted: Sun Apr 29, 2018 12:02 am
by lukethor
I would like to replace at booting time the text that appears during booting for a splash screen for the GameStation Turbo that appears in this topic:

https://forum.odroid.com/viewtopic.php?f=98&t=7322

Is this possible. I tried the steps mentioned in plymouth but no luck so far.


plymouth-set-default-theme -l
details
fade-in
glow
script
solar
spinfinity
spinner
text
tribar


plymouth-set-default-theme -R spinfinity


update-initramfs -u


https://wiki.debian.org/plymouth

Re: ODROID GameStation Turbo XU3/XU - Splash Screen

Unread postPosted: Sun Apr 29, 2018 12:35 am
by meveric
plymouth is not very good supported on ARM and might not work correctly.
I think there's a possibility to display a single image at boot time, or playing a short video as soon as the system is running.
But I haven't tried either yet.

Re: ODROID GameStation Turbo XU3/XU - Splash Screen

Unread postPosted: Sun Apr 29, 2018 10:27 am
by lukethor
May I get some pointers so I can research that possibility?

Re: ODROID GameStation Turbo XU3/XU - Splash Screen

Unread postPosted: Sun May 13, 2018 8:34 pm
by lukethor
Here is the solution to the splash screen:

Install fbi
Code: Select all
sudo apt-get install fbi


Next, create an init.d script called "asplashscreen" in "/etc/init.d/".

Code: Select all
#! /bin/sh
### BEGIN INIT INFO
# Provides:          asplashscreen
# Required-Start:
# Required-Stop:
# Should-Start:     
# Default-Start:     S
# Default-Stop:
# X-Start-Before:    bootmisc
# Short-Description: Show custom splashscreen
# Description:       Show custom splashscreen
### END INIT INFO


do_start () {

    /usr/bin/fbi -T 1 -noverbose -a /etc/splash.png   
    exit 0
}

case "$1" in
  start|"")
    do_start
    ;;
  restart|reload|force-reload)
    echo "Error: argument '$1' not supported" >&2
    exit 3
    ;;
  stop)
    # No-op
    ;;
  status)
    exit 0
    ;;
  *)
    echo "Usage: asplashscreen [start|stop]" >&2
    exit 3
    ;;
esac

:





This line is important:

Code: Select all
# X-Start-Before:    bootmisc



Finally make the script executable and install it for init mode:

Code: Select all
chmod a+x /etc/init.d/asplashscreen

insserv /etc/init.d/asplashscreen

reboot

Re: ODROID GameStation Turbo XU3/XU - Splash Screen

Unread postPosted: Sun May 13, 2018 9:04 pm
by lukethor
If you need to get rid of all the messages at boot, just delete the console=tty1 from the /boot/boot.ini config file. Here is the boot.ini modified line that also avoids displaying the core logo at the top left corner


Code: Select all
#------------------------------------------------------------------------------------------------------
# Basic Ubuntu Setup. Don't touch unless you know what you are doing.
# --------------------------------



setenv bootrootfs "coherent_pool=2M console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repai
r=yes net.ifnames=0 quiet logo.nologo"


Also the timing to the display the splash the splash screen can be adjusted in the init.d script by adding the sleep command after running the fbi command. For example if you need to display the splash screen for 10 seconds then add sleep 10 to the procedure do_start():

Code: Select all
do_start () {

    /usr/bin/fbi -T 1 -noverbose -a /etc/splash.png
    sleep 10   
    exit 0
}

the fbi command is smart enough to determine in what frame buffer it needs to display the splash screen. Could you please post it as solved ?