Get the App
SLTechnology News&Howtos  ›  Servers  › 

SAIL-IMX6 linux4.1.15 boot animation has to see the complete tutorial

Shulou Source: shulou.com Published: 2022-06-03 01:21:10 09月22日 Update

Here comes the point! Many friends have difficulties in modifying the sail-imx6 linux4.1.15 boot animation. Now let's take the following steps to overcome this small difficulty.

1. Download psplash:git clone git://git.yoctoproject.org/psplash

two。 Convert the picture to a code file:. / make-image-header.sh

Logo.png POKY, generate the picture file logo.c,**logo.h

3. Modify logo.c to replace # include "psplash-poky-img.h" with # include "logo.h"

4. Make an autogen.sh script to generate Makefile, as follows

#! / bin/bash

Aclocal

Autoheader

Automake-add-missing

Autoconf

5. Generate Makefile:./autogen.sh

6. Configure cross compilation library:. / configure--host=arm-linux CC=arm-linux-gnueabihf-gcc

7. Execute make: generate psplash and psplash-write.

8. Copy psplash and psplash-write to the root file system / usr/bin/ directory.

The 9.psplash.sh script is in the root file system / etc/init.d, and this item already exists.

The link to 10.psplash.sh is located in the root file system / etc/rcS.d/ directory for boot.

If you don't want to show the boot animation, you can edit / etc/init.d/psplash.sh and comment on the last line. As shown in the following figure:

Tags: File generation system animation picture directory script one line code guy buddy copy time step comment key link difficulty face cross Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology Docker OPPO Reno NVidia