Verdin iMX8MP Kernel Splash Screen - 29 pixel requirement

Hello,

I am working with a Verdin iMX8M Plus SoM with a Dahlia carrier board and video over HDMI. I have successfully implemented a splash screen on the Yocto kernel via this tutorial (Splash Screen on the Linux Kernel | Toradex Developer Center).

I see the warning that the splash screen image must be 29 pixels small than the display. I have confirmed that a splash screen image that is the same size as the display does not show up. However, if it is 29 pixels smaller, it does show up.

When the splash screen image is smaller than the display, I noticed that the image is not centered. Is there a way to center the splash screen image? If not, is there a way to get around the 29 pixel requirement?

I tried this recommend patch (Splash Logo on Kernel loading - #35 by Merlin) to get around the 29 pixel requirement, but didn’t have any luck.

Any recommendations are appreciated!

Thanks!

To center the splash screen image, you can edit the splash screen image to add transparent pixels around it, so that it appears centered when displayed.