Plymouth bootanimation not showing up

Hi Rania,

I start by saying that I worked on Apalis IMX6 Toradex BSP 6.4 and not Torizon, but I think there is no difference regarding the Plymouth utility.

Once Plymouth is installed in the OS (I added it to the Yocto recipe) and deployed to the target,

I edited some files directly in the filesystem connecting via ssh (Bitwise ssh client):

To get rid of the boot log text:

$ fw_setenv tdxargs “quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:1”

To close the splash screen as late as possible:

In /lib/systemd/system/plymouth-quit.service file add ‘wayland-app-launch.service’ into After dependencies

In /lib/systemd/system/getty@service file delete ‘plymouth-quit-wait.service’ from Ater dependencies

In /lib/systemd/system/weston.service delete (or comment #) the row After=plymouth-quit-wait.service

With these tweaks on my system there is no text at boot and splash image stays onscreen up to the launch of the GUI app.

Onestly there is a black screen of about 2 seconds between the splash screen and the GUI app, but this is enough for me.

More, it can be useful for you:

I overwritten the image watermark.png image in /usr/share/plymouth/themes/spinner/ with mine

And to set the position onscreen I edited the file /usr/share/plymouth/themes/spinner/spinner.plymouth

And at [two-step] section I put:

WatermarkVerticalAlignment=.5

to have the image centered.

Hope to help

Happy Christmas

Pipe

1 Like