Additional Troubleshooting for Plymouth Splash Screen Issues
Since the standard configuration isn’t working consistently, let’s explore some additional solutions that have been identified for Plymouth issues with Scarthgap BSP.
Updated Plymouth Configuration for Scarthgap
Based on community feedback, there have been specific issues with Plymouth in Scarthgap that require a modified approach. Try this updated plymouth_%.bbappend configuration (1):
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += " \
file://torizonlogo-white.png \
file://spinner.plymouth \
"
PACKAGECONFIG:append = " pango drm"
EXTRA_OECONF += "--with-udev --with-runtimedir=/run"
do_install:append () {
install -m 0644 ${WORKDIR}/torizonlogo-white.png ${D}${datadir}/plymouth/themes/spinner/watermark.png
install -m 0644 ${WORKDIR}/spinner.plymouth ${D}${datadir}/plymouth/themes/spinner/spinner.plymouth
}
Required Layer Addition
You’ll also need to add meta-initramfs to your bblayers.conf file (2), (1). This is a critical requirement that’s often missed.
Alternative Simplified Configuration
If the above doesn’t work, try this simplified approach that has resolved issues for other users (2):
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += " \
file://torizonlogo-white.png \
file://spinner.plymouth \
"
PACKAGECONFIG:append = " pango drm"
EXTRA_OECONF += "--with-udev --with-runtimedir=/run"
do_install:append () {
install -m 0644 ${WORKDIR}/torizonlogo-white.png ${D}${datadir}/plymouth/themes/spinner/watermark.png
install -m 0644 ${WORKDIR}/spinner.plymouth ${D}${datadir}/plymouth/themes/spinner/spinner.plymouth
}
Verification Steps
- Check Plymouth Theme Installation: After building, verify that your custom theme files are correctly installed in the target image
- Display Initialization: Ensure your display drivers are loaded early enough in the boot process to support Plymouth (2)
- Clean Build: Perform a complete clean build after making these configuration changes
Known Scarthgap Issues
There have been compilation and configuration issues specifically with Plymouth in BSP 7.x/Scarthgap that required these modified approaches (1). The key differences from earlier BSP versions include the need for the meta-initramfs layer and the specific PACKAGECONFIG settings.
Try implementing these changes and let me know if the splash screen appears more consistently.
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.