imax6q项目:使用psplash制作开机动画

来源:互联网 发布:java锁的种类 编辑:程序博客网 时间:2024/05/19 02:29
1.下载psplash:git clone git://git.yoctoproject.org/psplash
2.将图片转换成代码文件:./make-image-header.sh xxxlogo.png POKY,生成图片文件xxxlogo.c,xxxlogo.h
3.修改xxxlogo.c,将#include "psplash-poky-img.h"替换成#include "xxxlogo.h"
4.制作autogen.sh脚本,用于生成Makefile,如下
#!/bin/bash
aclocal
autoheader
automake --add-missing
autoconf
5.生成Makefile:./autogen.sh
6.配置交叉编译库:./configure --host=arm-linux CC=arm-linux-gnueabihf-g
7.执行make:生成psplash与psplash-write。
8.将psplash与psplash-write拷贝到根文件系统/usr/bin/目录下。
9.psplash.sh脚本在根文件系统/etc/init.d中,此项已经存在。
10.psplash.sh的链接在根文件系统/etc/rcS.d/目录下,用于开机启动。
原创粉丝点击