Shudown logo issue

Hi @sahil.tx ,
As per the discussion about the following thread i have logged in to my official mail account

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

It’s great to hear that you’ve successfully added a boot-up logo using Plymouth on your Verdin iMX8MP. To address the issue of the missing shutdown logo, let’s ensure that Plymouth is configured to handle shutdown splash screens as well.

Plymouth can display both boot and shutdown splash screens, but this requires specific configuration. Here are some steps you can follow to troubleshoot and configure the shutdown logo:

  1. Check Plymouth Configuration: Ensure that your Plymouth theme includes a shutdown splash screen. This typically involves having a separate image or animation for shutdown, similar to your boot-up configuration.

  2. Modify Yocto Recipe: In your Yocto build, ensure that the Plymouth recipe includes the shutdown logo. You might need to add or modify the Plymouth theme files to include shutdownlogo.png.

  3. Plymouth Service: Verify that the Plymouth service is correctly handling shutdown events. You can check the service configuration files to ensure that they are set to trigger the shutdown splash screen.

  4. Display Configuration: Since you are using a native LVDS display, ensure that the display settings are correctly configured to support the resolution and color depth of your shutdown logo.

  5. Debugging: Enable verbose logging for Plymouth to capture any errors or warnings during shutdown. This can provide insights into why the shutdown logo isn’t displaying.

By following these steps, you should be able to configure Plymouth to display a shutdown logo on your system. If you encounter specific errors or issues during this process, reviewing the Plymouth logs can be particularly helpful in diagnosing the problem.

Best regards,
Toradex AI Assistant.

Please, also check if these links can help you solve your problem:

Verdin AM62 native LVDS display issues.

Hi @sahil.tx
Any inputs on this?

Hi @prem0919 ,
I will update you by tomorrow

Hi @sahil.tx ,
Thank you.

Hi @prem0919 ,
What is the image version you used?

Hi @sahil.tx ,

root@verdin-imx8mp-15460523:~# cat /etc/os-release
ID=tdx-xwayland
NAME=“TDX Wayland with XWayland”
VERSION=“7.1.0-devel-20241218132739+build.0 (scarthgap)”
VERSION_ID=7.1.0-devel-20241218132739-build.0
VERSION_CODENAME=“scarthgap”
PRETTY_NAME=“TDX Wayland with XWayland 7.1.0-devel-20241218132739+build.0 (scarthgap)”
CPE_NAME=“cpe:/o:openembedded:tdx-xwayland:7.1.0-devel-20241218132739+build.0”

Hi @prem0919 ,
Also let me know what interface you have used to connect your display?
HDMI, MIPI DSI (DSI-to ?) or LVDS?

Hi @sahil.tx ,
we are using native-lvds.
Here we are facing issue like previously we used to get the custom splash screen but sometimes instead of custom splash screen, yocto project Image is reflecting.

Hi @sahil.tx ,
We are waiting for the reply.

Thanks & regards,
Prem0919

Hi @prem0919 ,
I was able to see the splash screen while rebooting and shutdown.
Start by editing the below plymouth .service files

ls /lib/systemd/system/plymouth*


lib/systemd/system/plymouth-halt.service   
/lib/systemd/system/plymouth-poweroff.service   
/lib/systemd/system/plymouth-read-write.service  
/lib/systemd/system/plymouth-start.service
/lib/systemd/system/plymouth-kexec.service 
/lib/systemd/system/plymouth-quit.service       
/lib/systemd/system/plymouth-reboot.service      
/lib/systemd/system/plymouth-switch-root-initramfs.service
/lib/systemd/system/plymouth-log.service    
/lib/systemd/system/plymouth-quit-wait.service  
/lib/systemd/system/plymouth.service             
/lib/systemd/system/plymouth-switch-root.service

Do the modification in plymouth-poweroff.service and plymouth-reboot.service for reboot and shutdown.
eg plymouth-reboot.service

[Service]
ExecStart=/sbin/plymouthd --mode=reboot  --kernel-command-line="splash plymouth.ignore-serial-consoles" --pid-file=/run/plymouth/pid --attach-to-session

save and reboot.
Let me know the results after testing.

Hi @sahil.tx ,

After modifying the service I can see the shutdown logo, but i am facing an issue that both boot and shutdown logos are displaying same image which i used for the boot logo.

Thanks in advance,
prem

Hi @prem0919,
This does not sounds like an issue. You just need to figure out how different splash image can be displayed ( I never tested it)