Skip to main content
Visitor II
December 1, 2021
Solved

How to enable the kernel splashscreen on STM32MP157 board , kernel 5.4 and LCD RGB interface ?

  • December 1, 2021
  • 1 reply
  • 1247 views

Hi,

I'm using a STM32MP157a with yocto dunfell with 5.4 kernel version, and I'm trying to enable the kernel splashscreen. On my board I'm using the RBG lcd interface, and when the system is UP my application in showing curretly. On kernel config I have enabled the flags:

LOGO

LOGO_LINUX_CLUT224

FRAMEBUFFER_CONSOLE

but no tux are showing at startup...

Where I'm wrong ?

    This topic has been closed for replies.
    Best answer by Kevin HUBER

    Hi @MRall.1​ ,

    To enable the spashscreen when building from Yocto, you have to build these two recipes:

    • layers/meta-st/meta-st-openstlinux/recipes-core/psplash/psplash-drm
    • layers/openembedded-core/meta/recipes-core/psplash

    The file psplash-drm.bb adds the file psplash-drm-start.service to your filesystem.

    Once you are on the board, you must have something like that (I am on OpenSTLinux 5.10 so some paths may be different):

    root@stm32mp1:/# find -name "psplash*"
    ./etc/systemd/system/local-fs.target.wants/psplash-drm-start.service
    ./lib/systemd/system/psplash-drm-start.service
    ./usr/bin/psplash-drm
    ./usr/bin/psplash-drm-quit
    ./var/lib/dpkg/info/psplash-drm.list
    ./var/lib/dpkg/info/psplash-drm.md5sums
    ./var/lib/dpkg/info/psplash-drm.postinst
    ./var/lib/dpkg/info/psplash-drm.prerm

    Hope it helps,

    Regards,

    Kevin

    1 reply

    Technical Moderator
    January 10, 2022

    Hi @MRall.1​ ,

    To enable the spashscreen when building from Yocto, you have to build these two recipes:

    • layers/meta-st/meta-st-openstlinux/recipes-core/psplash/psplash-drm
    • layers/openembedded-core/meta/recipes-core/psplash

    The file psplash-drm.bb adds the file psplash-drm-start.service to your filesystem.

    Once you are on the board, you must have something like that (I am on OpenSTLinux 5.10 so some paths may be different):

    root@stm32mp1:/# find -name "psplash*"
    ./etc/systemd/system/local-fs.target.wants/psplash-drm-start.service
    ./lib/systemd/system/psplash-drm-start.service
    ./usr/bin/psplash-drm
    ./usr/bin/psplash-drm-quit
    ./var/lib/dpkg/info/psplash-drm.list
    ./var/lib/dpkg/info/psplash-drm.md5sums
    ./var/lib/dpkg/info/psplash-drm.postinst
    ./var/lib/dpkg/info/psplash-drm.prerm

    Hope it helps,

    Regards,

    Kevin