Changing the splash screen picture

Aus BECOM Systems Support
Version vom 31. Oktober 2023, 09:03 Uhr von Peter (Diskussion | Beiträge) (1 Version importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

How to enable the splash screen

By default, the splash screen is disabled by the kernel argument

psplash=false

To enable it, simply delete this string from the list of kernel arguments (Redboot!)

Exchange the picture

We assume that you have ready a .png image with the same dimensions as your screen resolution.

Change to the following directory:

openembedded/recipes/psplash/files/angstrom

and execute the following:

./make-image-header.sh [your-image].png HAND

This will create a file called [your-image]-img.h. Now replace the old psplash-hand-img.h in the same directory by your newly created file:

mv psplash-hand-img.h psplash-hand-img.h_orig
mv [your-image]-img.h psplash-hand-img.h

Now go to your btmxc directory and rebuild psplash-angstrom and your image:

cd ~/oe/btmxc/
. oeenv
. bitbakeenv
bitbake -c clean psplash-angstrom sbc-imx51-console-image
bitbake sbc-imx51-console-image

That's it!

Acknowledgment

Thanks to Alex Nancekievill for these instructions!