Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 294

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report