Splash screen with dietsplash

I am trying to make dietsplash work …

First:

I disabled the Device Drivers → Graphics support → Bootup logo with bitbake virtual/kernel -c menuconfig

Second:

I added to my local.conf:

IMAGE_INSTALL_append = " nano dietsplash"

and it works I can see the /bin/dietsplash and /usr/bin/dietsplashctl

Then I created my image

The dietsplash git page states:

The easiest way to have dietsplash up and running on your system (without even requiring an initrd
image) is to use it as an init wrapper.
All you have to do is to install dietsplash and append ‘init=/bin/dietsplash’
to your kernel command line. During compilation dietsplash will detect the real
init used on system pass the correct.

So I added to my kernel command line:

root@b2qt-apalis-imx6:~# cat /proc/cmdline
enable_wait_mode=off vmalloc=400M ip=off root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fec_mac=00:14:2d:4d:3a:37 consoleblank=0 no_console_suspend=1 console=ttymxc0,115200n8 init=/bin/dietsplash mxc_hdmi.only_cea=1 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M

But I only see a black screen

root@b2qt-apalis-imx6:~# uname -a
Linux b2qt-apalis-imx6 4.1.44-2.7.5+g18717e2b1ca9 #1 SMP Wed Feb 13 15:50:39 CST 2019 armv7l armv7l armv7l GNU/Linux

Has anyone has had any successful experience with dietsplash? Thanks

hi @q325mg

Could you provide the version of the Hardware of your module and the version of the carrier board?

We don’t have experience using dietsplash. Could you cross compile dietsplash and install it on our regular LXDE Images and check if you still have the issue?

Please share also a complete dmesg log in a file.

Thanks,
Jaski

Hi @jaski.tx

I am using:

  • Apalis Evaluation Board V1.1A
  • Apalis iMX6D 1GB IT V1.1A

I cross compile dietsplash:

git clone https://github.com/lucasdemarchi/dietsplash
cd dietsplash
./bootstrap
. /opt/oecore-x86_64/environment-setup-armv7at2hf-neon-angstrom-linux-gnueabi
./configure --host=arm
make
FAILED because 'genstaticlogo' was compiled with arm-linux-gcc
Copy genstaticlogo created from gcc in Ubuntu host
make
make DESTDIR="${PWD}/install" install
cd install
tar -czvpf ~/dietsplash.tar.gz * --owner=root --group=root
scp ~/dietsplash.tar.gz root@192.168.1.20:/home/root/.
ssh root@192.168.1.20
tar -xzvf dietsplash.tar.gz -C /

I change setup u boot variable:

setenv setup 'setenv setupargs fec_mac=${ethaddr} consoleblank=0 no_console_suspend=1 console=null console=${console},${baudrate}n8'

and also included the init=/bin/dietsplash

root@apalis-imx6:~# uname -a
Linux apalis-imx6 4.9.87-2.8.4+g3bb6e3284a1b #1 SMP Fri Jan 18 00:00:31 UTC 2019 armv7l GNU/Linux
root@apalis-imx6:~# cat /proc/cmdline
vmalloc=400M user_debug=30 ip=off root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fec_mac=00:14:2d:4d:3a:37 consoleblank=0 no_console_suspend=1 console=null console=ttymxc0,115200n8 init=/bin/dietsplash mxc_hdmi.only_cea=1 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M

Now I can see the Linux logo but it gets stuck there, the LXDE enviroment never starts.

There is /lib/systemd/system/multi-user.target.wants/dietsplash-quit.service, I am guessing is never executed but I am not sure yet

dmesg.txt

Can you login using the console? If yes, you can try to kill dietsplash and check if LXDE environment is starting?

dietsplash process does not exist to be killed

ps_fA.txt

Hi
Thanks for this Information. Are you able to start the LXDE Environment manually?
Could you share the dietsplash*.service files?

@q325mg: were you able to run animated splash?