Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
odroid-n2:application_note:bootlogo_n2 [2019/03/21 10:59] joy.cho [How to add showlogo command in boot.ini] |
odroid-n2:application_note:bootlogo_n2 [2020/03/31 18:05] tobetter |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ========= Tips for boot logo on ODROID-N2 | + | ========= Tips to use custom |
- | + | <note important> | |
- | ===== Logo Image Format ===== | + | The instruction on this page is only available for ODROID-C4/ |
- | The basic image format | + | </ |
+ | <WRAP info round> | ||
+ | Using the display auto detection option, the broken logo display can be shown with the latest version.\\ | ||
+ | Please use manual display mode by setting **setenv display_autodetect " | ||
+ | </ | ||
+ | ===== Boot Logo Image Format ===== | ||
+ | The basic image format | ||
=== Format === | === Format === | ||
Line 12: | Line 18: | ||
</ | </ | ||
- | Here is the sample | + | Here is the sample |
{{: | {{: | ||
- | We recommend using GIMP or KolourPaint.\\ | + | We recommend using GIMP or %%KolourPaint%% for boot logo creation.\\ |
- | Here is an advanced | + | Here are the advanced |
**[ GIMP ]** | **[ GIMP ]** | ||
Line 26: | Line 32: | ||
</ | </ | ||
- | **[ KolourPaint ]** | + | **[ %%KolourPaint%% ]** |
< | < | ||
- Save Image as | - Save Image as | ||
Line 34: | Line 40: | ||
=== Size Limitation === | === Size Limitation === | ||
- | And please keep **the size of your logo file must be under 2MB** because the logo partition of Android is limited to 2MB. | + | It is important to note that, **the size of your logo file must be under 2MB** because the logo partition of Android is limited to 2MB. |
Gzip BMP format is supported, so if the size is over 2MB, you can use bmp.gz file. | Gzip BMP format is supported, so if the size is over 2MB, you can use bmp.gz file. | ||
<code bash> | <code bash> | ||
Line 43: | Line 49: | ||
=== Auto scaling option === | === Auto scaling option === | ||
- | On ODROID-N2 uboot, **image scaling for boot logo** is supported, | + | On the bootloader <U-Boot>, **image scaling for boot logo** is supported, |
so displayed boot logo will be fixed automatically for output mode as described in boot.ini.\\ | so displayed boot logo will be fixed automatically for output mode as described in boot.ini.\\ | ||
- | For example, in case of using the mode " | + | For example, in case of using the mode " |
===== How to replace boot logo with your custom image ===== | ===== How to replace boot logo with your custom image ===== | ||
- | ODROID-N2 scans the existence of the following three parts in numerical order.\\ | + | Your ODROID |
- boot-logo.bmp in VFAT partition | - boot-logo.bmp in VFAT partition | ||
- boot-logo.bmp.gz in VFAT partition | - boot-logo.bmp.gz in VFAT partition | ||
Line 55: | Line 61: | ||
==== Android ==== | ==== Android ==== | ||
- | On Android, you can replace boot logo with your custom image. | + | In Android, you can replace |
- | There are two ways to change boot logo image. | + | There are two ways to change |
- Add a image into VFAT partition. | - Add a image into VFAT partition. | ||
- Rewrite image data into Android LOGO partition using fastboot. | - Rewrite image data into Android LOGO partition using fastboot. | ||
Line 65: | Line 71: | ||
=== 2. Android Logo Partition === | === 2. Android Logo Partition === | ||
- | If you want to replace logo data in logo partition, please follow this guide.\\ | + | If you want to replace |
- | First, you must get into your U-Boot command line while pressing **ENTER** key when your ODROID-N2 is powered up.\\ | + | First, you must get into your U-Boot command line while pressing |
- | And execute **fastboot** command from U-Boot and connect with your desktop using USB cable. | + | And execute **fastboot** command from U-Boot and connect |
- | **[ ODROID-N2 Target | + | **[ On ODROID ]** |
<code bash target> | <code bash target> | ||
- | odroidn2# fastboot | + | # fastboot |
</ | </ | ||
Line 84: | Line 90: | ||
<WRAP round important> | <WRAP round important> | ||
- | If you will use bmp data on logo partition, make sure there is **NO boot-logo.bmp.gz file on your VFAT area**, \\ | + | If you will use BMP data on logo partition, make sure there is **NO boot-logo.bmp.gz file on your VFAT area**, \\ |
- | because U-Boot | + | because U-Boot first checks |
</ | </ | ||
Line 115: | Line 121: | ||
</ | </ | ||
- | ===== How to use the custom image with Native resolution | + | ===== How to use the custom image with Native resolution ===== |
If you want to use a native resolution of bmp image like 1920x1080, 1024x600 (for VU7+) or 800x480 (for VU7),\\ | If you want to use a native resolution of bmp image like 1920x1080, 1024x600 (for VU7+) or 800x480 (for VU7),\\ | ||
Line 121: | Line 127: | ||
<code bash target> | <code bash target> | ||
- | odroidc2 | + | # help showlogo |
showlogo - Displaying BMP logo file to HDMI screen with the specified resolution | showlogo - Displaying BMP logo file to HDMI screen with the specified resolution | ||
Line 160: | Line 166: | ||
</ | </ | ||
+ | ===== Android Boot Animation ===== | ||
+ | In case of Android, you can use **bootanimation.zip** method to show your custom logo using animation.\\ | ||
+ | |||
+ | Please refer to this reference site.\\ | ||
+ | https:// | ||
+ | |||
+ | The system selects a boot animation zip file from the following locations. | ||
+ | < | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Before copy process, you need to change root filesystem permission as r/w.\\ | ||
+ | And copy your bootanimation.zip into / | ||
+ | <code bash target> | ||
+ | console:/ $ su | ||
+ | console:/ # mount -o rw,remount /system | ||
+ | [ 173.674067@2] EXT4-fs (mmcblk0p11): | ||
+ | </ | ||
+ | |||
+ | Please make sure file permission of bootanimation.zip. | ||
+ | <code bash target> | ||
+ | console:/ # chmod 755 / | ||
+ | console:/ # ls -al / | ||
+ | -rwxr-xr-x 1 root root 5030729 2019-03-27 00:41 / | ||
+ | </ |