Difference between revisions of "U-Boot Splash Screen"
From ArmadeusWiki
(Created page with "{{Under Construction}} =Introduction= On this page you will learn how to activate LCD support in U-Boot and display a Splash Screen at boot. The following instructions have o...") |
(→Installation) |
||
Line 4: | Line 4: | ||
On this page you will learn how to activate LCD support in U-Boot and display a Splash Screen at boot. The following instructions have only be tested on [[OPOS6UL]]. | On this page you will learn how to activate LCD support in U-Boot and display a Splash Screen at boot. The following instructions have only be tested on [[OPOS6UL]]. | ||
− | + | {{Under_Construction}} | |
+ | =Installation= | ||
+ | * Save your image as BMP file (in Gimp use Run-Length (RLE) encoding, no alpha channel and no color informations (compatibility options)) | ||
+ | * Activate LCD in U-Boot: | ||
<pre class="apf"> | <pre class="apf"> | ||
BIOS> setenv videomode video=ctfb:x:800,y:480,depth:18,pclk:33000033,le:8,ri:4,up:2,lo:4,hs:41,vs:10,sync:0,vmode:0 | BIOS> setenv videomode video=ctfb:x:800,y:480,depth:18,pclk:33000033,le:8,ri:4,up:2,lo:4,hs:41,vs:10,sync:0,vmode:0 | ||
+ | </pre> | ||
+ | |||
+ | =Test it= | ||
+ | <pre class="apf"> | ||
+ | BIOS> tftpboot ${loadaddr} xxx.bmp | ||
+ | BIOS> bmp info ${loadaddr} | ||
+ | Image size : 296 x 72 | ||
+ | Bits per pixel: 8 | ||
+ | Compression : 0 | ||
+ | </pre> | ||
+ | |||
+ | <pre class="apf"> | ||
+ | BIOS> bmp display ${loadaddr} 100 50 | ||
+ | </pre> | ||
+ | |||
+ | =Deploy it= | ||
+ | <pre class="apf"> | ||
+ | BIOS> setenv splashimage 0x80000000 | ||
+ | BIOS> setenv splashfile /boot/Logo_800x480.bmp | ||
+ | BIOS> setenv splashsource mmc_fs | ||
</pre> | </pre> | ||
=Links= | =Links= | ||
* http://www.denx.de/wiki/DULG/UBootSplashScreen | * http://www.denx.de/wiki/DULG/UBootSplashScreen |
Revision as of 18:40, 11 January 2017
Page under construction... Informations on this page are not guaranteed !!
Introduction
On this page you will learn how to activate LCD support in U-Boot and display a Splash Screen at boot. The following instructions have only be tested on OPOS6UL.
Page under construction... Informations on this page are not guaranteed !!
Installation
- Save your image as BMP file (in Gimp use Run-Length (RLE) encoding, no alpha channel and no color informations (compatibility options))
- Activate LCD in U-Boot:
BIOS> setenv videomode video=ctfb:x:800,y:480,depth:18,pclk:33000033,le:8,ri:4,up:2,lo:4,hs:41,vs:10,sync:0,vmode:0
Test it
BIOS> tftpboot ${loadaddr} xxx.bmp BIOS> bmp info ${loadaddr} Image size : 296 x 72 Bits per pixel: 8 Compression : 0
BIOS> bmp display ${loadaddr} 100 50
Deploy it
BIOS> setenv splashimage 0x80000000 BIOS> setenv splashfile /boot/Logo_800x480.bmp BIOS> setenv splashsource mmc_fs