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 [2023/03/23 04:35] xiong |
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 ===== | ||
| - | <WRAP info > | + | Starting from Android 10, Rockchip merged the logo partition into the super partition, making it impossible to modify the boot logo dynamically without rebuilding the entire firmware. To address this, a new custom partition has been added to allow for dynamic logo updates. |
| - | *Where is original | + | |
| - | Logo file is stored in the device/ | + | ==== Logo Format Requirements==== |
| - | | + | <WRAP info > |
| - | *16bit RGB565 BMP format | + | |
| - | *Resolution | + | * **Required Format: |
| - | *How To Change | + | * 16-bit |
| + | * Resolution | ||
| - | Replace the bootup.bmp ,then rebuild the logo.img | ||
| </ | </ | ||
| - | ==== Build Logo on Android ==== | ||
| - | 1) Update | + | ==== Update |
| - | ```shell | + | You can push a prepared '' |
| - | $ cp ~/ | + | |
| - | ``` | + | |
| - | + | ||
| - | 2) Build the logo: | + | |
| ```shell | ```shell | ||
| - | $ cd PATH_YOUR_PROJECT | + | $ adb root |
| - | $ source build/ | + | $ adb remount |
| - | $ lunch TARGET_LUNCH | + | $ adb push logo.bmp / |
| - | $ make logoimg | + | $ adb reboot |
| ``` | ``` | ||
| - | See this build log for reference: | + | Example command output: |
| ```shell | ```shell | ||
| - | $ make logoimg | + | $ adb root |
| + | restarting adbd as root | ||
| - | ... | + | $ adb remount |
| + | AVB verification is disabled, disabling verity state may have no effect | ||
| + | Remounted /system as RW | ||
| + | Remounted /vendor as RW | ||
| + | Remounted /odm as RW | ||
| + | Remounted / | ||
| + | Remounted /system_ext as RW | ||
| + | Remounted / | ||
| + | Remounted /odm_dlkm as RW | ||
| + | Remounted /product as RW | ||
| + | Remount succeeded | ||
| - | generate out/ | + | $ adb push logo.bmp /vendor/custom |
| - | gzip -c device/ | + | logo.bmp: |
| - | 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/target/ | + | |
| - | #### make completed successfully (01:54 (mm:ss)) #### | + | $ adb reboot |
| ``` | ``` | ||
| + | After the device reboots, the new logo should be displayed. | ||
| - | ==== Burn the logo.img Separately | + | ==== Update Logo by Rebuilding Firmware |
| - | 1) Copy the new logo.img to a thumbdrive (U-disk): | + | This method involves modifying |
| - | ```shell | + | |
| - | $ cp images/ | + | |
| - | ``` | + | |
| - | 2) Insert the thumbdrive into your VIM3, then boot into U-Boot mode. | + | |
| - | 3) Update | + | 1) Replace the logo source: Replace the '' |
| - | ```shell | + | |
| - | kvim3# usb_update logo logo.img | + | |
| - | ``` | + | |
| - | 4) Refresh to see the new logo: | + | |
| - | ```shell | + | |
| - | kvim3# run init_display | + | |
| - | ``` | + | |
| - | + | 2) build the update | |
| - | ==== Updage the logo by upgrate whole firmware ==== | + | |
| - | + | ||
| - | 1) replace device/ | + | |
| - | + | ||
| - | 2) build upgrate | + | |
| ```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 | ||
| - | </ | ||