Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4:configurations:change-boot-logo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
products:sbc:vim4:configurations:change-boot-logo [2022/07/06 02:17]
nick created
products:sbc:vim4:configurations:change-boot-logo [2023/06/13 06:56] (current)
hyphop [Introduction]
Line 1: Line 1:
 +{{indexmenu_n>20}}
  
-{{page>products:sbc:common:configurations:change-boot-logo}}+ 
 +~~tag>VIM4 logo~~ 
 +====== VIM4 Change Boot Logo ====== 
 + 
 +===== Introduction ===== 
 + 
 +Users can use a custom Boot-Logo to replace default Khadas Boot-logo, there we talk about U-Boot stage logo, which will be displayed first after reboot. 
 + 
 +/* 
 +This document mainly introduces how to Change Boot Logo. The document is divided into two parts, the first part is for the Ubuntu platform, and the second part is for the Android platform. 
 +*/ 
 +===== Linux ===== 
 + 
 +==== U-Boot Logo ==== 
 + 
 +The U-Boot logo is located at ''/usr/share/fenix/logo/logo.bmp''
 +The image format is BMP with a resolution of ''500x500px'' and a bit-depth of ''24 bits''
 + 
 +You can use Terminal to check the default logo image format: 
 + 
 +```shell 
 +$ file /usr/share/fenix/logo/logo.bmp 
 +/usr/share/fenix/logo/logo.bmp: PC bitmap, Windows 3.x format, 500 x 500 x 24, image size 750002, resolution 2834 x 2834 px/m, cbSize 750056, bits offset 54 
 +``` 
 + 
 +You can replace the default logo with your own **BMP** image. 
 + 
 +===== Android ===== 
 + 
 +==Image format:== 
 +  * 16bit RGB565 (BMP) 
 +==Resolution:== 
 +  * must be less 1080P (1920x1080 px) 
 + 
 +## Change Boot-Logo by ADB shell 
 + 
 +```shell Change Boot Logo by ADB shell 
 +$ adb root 
 +$ adb remount 
 +$ adb push xxx.bmp /mnt/vendor/odm_ext/logo_files/bootup.bmp 
 +$ adb shell sync 
 +$ adb reboot 
 +``` 
 + 
 +## Change Boot-Logo by Upgrading the Firmware 
 + 
 +<tabbox VIM1S>  
 +1. Replace the ''device/khadas/kvim1s/logo_img_files/bootup.bmp'' logo file. 
 + 
 +2. Build upgrade package: 
 +```shell  
 +$ cd PATH_YOUR_PROJECT 
 +$ rm -rf out/target/product/kvim1s/ 
 +$ source build/envsetup.sh 
 +$ lunch kvim1s-userdebug 
 +$ make installclean -j8 
 +$ make otapackage -j8 
 +``` 
 + 
 +<tabbox VIM4> 
 +1. Replace the ''device/khadas/kvim4/logo_img_files/bootup.bmp'' logo file. 
 + 
 +2. Build upgrade package: 
 +```shell 
 +$ cd PATH_YOUR_PROJECT 
 +$ rm -rf out/target/product/kvim4/ 
 +$ source build/envsetup.sh 
 +$ lunch kvim4-userdebug 
 +$ make installclean -j8 
 +$ make otapackage -j8 
 +``` 
 +</tabbox> 
 + 
 +3. Burn update.img to your SBC, you can refer [[products:sbc:vim4:install-os:install-os-into-emmc-via-usb-tool|How To Upgrade]]. Restart for changes to take effect. 
 +  
 +<WRAP important > 
 +  * Replace ''PATH_YOUR_PROJECT'' to your project path 
 +</WRAP>
Last modified: 2022/07/06 02:17 by nick