cancel
Showing results for 
Search instead for 
Did you mean: 

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

MRall.1
Associate

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 ?

1 ACCEPTED SOLUTION

Accepted Solutions
Kevin HUBER
ST Employee

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Kevin HUBER
ST Employee

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.