The psplash application can be used to load a boot image to the screen while the kernel is booting.
In order to change the boot logo, you need to recompile psplash after preparing your boot logo.
For your first time, please try a small simple picture (e.g. a 100x100 square) to test your process. Then, you can change it to your actual image. Please make sure your image is no larger than the size of your screen.
First, make sure the GDK pixbuf2 library is installed:
$ sudo dnf install gdk-pixbuf2-devel
for Fedora or
$ apt-get install libgdk-pixbuf2.0-dev
Then, download the
psplash source code and setup your environment:
$ git clone https://git.yoctoproject.org/psplash $ cd psplash $ source /opt/criticallink/mitysom-335x_2020-08-20/environment-setup-cortexa8t2hf-neon-criticallink-linux-gnueabi
Note: Your environment setup path may differ based on the MDK version you installed.
./make-image-header.sh script included in the source code to create a new header file with your new image:
./make-image-header.sh <path_to_image_file> POKY
Note: Just use POKY for the last option. You can use a jpeg file for the image file.
make-image-header.sh command will generate the header file with the image contents (
psplash.c file and replace this line:
$ autoreconf -i $ ./configure --host=arm-criticallink-linux-gnueabi- $ make
psplash file in your target root filesystem with the new
psplash binary created by the
Go to top