We're no longer updating This wiki!!

This is an old revision of the document!


Tips for boot logo on ODROID-C2

ODROID-C2 can show a booting logo to the display till target O/S is started.

Logo File Format

The image format of ODROID-C2 logo file is as following.

Image Format : 24-bit Windows BMP image or 24-bit Windows Gzipped BMP image
Image Size : 1280 by 720
Bit Depth : 24bpp
The file name should be 'boot-logo.bmp' or 'boot-logo.bmp.gz'

On ODROID-C2 uboot, image scaling for boot logo is supported, so displayed boot logo will be fixed automatically for output mode as described in boot.ini.

For example, boot logo will be displayed as 1024×600 even though actual size of bmp file is 1280×720.

setenv hdmimode “1024x600p60hz”

  • Image scaling on u-boot has NOT been released yet. The version will be specified here after release.

How to replace boot logo with your custom image

Android

On Android, you can write your custom boot logo to 'FAT' area or the android 'Logo' partition.

VFAT

Copy the new boot-logo.bmp (or boot-logo.bmp.gz) to VFAT partition.

Android Logo Partition

The logo partition is internally assigned in U-boot itself, please refer this for detail. This works just for Android Users.

Firstly, you must get into your U-boot command line while pressing any key when your ODROID-C2 is powered up. And execute fastboot command from U-boot and connect with your desktop using USB cable.

odroidc2#fastboot

Next, run fastboot command from your desktop.

$ fastboot flash logo boot-logo.bmp.gz
or 
$ fastboot flash logo boot-logo.bmp

Ubuntu

Copy the new boot-logo.bmp (or boot-logo.bmp.gz) with to boot partition.

Add a command on boot.ini

You should add the commands to your boot.ini before bootcmd is executed.

Please check if there is 'showlogo' command in your boot.ini first. If not so, refer to the following.

Android

showlogo ${hdmimode}

Ubuntu

showlogo ${m}
logoopt "osd1,loaded,0x3f800000,${m}

# Boot Arguments - Add logo args on the existing bootargs parameter
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro ${condev} no_console_suspend hdmimode=${m} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} logo=${logoopt}"

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 1920×1080, 1024×600 (for VU7+) or 800×480 (for VU7) except 1280×720, please set the arg[2]/arg[3] of showlogo command as following.

Copy the bmp file as an aforementioned instruction first and then modify 'showlogo' command in boot.ini. The arg[2]/arg[3] of showlogo means image size of bmp file.

U_BOOT_CMD(
                showlogo,               4,              0,      do_showlogo,
                "Displaying BMP logo file to HDMI screen with the specified resolution",
                "<resolution> [<bmp_width> <bmp_height>]\n"
                "       resolution - screen resoltuion on HDMI screen\n"
                "               '1080p60hz' will be used by default if missing\n"
                "       bmp_width (optional) - width of logo bmp file\n"
                "               '1280' will be used by default if missing\n"
                "       bmp_height (optional) - height of logo bmp file\n"
                "               '720' will be used by default if missing"
);

< Examples >

1. 1080p case

If your monitor's resolution is 1920by1080 and you want to set a bmp file in 1920×1080 not 1280×720 one as a boot logo file, set command in boot.ini as following.

setenv hdmimode "1080p60hz"
showlogo ${hdmimode} 1920 1080

2. 1024×600 case

setenv hdmimode "1024x600p60hz"
showlogo ${hdmimode} 1024 600

3. 800×480 case

setenv hdmimode "800x480p60hz"
showlogo ${hdmimode} 800x480
en/c2_bootlogo.1466906068.txt.gz · Last modified: 2016/06/26 10:24 by joy.cho
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0