S B C X U s e r ' s G u i d e
v . 1 . 0 . 1
7.9
Customizing the splash screen
SBCX provides support for a customizable splash screen. The following
sections describe how to use this feature.
7.9.1
Customizing the splash screen
The splash screen image can be downloaded via tftp to a specific RAM
address (
splashimage
) and then stored in the flash memory.
The following U-Boot environment variables are required:
●
splashimage
: RAM address where the BMP image is loaded.
Please note that it must be a 32-bit aligned address with a 0x2
offset (eg: 0x20000002)
●
loadsplash
: comand for loading the BMP image from the
storage device (e.g flash memory) to RAM. This command is
automatically run by U-Boot at startup
●
splashpos
: image position (eg: splashpos=m,m, for centering
the image)
7.9.2
Additional resources
For further details on splash screen support in U-Boot, please refer to:
●
http://www.denx.de/wiki/DULG/UBootSplashScreen
●
http://www.denx.de/wiki/DULG/UbootBitmapSupport
7.9.3
Splash image in NOR SPI flash
7.9.3.1
U-Boot variables
loadsplash=run spi_loadsplash
spi_loadsplash=sf probe; sf read ${splashimage} 0x800000 $
{splashsize}
splashfile=splash_image.bmp
splashimage=0x20000002
splashpos=m,m
splashsize=0x400000
loadsplashfile=tftpboot ${loadaddr} axel/${splashfile}
spi_updatesplash=sf probe; sf erase 0x${filesize}; sf
write ${loadaddr} 0x800000 ${filesize}
December, 2019
124/139
Summary of Contents for SBC AXEL
Page 2: ...S B C X U s e r s G u i d e v 1 0 1 Page intentionally left blank December 2019 2 139 ...
Page 105: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 105 139 ...
Page 106: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 106 139 ...
Page 107: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 107 139 Fig 44 QtQuick Hello World ...
Page 119: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 119 139 ...
Page 121: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 121 139 ...
Page 139: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 139 139 ...