This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:configurations:change-boot-logo [2024/12/18 01:34] xiong [Android] |
products:sbc:common:configurations:change-boot-logo [2026/02/02 05:04] (current) gray update by using AI |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This document | + | This document |
| ===== Linux ===== | ===== Linux ===== | ||
| <WRAP info > | <WRAP info > | ||
| - | Our official Ubuntu image will display 3 logos during system boot: | + | The official |
| * U-Boot logo | * U-Boot logo | ||
| - | * Kernel | + | * Linux kernel |
| - | * Ubuntu logo | + | * Plymouth (Ubuntu) boot splash |
| </ | </ | ||
| Line 17: | Line 17: | ||
| The U-Boot logo is located at ''/ | The U-Boot logo is located at ''/ | ||
| - | The image format is BMP with a resolution of '' | ||
| - | You can use Terminal | + | The required image format is BMP with a resolution of '' |
| + | |||
| + | You can use the terminal | ||
| ```shell | ```shell | ||
| $ file / | $ file / | ||
| + | ``` | ||
| + | Example output: | ||
| + | ``` | ||
| / | / | ||
| ``` | ``` | ||
| - | You can replace the default logo with your own **BMP** image. | + | To change it, simply |
| ==== Linux Kernel Logo ==== | ==== Linux Kernel Logo ==== | ||
| - | Use the netpbm tool to convert | + | Use the netpbm tool to convert |
| ```shell | ```shell | ||
| Line 37: | Line 41: | ||
| $ pnmtoplainpnm linux_logo_clut224.pnm > logo_linux_clut224.ppm | $ pnmtoplainpnm linux_logo_clut224.pnm > logo_linux_clut224.ppm | ||
| ``` | ``` | ||
| - | Put the converted | + | Place the generated '' |
| - | Re-compile | + | Recompile |
| - | ==== Ubuntu Logo ==== | + | ==== Plymouth (Ubuntu |
| - | The Ubuntu | + | The Plymouth |
| - | If you’ve [[/ | + | If you are [[/ |
| ===== Android ===== | ===== Android ===== | ||
| - | Because RK merged the logo partition | + | Starting from Android 10, Rockchip |
| - | + | ==== Logo Format Requirements==== | |
| - | ===== Logo format ===== | + | |
| <WRAP info > | <WRAP info > | ||
| - | *Where is original logo file | + | * **Source Location:** The original logo file in the Android source code is located at '' |
| - | Logo file is stored | + | * **Required Format:** |
| - | + | * 16-bit | |
| - | *BMP format, should be: | + | * Resolution |
| - | *16bit RGB565 BMP format | + | |
| - | *Resolution | + | |
| </ | </ | ||
| - | ===== Instructions ===== | + | ==== Update Logo via ADB ==== |
| - | We use the adb command to push the prepared logo.bmp to the motherboard path / | + | You can push a prepared |
| + | ```shell | ||
| + | $ adb root | ||
| + | $ adb remount | ||
| + | $ adb push logo.bmp / | ||
| + | $ adb reboot | ||
| + | ``` | ||
| + | |||
| + | Example command output: | ||
| ```shell | ```shell | ||
| $ adb root | $ adb root | ||
| Line 88: | Line 97: | ||
| $ adb push logo.bmp / | $ adb push logo.bmp / | ||
| logo.bmp: 1 file pushed, 0 skipped. 655.0 MB/s (4147272 bytes in 0.006s) | logo.bmp: 1 file pushed, 0 skipped. 655.0 MB/s (4147272 bytes in 0.006s) | ||
| - | ``` | ||
| - | ==== Build Logo on Android ==== | + | $ adb reboot |
| - | + | ||
| - | 1) Update a new logo picture as you want: | + | |
| - | + | ||
| - | ```shell | + | |
| - | $ cp ~/ | + | |
| ``` | ``` | ||
| + | After the device reboots, the new logo should be displayed. | ||
| - | 2) Build the logo: | + | ==== Update Logo by Rebuilding Firmware ==== |
| - | ```shell | + | This method involves modifying the Android |
| - | $ cd PATH_YOUR_PROJECT | + | |
| - | $ source | + | |
| - | $ lunch TARGET_LUNCH | + | |
| - | $ make logoimg | + | |
| - | ``` | + | |
| - | See this build log for reference: | + | 1) Replace the logo source: Replace the '' |
| - | ```shell | + | 2) build the update package: |
| - | $ make logoimg | + | |
| - | + | ||
| - | ... | + | |
| - | + | ||
| - | generate out/ | + | |
| - | gzip -c device/ | + | |
| - | dbg:item num 8 | + | |
| - | dbg:pack item [bootup] | + | |
| - | dbg:pack item [upgrade_upgrading] | + | |
| - | dbg:pack item [upgrade_fail] | + | |
| - | dbg:pack item [upgrade_unfocus] | + | |
| - | dbg:pack item [upgrade_error] | + | |
| - | dbg:pack item [upgrade_success] | + | |
| - | dbg:pack item [upgrade_logo] | + | |
| - | dbg:pack item [upgrade_bar] | + | |
| - | Installed out/ | + | |
| - | + | ||
| - | #### make completed successfully (01:54 (mm:ss)) #### | + | |
| - | ``` | + | |
| - | + | ||
| - | ==== Burn the logo.img Separately ==== | + | |
| - | + | ||
| - | 1) Copy the new logo.img to a thumbdrive (U-disk): | + | |
| - | ```shell | + | |
| - | $ cp images/ | + | |
| - | ``` | + | |
| - | 2) Insert | + | |
| - | + | ||
| - | 3) Update logo partition as new logo.img: | + | |
| - | ```shell | + | |
| - | kvim3# usb_update logo logo.img | + | |
| - | ``` | + | |
| - | 4) Refresh to see the new logo: | + | |
| - | ```shell | + | |
| - | kvim3# run init_display | + | |
| - | ``` | + | |
| - | + | ||
| - | + | ||
| - | ==== Updage the logo by upgrate whole firmware ==== | + | |
| - | + | ||
| - | 1) replace device/ | + | |
| - | + | ||
| - | 2) build upgrate package | + | |
| ```shell | ```shell | ||
| $ cd PATH_YOUR_PROJECT | $ cd PATH_YOUR_PROJECT | ||
| - | $ source build/ | + | $ source build/ |
| - | $ lunch TARGET_LUNCH | + | $ ./ |
| - | $ make installclean | + | |
| - | $ make otapackage | + | |
| ``` | ``` | ||
| + | This will generate an '' | ||
| - | 3) Burn upgrate package | + | 3) Flash the firmware: |
| - | <WRAP info > | ||
| - | *Replace PATH_YOUR_PROJECT to your project path | ||
| - | *Replace TARGET_LUNCH to your lunch select. | ||
| - | *For VIM3, it’s kvim3-userdebug. | ||
| - | *For VIM3L, it’s kvim3l-userdebug. | ||
| - | *TARGET should be kvim3 or kvim3l | ||
| - | </ | ||