iMX28 - how to customize U-Boot v2014 splash screen?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX28 - how to customize U-Boot v2014 splash screen?

1,737 Views
gonfer
Contributor V

Hi all,

I've been looking how to setup the splachscreen in U-Boot V2014 for the iMX28 processor, but haven't found any usefull documentation. Can someone point me in the right direction?

SplashScreen support is already configured in include/configs/mx28evk.h

#define CONFIG_VIDEO

...

/* Framebuffer support */

#ifdef CONFIG_VIDEO

#define CONFIG_VIDEO_LOGO

#define CONFIG_SPLASH_SCREEN

#define CONFIG_CMD_BMP

#define CONFIG_BMP_16BPP

#define CONFIG_VIDEO_BMP_RLE8

#define CONFIG_VIDEO_BMP_GZIP

#define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE    (512 << 10)

#endif

I can see the following message from U-Boot:

Video: MXSFB: 'videomode' variable not set!

So looking into drivers/video/mxsfb I see:

* Freescale mx23evk/mx28evk with a Seiko 4.3'' WVGA panel:

* setenv videomode

* video=ctfb:x:800,y:480,depth:24,mode:0,pclk:29851,

*      le:89,ri:164,up:23,lo:10,hs:10,vs:10,sync:0,vmode:0

then, in U-Boot:

setenv videomode video=ctfb:x:800,y:480,depth:24,mode:0,pclk:29851,le:89,ri:164,up:23,lo:10,hs:10,vs:10,sync:0,vmode:0

saveenv

and after board reboot, I can see in the display the penguin and the content of the "ver" variable. (U-Boot 2014.10-dirty (Oct 17 2014 - 16:06:40)

What I haven't been able to find is a way for customizing the display content (logo & text).

Can someone guide me on this?

Thanks,

Gonzalo.

Labels (2)
Tags (3)
0 Kudos
2 Replies

859 Views
gonfer
Contributor V

I've managed to get the splashscreen bmp file via tftp and show it on the screen:

=> setenv splashimage 0x42400000

=>

=> tftp ${splashimage} splash.bmp

Using FEC0 device

TFTP from server 10.0.0.2; our IP address is 10.0.0.3

Filename 'splash.bmp'.

Load address: 0x42400000

Loading: #################################################################

        #####

        1.7 MiB/s

done

Bytes transferred = 355742 (56d9e hex)

=>

=> bmp display ${splashimage}

Q1 -> I want to test U-Boot botting from 3 different devices: SD card, SPI NOR flash and NAND flash. What is the proper way to store/reload the splashimage bmp file into/from these devices?

Q2 -> Is there any way to link the splashimage bmp file into U-Boot using a header file or sometheing like that?

BR,

Gonzalo

0 Kudos

859 Views
fabio_estevam
NXP Employee
NXP Employee

I would suggest posting these questions to the U-boot mailing list.

0 Kudos