經驗分享-iMX6Q linux4.1.15 修改開機動畫方法

開機畫面很差看,動畫須要修改,且看 iMX6Q如何快速完成開機動畫的修改,html

如下方法基於 iMX6Q 系列OKMX6Q-C開發板測試,其它平臺請根據實際狀況修改linux

1.下載psplash:git clone git://git.yoctoproject.org/psplashgit

2.將圖片轉換成代碼文件:./make-image-header.sh **logo.png POKY,生成圖片文件**logo.c,**logo.hbash

3.修改**logo.c,將#include "psplash-poky-img.h"替換成#include "**logo.h"ide

4.製做autogen.sh腳本,用於生成Makefile,以下測試

#!/bin/bash動畫

aclocal網站

autoheaderhtm

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/目錄下,用於開機啓動。

若是不想顯示開機動畫,能夠編輯/etc/init.d/psplash.sh,註釋最後一行

1509y.png

到此就算結束了,更多知識分享,您能夠關注飛凌嵌入式官方網站的資訊欄目

https://www.forlinx.com/product/imx6-31.html

相關文章
相關標籤/搜索