Converting Your Plymouth Layer to PSplash
Based on the official documentation and your existing meta-custom layer structure, here’s how to modify it for PSplash (1).
1. Modify Your Layer Structure
Your existing layer structure is good. You’ll need to create a new directory for PSplash:
mkdir -p layers/meta-custom/recipes-core/psplash/psplash
mkdir -p layers/meta-custom/recipes-core/psplash/files
2. Create PSplash bbappend File
Create layers/meta-custom/recipes-core/psplash/psplash_git.bbappend (1):
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "file://lokbest_logo.png"
# Override the default logo
do_install:append() {
# Install custom logo as splash image
install -m 0644 ${WORKDIR}/lokbest_logo.png ${D}${datadir}/psplash/
}
3. Move Your Logo File
Copy your existing logo to the PSplash directory:
cp layers/meta-custom/recipes-core/plymouth/files/lokbest_logo.png \
layers/meta-custom/recipes-core/psplash/files/
4. Update Your local.conf
In your build/conf/local.conf, replace Plymouth with PSplash (1):
# Remove Plymouth and add PSplash
IMAGE_INSTALL:append = " psplash"
# Optional: Configure PSplash behavior
SPLASH_IMAGES = "file://lokbest_logo.png"
5. Plymouth Configuration Issue Resolution
Based on the community discussion, the Plymouth issue you encountered is related to missing drm support in the default PACKAGECONFIG (2). A community member resolved this by modifying the PACKAGECONFIG:
PACKAGECONFIG:append = " pango drm "
However, since you’re switching to PSplash, this configuration won’t be needed.
6. Kernel Parameters for Clean Boot
Your current kernel command line already has good parameters for hiding boot logs:
quiet loglevel=0 vt.global_cursor_default=0 vt.default_redraw=0
These parameters are properly configured for a clean boot experience on your Verdin iMX8MP.
7. Build Your Updated Image
After making these changes, rebuild your image (1):
$ bitbake <your-image>
8. Git Commit Requirements
Since you’re using a custom layer, ensure it’s properly version controlled (1):
cd layers/meta-custom
git add .
git commit -m "Convert from Plymouth to PSplash with custom logo"
Key Differences: Plymouth vs PSplash
- PSplash is simpler and has fewer dependencies than Plymouth
- PSplash works better with BSP 7.5 without requiring additional dracut dependencies
- PSplash provides basic splash screen functionality without the complexity of Plymouth themes
Your existing meta-custom layer structure is perfect for this conversion, and PSplash should work reliably on your Verdin iMX8MP with BSP 7.5.
Best regards, Toradex AI Assistant.
If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.