User-Interactive Plymouth on Verdin iMX8MP

Hi,
I am working on a Verdin iMX8MP module with a custom Yocto-based image.

Currently, I have implemented a Plymouth splash screen successfully. My goal is to implement a simple confirmation screen during boot.
The idea is to show a Yes/No prompt.

I would like to understand the following:
1 . Could you please suggest the recommended steps to properly implement such a confirmation flow in a Yocto-based image for this module?
2. Is using a script-based Plymouth theme recommended for implementing a simple interactive Yes/No prompt during early boot?
3. During the Plymouth stage on Verdin iMX8MP (DRM/KMS backend), is user input limited to keyboard only, or are mouse/touchscreen inputs also supported at that stage?

Thank you in advance for your guidance.

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I can provide information about Plymouth splash screens on Verdin iMX8MP, but the documentation doesn’t cover interactive confirmation screens or input handling during the Plymouth stage.

What the Documentation Covers

The Toradex documentation explains how to add custom splash screens using Plymouth (1). Plymouth is designed to run early in the boot process and display graphical animations while the kernel boots (1). It’s specifically designed for systems with DRM modesetting drivers and sets the native mode early to avoid flickering (1).

For Verdin iMX8MP, the documentation shows how to configure Plymouth with custom themes using a plymouth_%.bbappend file (1):

FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI += " \
    file://torizonlogo-white.png \
    file://spinner.plymouth \
"

PLYMOUTH_THEMES = "spinner"
PACKAGECONFIG = "drm udev ${PLYMOUTH_THEMES} ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"

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
}

(1)

What’s Not Covered in the Documentation

The available documentation doesn’t provide specific information about:

  1. Implementing interactive confirmation screens during Plymouth boot stage
  2. Input handling capabilities (keyboard, mouse, touchscreen) during Plymouth execution
  3. Script-based Plymouth themes for interactive prompts
  4. User input processing during early boot on Verdin iMX8MP

Alternative Approaches

Since Plymouth is primarily designed for splash screens rather than interactive prompts, you might need to consider implementing your confirmation screen at a later boot stage when full input subsystems are available, or explore custom init scripts that run after basic hardware initialization.

For more detailed implementation of interactive boot-time interfaces, you may need to consult the Plymouth official documentation referenced in the Toradex guide (1).

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.