This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:vim4:configurations:change-boot-logo [2022/07/12 04:47] hyphop |
products:sbc:vim4:configurations:change-boot-logo [2023/06/13 06:56] (current) hyphop [Introduction] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
+ | |||
+ | |||
~~tag> | ~~tag> | ||
- | ====== Change Boot Logo ====== | + | ====== |
===== Introduction ===== | ===== 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. | 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. | ||
- | + | */ | |
- | ===== Ubuntu | + | ===== Linux ===== |
==== U-Boot Logo ==== | ==== U-Boot Logo ==== | ||
The U-Boot logo is located at ''/ | The U-Boot logo is located at ''/ | ||
- | The image format is BMP with a resolution of '' | + | The image format is BMP with a resolution of '' |
You can use Terminal to check the default logo image format: | You can use Terminal to check the default logo image format: | ||
Line 24: | Line 30: | ||
===== Android ===== | ===== 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 / | ||
+ | $ adb shell sync | ||
+ | $ adb reboot | ||
+ | ``` | ||
+ | |||
+ | ## Change Boot-Logo by Upgrading the Firmware | ||
+ | |||
+ | <tabbox VIM1S> | ||
+ | 1. Replace the '' | ||
+ | |||
+ | 2. Build upgrade package: | ||
+ | ```shell | ||
+ | $ cd PATH_YOUR_PROJECT | ||
+ | $ rm -rf out/ | ||
+ | $ source build/ | ||
+ | $ lunch kvim1s-userdebug | ||
+ | $ make installclean -j8 | ||
+ | $ make otapackage -j8 | ||
+ | ``` | ||
+ | |||
+ | <tabbox VIM4> | ||
+ | 1. Replace the '' | ||
+ | |||
+ | 2. Build upgrade package: | ||
+ | ```shell | ||
+ | $ cd PATH_YOUR_PROJECT | ||
+ | $ rm -rf out/ | ||
+ | $ source build/ | ||
+ | $ lunch kvim4-userdebug | ||
+ | $ make installclean -j8 | ||
+ | $ make otapackage -j8 | ||
+ | ``` | ||
+ | </ | ||
+ | 3. Burn update.img to your SBC, you can refer [[products: | ||
+ | |||
+ | <WRAP important > | ||
+ | * Replace '' | ||
+ | </ |