[U-Boot] Splash Screen Enable in (u-boot-2013.01.01.tar.bz2) U-boot source code.

nandakumar.ramaswamy at pricoltech.com nandakumar.ramaswamy at pricoltech.com
Thu Mar 28 16:22:42 CET 2013


Hello Anatolij,
 
I really impressed for your quick response.
I will correct it as per your inputs.
 
Thank you,
 
Regards,
Nandakumar R.

-----Original Message-----
From: "Anatolij Gustschin" <agust at denx.de>
Sent: Thursday, 28 March, 2013 19:11
To: nandakumar.ramaswamy at pricoltech.com
Cc: u-boot at lists.denx.de
Subject: Re: [U-Boot] Splash Screen Enable in (u-boot-2013.01.01.tar.bz2) U-boot source code.



Hello,

On Thu, 28 Mar 2013 17:19:15 +0530 (IST)
nandakumar.ramaswamy at pricoltech.com wrote:

> 
> Hello,
>  
> 1) Please share me, if any one used mx53loco - LVDS settings for
> hannstar (mcimx-lvds1) display as per the below,

I've never used mx53loco board, also I never used a hannstar
display. The proper support for it is missing in U-Boot.

Also please restrict the line length in the email text to max. 72
characters and do not top post. Thanks!

> setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 console=tty1 video=mxcdi1fb:RGB666,TOSHIBA-XGA di1_primary ldb=single,di=1,ch1_map=SPWG'
>  
> 2) And I have modified the below files and codes for splash screen
> support for mx53loco as per the mx6qsabrelite.c. Please correct me,
> if I wrong.

Did you set "panel" environment variable to "Hannstar-XGA"
and saved the environment ? You are adding a check for it in the
board code, you also have to set this variable and save it to
the environment, then you have to reset the board so the new
setting will take effect.

> File Name: mx53loco.h
>  
> Included:
> #define CONFIG_SPLASH_SCREEN
> #define CONFIG_SPLASH_SCREEN_ALIGN
> #define CONFIG_SPLASH_SCREEN_LVDS

Why do you add CONFIG_SPLASH_SCREEN_LVDS here ?
This configuration option is not available anywhere,
at least in mainline U-Boot code.

> #define CONFIG_CMD_BMP
>  
> File Name: mx53loco_video.c
>  
> Include:
> static struct fb_videomode const mcimx_lvds1 = {
>  .name        = "Hannstar-XGA",
>  .refresh    = 60,
>  .xres        = 1024,
>  .yres        = 768,
>  .pixclock    = 15385,
>  .left_margin    = 220,
>  .right_margin    = 40,
>  .upper_margin    = 21,
>  .lower_margin    = 7,
>  .hsync_len    = 60,
>  .vsync_len    = 10,
>  .sync        = 4,
> };
>  
> int board_video_skip(void)
> {
>  int ret;
>  char const *e = getenv("panel");
>  
>  printf("Display Panel Name: %s\n", e);
> 
>  if (e) {
>  if (strcmp(e, "seiko") == 0) {
>  ret = ipuv3_fb_init(&seiko_wvga, 0, IPU_PIX_FMT_RGB24);
>  if (ret)
>  printf("Seiko cannot be configured: %d\n", ret);
>  return ret;
>  }
>  else if (strcmp(e, "Hannstar-XGA") == 0) {
>  ret = ipuv3_fb_init(&mcimx_lvds1, 0, IPU_PIX_FMT_LVDS666);
>  if (ret)
>  printf("MCIMX_LVDS1 cannot be configured: %d\n", ret);
>  return ret;
>  }
>  }
> 
>  /*
>  * 'panel' env variable not found or has different value than 'seiko'
>  *  Defaulting to claa lcd.
>  */
>  ret = ipuv3_fb_init(&claa_wvga, 0, IPU_PIX_FMT_RGB565);
>  if (ret)
>  printf("CLAA cannot be configured: %d\n", ret);
>  return ret;
> }
> 
> And I tried the below command. But not get the correct output
> (SPLASH Image) through U-Boot.

Your extensions are not enough, I'm afraid. You probably also have
to configure the pin mux for LVDS interface, enable the backlight
of the display, configure the backlight intensity, etc. I'm not
familiar with mx53loco, I cannot guide you what is all needed
to make video support over LVDS working. Please read the schematics
of the board and mx53 manual and make sure you understand what
is needed to configure LVDS interface and backlight properly.
Then add appropriate code.

> MX53LOCO U-Boot > tftp 100000 /tftpboot/lvds.bmp 
> Using FEC device
> TFTP from server 192.168.1.176; our IP address is 192.168.1.189
> Filename '/tftpboot/lvds.bmp'.
> Load address: 0x100000
> Loading: T T T T T 
>  
> Please give your suggestion and solution ASAP.

> Note: I am trying to display from SD-card.

Why are you trying to load the bmp file from network then?
Do you have a working tftp server for this purpose?

If you have the bmp files on the SD-card, then you have
to use appropriate commands to load files from the card,
like "mmc rescan", "fatload mmc 0:0 <addr> <filename.bmp>"
or similar. Only after the file has been successfully loaded
to the address <addr>, you can use "bmp display <addr>"
command.

Thanks,

Anatolij

 Disclaimer:
This e-mail, and any files transmitted with it are "Pricol Technologies Confidential" and intended solely for the use of the individual or entity to whom it is addressed. Any copying, dissemination, disclosure or use of its contents is prohibited. If you have received this e-mail in error, please discard the message and notify us at itsupport at pricoltech.com directly. 
E-mail communication is not guaranteed to be secure, error or virus-free. They are capable of interception, corruption and delays. Anyone communicating with us via e-mail accepts the risks of e-mail communications and their consequences.


More information about the U-Boot mailing list