以下方法基于瑞薩RZ/G2L系列HD-G2L-IOT開發板測試.
1.搭建psplash開發環境
下載psplash源碼包.
gitclonegit://git.yoctoproject.org/psplash
![1.png](https://file1.elecfans.com/web2/M00/A1/99/wKgaomTsVQKAVVNCAAAuc3QxJ5g088.png)
2.進入到psplash源碼目錄下
3.將圖片轉換為代碼文件
./make-image-header.shlogo.pngPOKY//其中logo.png為需要更改為啟動顯示的圖片
執行上面命令后,會生成一個logo-img.h文件.
4.注釋并添加頭文件
在該目錄下,打開psplash文件,注釋掉以下頭文件并添加生成的logo-img.h文件,保存退出.
![2.png](https://file1.elecfans.com/web2/M00/A0/4F/wKgZomTsVQOAdutgAAAbx_sQKBs400.png)
5.制作用于生成Makefile腳本
touchautogen.sh
viautogen.sh
在autogen.sh文件中添加以下代碼,保存并退出,給予可執行權限.
#!/bin/bash
aclocal
autoheader
automake--add-missing
autoconf
6.生成Makefile
./autogen.sh
![3.png](https://file1.elecfans.com/web2/M00/A0/4F/wKgZomTsVQKALhfTAAAePAacCDQ681.png)
7.配置交叉編譯環境
source/opt/poky/3.1.14/environment-setup-aarch64-poky-linux
./configure-host=aarch64-poky-linux-gcc
![4.png](https://file1.elecfans.com/web2/M00/A1/99/wKgaomTsVQKATHX8AAAVUEbAPVE803.png)
8.執行make
執行make命令生成psplash與psplash-write文件.
9.拷貝生成的文件
將生成psplash與psplash-write文件拷貝至板卡根文件系統下的/usr/bin目錄下替換原來的文件并使用sync命令保存.
10.重啟
![5.jpg](https://file1.elecfans.com/web2/M00/A1/99/wKgaomTsVQOARBhJAAEUpy44PdI953.jpg)
左圖為未改的開機畫面,右圖為修改后的開機畫面
-
瑞薩
+關注
關注
35文章
22312瀏覽量
86827 -
開發
+關注
關注
0文章
370瀏覽量
40937 -
開發板
+關注
關注
25文章
5134瀏覽量
98333
發布評論請先 登錄
相關推薦
如何快速創建用戶自定義Board和App工程
![如何快速創建用戶<b class='flag-5'>自定義</b>Board和App工程](https://file.elecfans.com/web2/M00/37/D7/pYYBAGI9l9uAOwALAAAmFmqVYdg094.png)
think-cell:自定義think-cell(四)
![think-cell:<b class='flag-5'>自定義</b>think-cell(四)](https://file1.elecfans.com/web3/M00/05/B8/wKgZPGeEfMmANJETAAAVy8_tFjA502.jpg)
think-cell;自定義think-cell(一)
![think-cell;<b class='flag-5'>自定義</b>think-cell(一)](https://file1.elecfans.com/web3/M00/05/35/wKgZPGd98hCANIyfAAA-8kRrUjY536.png)
TSMaster 自定義 LIN 調度表編程指導
![TSMaster <b class='flag-5'>自定義</b> LIN 調度表編程指導](https://file.elecfans.com/web2/M00/40/07/pYYBAGJrUk2AaMaTAAAQONQtdzo461.jpg)
HarmonyOS開發案例:【UIAbility和自定義組件生命周期】
![HarmonyOS開發案例:【UIAbility和<b class='flag-5'>自定義</b>組件生命周期】](https://file1.elecfans.com/web2/M00/C8/E9/wKgaomYX896ABxHEAADUhWgAb6k167.jpg)
RZ/G2L Demo調試經驗流程分享(1)
![<b class='flag-5'>RZ</b>/<b class='flag-5'>G2L</b> Demo調試經驗流程分享(1)](https://file1.elecfans.com/web2/M00/E1/6A/wKgaomY4eEqAWBOeAAAxOi0H_9o441.png)
評論