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

Hello,
I would like to enable & view the splash screen in U-Boot source (u-boot-2009.08.tar.gz) code.
Please help me to come-out from this task.
Thanks & Regards, Nandakumar R.
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@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.

Hello,
Am 2013-03-25 10:55, schrieb nandakumar.ramaswamy@pricoltech.com:
Hello,
I would like to enable & view the splash screen in U-Boot source (u-boot-2009.08.tar.gz) code.
Please help me to come-out from this task.
Please read the U-Boot documentation http://www.denx.de/wiki/DULG/UBootSplashScreen
btw u-boot 2009.08 is very old. it#s recommend to use the current release.
Regards
Jens

Hello Jens,
Thanks for your quick response.
Actually I tried with U-Boot latest release (u-boot-2013.01.01.tar.bz2) also.But I am not able to see the SPLASH SCREEN. So, please share the SPLASH SCREEN image enable procedure for latest U-boot (u-boot-2013.01.01.tar.bz2) source code for i.mx53loco.
Thanks & Regards, Nandakumar R.
-----Original Message----- From: "Jens Scharsig" esw@bus-elektronik.de Sent: Monday, 25 March, 2013 19:48 To: nandakumar.ramaswamy@pricoltech.com Cc: u-boot@lists.denx.de Subject: Re: Splash Screen Enable in (u-boot-2009.08.tar.gz) U-boot source code.
Hello,
Am 2013-03-25 10:55, schrieb nandakumar.ramaswamy@pricoltech.com:
Hello,
I would like to enable & view the splash screen in U-Boot source (u-boot-2009.08.tar..gz) code.
Please help me to come-out from this task.
Please read the U-Boot documentation http://www.denx.de/wiki/DULG/UBootSplashScreen
btw u-boot 2009.08 is very old. it#s recommend to use the current release.
Regards
Jens
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@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.

Dear Nandakumar.
So, please share the SPLASH SCREEN image enable procedure for latest U-boot (u-boot-2013.01.01.tar.bz2) source code for i.mx53loco.
I'm not familiar with imx53loco board. But I see Splash and BMP are enabled in config. So you need only burn you splash to flash and set the environment variable "splashimage" to the start address in flash. You should test your splash image with bmp display <address>.
Regards
Jens

Hello,
On Tue, 26 Mar 2013 11:46:10 +0530 (IST) nandakumar.ramaswamy@pricoltech.com wrote: ...
Actually I tried with U-Boot latest release (u-boot-2013.01.01.tar.bz2) also.But I am not able to see the SPLASH SCREEN. So, please share the SPLASH SCREEN image enable procedure for latest U-boot (u-boot-2013.01.01.tar.bz2) source code for i.mx53loco.
U-Boot release 2013.01.01 for mx53loco supports two LCD panels, CLAA07LC0ACW and Seiko-43WVF1G. If you have a different panel, you will have to add support for it. If you have Seiko panel, please set up environment variable panel as follows:
=> setenv panel seiko => saveenv
and reboot, then use load a bmp file and use "bmp" command to display it.
Thanks,
Anatolij
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-50 Fax: +49-8142-66989-80 Email: office@denx.de

Hello,
Please share me, if any one added the LCD panel support into mx53loco for mcimx lvds1.
Thanks & Regards, Nandakumar R.
-----Original Message----- From: "Anatolij Gustschin" agust@denx.de Sent: Tuesday, 26 March, 2013 13:00 To: nandakumar.ramaswamy@pricoltech.com Cc: "Jens Scharsig" esw@bus-elektronik.de, u-boot@lists.denx.de Subject: Re: [U-Boot] Splash Screen Enable in (u-boot-2013.01.01.tar.bz2) U-boot source code.
Hello,
On Tue, 26 Mar 2013 11:46:10 +0530 (IST) nandakumar.ramaswamy@pricoltech.com wrote: ...
Actually I tried with U-Boot latest release (u-boot-2013.01.01.tar.bz2) also.But I am not able to see the SPLASH SCREEN. So, please share the SPLASH SCREEN image enable procedure for latest U-boot (u-boot-2013.01.01.tar.bz2) source code for i.mx53loco.
U-Boot release 2013.01.01 for mx53loco supports two LCD panels, CLAA07LC0ACW and Seiko-43WVF1G. If you have a different panel, you will have to add support for it. If you have Seiko panel, please set up environment variable panel as follows:
=> setenv panel seiko => saveenv
and reboot, then use load a bmp file and use "bmp" command to display it.
Thanks,
Anatolij
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-50 Fax: +49-8142-66989-80 Email: office@denx.de
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@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.

Hello,
1) Please share me, if any one used mx53loco - LVDS settings for hannstar (mcimx-lvds1) display as per the below,
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.
File Name: mx53loco.h
Included: #define CONFIG_SPLASH_SCREEN #define CONFIG_SPLASH_SCREEN_ALIGN #define CONFIG_SPLASH_SCREEN_LVDS #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.
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.
Thanks & Regards, Nandakumar R.
-----Original Message----- From: "Anatolij Gustschin" agust@denx.de Sent: Tuesday, 26 March, 2013 13:00 To: nandakumar.ramaswamy@pricoltech.com Cc: "Jens Scharsig" esw@bus-elektronik.de, u-boot@lists.denx.de Subject: Re: [U-Boot] Splash Screen Enable in (u-boot-2013.01.01.tar.bz2) U-boot source code.
Hello,
On Tue, 26 Mar 2013 11:46:10 +0530 (IST) nandakumar.ramaswamy@pricoltech.com wrote: ...
Actually I tried with U-Boot latest release (u-boot-2013.01.01.tar.bz2) also.But I am not able to see the SPLASH SCREEN. So, please share the SPLASH SCREEN image enable procedure for latest U-boot (u-boot-2013.01.01.tar.bz2) source code for i.mx53loco.
U-Boot release 2013.01.01 for mx53loco supports two LCD panels, CLAA07LC0ACW and Seiko-43WVF1G. If you have a different panel, you will have to add support for it. If you have Seiko panel, please set up environment variable panel as follows:
=> setenv panel seiko => saveenv
and reboot, then use load a bmp file and use "bmp" command to display it.
Thanks,
Anatolij
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-50 Fax: +49-8142-66989-80 Email: office@denx.de
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@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.

Dear nandakumar.ramaswamy@pricoltech.com,
please stop TOFU [1].
On 03/28/2013 12:49 PM, nandakumar.ramaswamy@pricoltech.com wrote:
Hello,
<snip>
And I tried the below command. But not get the correct output (SPLASH Image) through U-Boot.
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.
please read about asking smart questions [2].
Note: I am trying to display from SD-card.
So why you try to read data via tftp? How about fatload or ext2load?
As Anatolij pointed out you need to use the bmp command to display some memory range which contains the BMP image. To get the BMP image there you can use tftp, however your server (192.168.1.176) seems not to provide the image (/tftpboot/lvds.bmp), cause it runs always in timeout. Just my 2¢, sorry, I can not help you with the i.mx and lcd setup.
Best regards
Andreas Bießmann
[1] http://www.vranx.de/mail/tofu.html [2] http://www.catb.org/esr/faqs/smart-questions.html#urgent

On Thu, Mar 28, 2013 at 8:49 AM, nandakumar.ramaswamy@pricoltech.com wrote:
Hello,
- Please share me, if any one used mx53loco - LVDS settings for hannstar (mcimx-lvds1) display as per the below,
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200 console=tty1 video=mxcdi1fb:RGB666,TOSHIBA-XGA di1_primary ldb=single,di=1,ch1_map=SPWG'
- 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.
File Name: mx53loco.h
Included: #define CONFIG_SPLASH_SCREEN
This is already part of include/configs/mx53loco.h
Please post your changes in the format of a patch so that we can understand exactly what you are changing.
Also, please make sure that the backlight is turned on.
On my previous email the mx53ard code I pointed you to uses PWM to drive the backlight, you could simply use a GPIO instead.

Hello,
On Thu, 28 Mar 2013 17:19:15 +0530 (IST) nandakumar.ramaswamy@pricoltech.com wrote:
Hello,
- 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'
- 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

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@denx.de Sent: Thursday, 28 March, 2013 19:11 To: nandakumar.ramaswamy@pricoltech.com Cc: u-boot@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@pricoltech.com wrote:
Hello,
- 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'
- 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@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.

On Tue, Mar 26, 2013 at 3:16 AM, nandakumar.ramaswamy@pricoltech.com wrote:
Hello Jens,
Thanks for your quick response.
Actually I tried with U-Boot latest release (u-boot-2013.01.01.tar.bz2) also.But I am not able to see the SPLASH SCREEN. So, please share the SPLASH SCREEN image enable procedure for latest U-boot (u-boot-2013.01.01.tar.bz2) source code for i.mx53loco.
If you connect the CLAA WVGA panel to mx53loco, the penguin logo and U-boot version will be displayed by default.
LVDS panel has not been added yet, and that should be a simple task. Please refer to the mx53ard board in FSL U-boot: http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale...
Basically you need to pass the LVDS display timings, setup the LVDS clocks and register the LVDS panel with the correct color format.
And please post your patches to the list once you add the LVDS support :-)
Regards,
Fabio Estevam
participants (5)
-
Anatolij Gustschin
-
Andreas Bießmann
-
Fabio Estevam
-
Jens Scharsig
-
nandakumar.ramaswamy@pricoltech.com