Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:c2_bootlogo [2016/06/26 10:36] joy.cho [Logo File Format] |
en:c2_bootlogo [2016/07/19 14:26] odroid [Logo File Format] |
||
---|---|---|---|
Line 1: | Line 1: | ||
========= Tips for boot logo on ODROID-C2 ======= | ========= Tips for boot logo on ODROID-C2 ======= | ||
- | **ODROID-C2** can show a booting logo to the display till target O/S is started. | + | **ODROID-C2** can show a booting logo on the display till target O/S is started. |
===== Logo File Format ===== | ===== Logo File Format ===== | ||
Line 7: | Line 7: | ||
<code> | <code> | ||
- | Image Format : 24-bit Windows BMP image or 24-bit Windows Gzipped BMP image | + | Image Format : 24-bit Windows BMP image or 24-bit Windows Gzipped BMP image (Without meta-data) |
Image Size : 1280 by 720 | Image Size : 1280 by 720 | ||
- | Bit Depth : 24bpp | + | Color Depth : 24bpp |
The file name should be 'boot-logo.bmp' or 'boot-logo.bmp.gz' | The file name should be 'boot-logo.bmp' or 'boot-logo.bmp.gz' | ||
+ | </code> | ||
+ | |||
+ | Here is the sample bmp file. | ||
+ | {{:en:boot-logo.bmp.gz|}} | ||
+ | |||
+ | We recommend using GIMP or KolourPaint. | ||
+ | |||
+ | |||
+ | If you're using "GIMP", keep the options as following. | ||
+ | <code> | ||
+ | - Export as Windows BMP | ||
+ | - Compatibility Options : Do not write Color Space Information | ||
+ | - Advanced Options : 24 bits | ||
+ | - Name : "boot-logo.bmp" | ||
+ | </code> | ||
+ | |||
+ | If you're using KolourPaint, refer to the following. | ||
+ | <code> | ||
+ | - Save Image as | ||
+ | - Filter : Windows BMP image | ||
+ | - Convert to : 24-bit Color | ||
+ | </code> | ||
+ | |||
+ | And please keep the size of your bmp file must be under 2MB because the logo partition is limited to 2MB. | ||
+ | Gzip BMP format is supported, so if the size is over 2MB, you can use bmp.gz file. | ||
+ | <code> | ||
+ | $ gzip boot-logo.bmp | ||
+ | $ ls | ||
+ | boot-logo.bmp.gz | ||
</code> | </code> | ||
Line 16: | Line 45: | ||
- | For example, boot logo will be displayed as 1024x600 even though actual size of bmp file is 1280x720. | + | For example, in case of using the mode "1024x600p60hz", boot logo will be displayed as 1024x600 even though actual size of bmp file is 1280x720. |
<WRAP left round tip 80%> | <WRAP left round tip 80%> | ||
- | * Image scaling on u-boot has NOT been released yet. The version will be specified here after release. | + | * Logo scaling with 1280x720 bmp image is available with Android release, v1.9 or higher version. |
+ | * On Ubuntu, it will be released. | ||
+ | * You can show boot logo of 1280x720 bmp file with the current or old uboot but, to support another resolution of logo, you need to adjust bmp file size if you want to display native size of logo. | ||
</WRAP> | </WRAP> | ||
===== How to replace boot logo with your custom image ===== | ===== How to replace boot logo with your custom image ===== | ||
Line 65: | Line 96: | ||
<code> | <code> | ||
showlogo ${m} | showlogo ${m} | ||
- | logoopt "osd1,loaded,0x3f800000,${m} | + | logoopt "osd1,loaded,0x3f800000,${m}" |
# Boot Arguments - Add logo args on the existing bootargs parameter | # Boot Arguments - Add logo args on the existing bootargs parameter | ||
Line 71: | Line 102: | ||
</code> | </code> | ||
- | ===== How to use the custom image with Native resolution like 1024x600 or 800x480 except 1280x720 ===== | + | ===== [Optional] Additional instruction for VU7+/VU7 power and signal type ===== |
+ | |||
+ | To turn on USB Host power on uboot stage for power of VU7+/VU7, you should add one command, **usb pwren** after showlogo command in boot.ini. | ||
+ | |||
+ | And you need to change the signal type of display to DVI interface. | ||
+ | |||
+ | <code> | ||
+ | setenv vout_mode "dvi" | ||
+ | showlogo ${hdmimode} | ||
+ | usb pwren | ||
+ | </code> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== [Optional] How to use the custom image with Native resolution like 1024x600 or 800x480 except 1280x720 ===== | ||
If you want to use a native resolution of bmp image like 1920x1080, 1024x600 (for VU7+) or 800x480 (for VU7) except 1280x720, please set the arg[2]/arg[3] of **showlogo** command as following. | If you want to use a native resolution of bmp image like 1920x1080, 1024x600 (for VU7+) or 800x480 (for VU7) except 1280x720, please set the arg[2]/arg[3] of **showlogo** command as following. | ||
Line 79: | Line 125: | ||
<code> | <code> | ||
- | U_BOOT_CMD( | + | odroidc2#help showlogo |
- | showlogo, 4, 0, do_showlogo, | + | showlogo - Displaying BMP logo file to HDMI screen with the specified resolution |
- | "Displaying BMP logo file to HDMI screen with the specified resolution", | + | |
- | "<resolution> [<bmp_width> <bmp_height>]\n" | + | Usage: |
- | " resolution - screen resoltuion on HDMI screen\n" | + | showlogo <resolution> [<bmp_width> <bmp_height>] |
- | " '1080p60hz' will be used by default if missing\n" | + | resolution - screen resoltuion on HDMI screen |
- | " bmp_width (optional) - width of logo bmp file\n" | + | '1080p60hz' will be used by default if missing |
- | " '1280' will be used by default if missing\n" | + | bmp_width (optional) - width of logo bmp file |
- | " bmp_height (optional) - height of logo bmp file\n" | + | '1280' will be used by default if missing |
- | " '720' will be used by default if missing" | + | bmp_height (optional) - height of logo bmp file |
- | ); | + | '720' will be used by default if missing |
</code> | </code> | ||
Line 116: | Line 162: | ||
<code> | <code> | ||
setenv hdmimode "800x480p60hz" | setenv hdmimode "800x480p60hz" | ||
- | showlogo ${hdmimode} 800x480 | + | showlogo ${hdmimode} 800 480 |
</code> | </code> | ||