GUF-Yocto-jethro-9.0-r7707-0
i.MX6
User Manual
4.2.5 Bootlogo
Garz & Fricke systems shipped with displays or HDMI controllers can show a PNG bootlogo on system start up.
For this purpose, a custom PNG logo support has been added to the Linux kernel. Custom bootlogos can only
be shown under one of the following conditions:
A generic bootlogo license (XML file) is installed on the system
The PNG logo to be shown contains a bootlogo license
Both features are subject to a license fee. Garz & Fricke offers two license models:
The economic
basic license
contains one single PNG file, that will be signed with an invisible watermark
by Garz & Fricke containing the license. This PNG can be used for all Garz & Fricke systems, independent
from quantity and system type.
The flexible
corporate license
contains a generic bootlogo license file as well as the
logolic
Windows tool.
The XML file (
rb-logolicense.xml
) allows the usage of any PNG file, signed or not, which makes it easier
for the end-user to modify the bootlogo. The
logolic
Windows tool enables the user to prepare a simple
PNG file into a signed bootlogo PNG file. This license model is also totally independent from the quantity
of operated systems.
For more information about logo licensing or the
logolic
Windows tool, please contact the Garz & Fricke sales.
Example 1
shows how to install the generic logo license from a TFTP server with the IP address
192.168.1.100
:
root@santaro:~# tftp -g -r rb-logolicense.xml 192.168.1.100
root@santaro:~# xconfig import -b rb-logolicense.xml
Because the bootlogo has to be shown as early as possible, the Linux kernel cannot wait until the file system is
up. Hence, the booloader has to pass the PNG file via a main memory area. The bootloader can be instructed
to load a PNG file from one of the eMMC boot partitions. This can be done by placing the following command
before
the
exec
command in the
boot.cfg
file on
/dev/mmcblk0p2
:
load -b <physical memory address> [-p <partition name>] <file name>
Furthermore, the kernel has to be informed about the physical memory address where the file is located and the
file size via the
logo
kernel command parameter. The following format has to be used:
logo=<physical address>
Apart from the above format, a display test logo can be shown with the
logo
kernel command line parameter
(without any bootlogo license) as follows:
logo=test
The logo can be disabled with:
logo=black
The orientation of the bootlogo is bound to the global
rotation
system setting. The
rotation
can be adjusted with
the
sconfig
tool described in
[
I
4.2.1 Garz & Fricke system configuration]
.
Example 2
shows how to load a PNG bootlogo
logo.png
with a file size of
30515 bytes
to
/dev/mmcblk0p2
from a TFTP server with the IP address
192.168.1.100
and how to configure the bootloader and the kernel to
pass and show this bootlogo.
First step: upload the logo.
root@santaro:~# mount /dev/mmcblk0p2 /mnt
root@santaro:~# tftp -g -r logo.png -l /mnt/logo.png 192.168.1.100
Second step: configure bootloader and kernel. Edit the file
/mnt/boot.cfg
(e.g. with
nano
or
vi
) and add the
highlighted sections:
28