We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c2_bootlogo [2016/06/26 10:36]
joy.cho [Logo File Format]
en:c2_bootlogo [2017/05/15 08:40] (current)
odroid [How to replace boot logo with your custom image]
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 yetThe 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 45: Line 76:
 $ fastboot flash logo boot-logo.bmp $ fastboot flash logo boot-logo.bmp
 </​code>​ </​code>​
 +
 +<WRAP center 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, because U-Boot checks very first if there is boot-logo.bmp.gz on VFAT area and then check logo partition.\\
 +
 +You need this special cable to access the U-boot command.\\
 +[[http://​www.hardkernel.com/​main/​products/​prdt_info.php?​g_code=G134111883934]]
 +
 +You also need a normal micro-USB cable for the fastboot/​adb interface between C2 and your host PC too.\\
 +[[http://​www.hardkernel.com/​main/​products/​prdt_info.php?​g_code=G134114594259]]
 +
 +</​WRAP>​
  
 === Ubuntu === === Ubuntu ===
Line 65: Line 107:
 <​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 113:
 </​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 136:
  
 <​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 173:
 <​code>​ <​code>​
 setenv hdmimode "​800x480p60hz"​ setenv hdmimode "​800x480p60hz"​
-showlogo ${hdmimode} ​800x480+showlogo ${hdmimode} ​800 480
 </​code>​ </​code>​
  
en/c2_bootlogo.1466906765.txt.gz · Last modified: 2016/06/26 10:36 by joy.cho
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0