From: nandakumar.ramaswamy at pricoltech.com <nandakumar.ramaswamy@pricoltech.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Splash Screen Enable in (u-boot-2013.01.01.tar.bz2) U-boot source code.
Date: Thu, 28 Mar 2013 20:52:42 +0530 (IST) [thread overview]
Message-ID: <1364484162.31613181@apps.rackspace.com> (raw)
In-Reply-To: <20130328144145.69c8f532@crub>
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 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.
next prev parent reply other threads:[~2013-03-28 15:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-25 9:55 [U-Boot] Splash Screen Enable in (u-boot-2009.08.tar.gz) U-boot source code nandakumar.ramaswamy at pricoltech.com
2013-03-25 14:18 ` Jens Scharsig
2013-03-26 6:16 ` [U-Boot] Splash Screen Enable in (u-boot-2013.01.01.tar.bz2) " nandakumar.ramaswamy at pricoltech.com
2013-03-26 7:25 ` Jens Scharsig
2013-03-26 7:30 ` Anatolij Gustschin
2013-03-26 9:25 ` nandakumar.ramaswamy at pricoltech.com
2013-03-28 11:49 ` nandakumar.ramaswamy at pricoltech.com
2013-03-28 12:18 ` Andreas Bießmann
2013-03-28 13:03 ` Fabio Estevam
2013-03-28 13:41 ` Anatolij Gustschin
2013-03-28 15:22 ` nandakumar.ramaswamy at pricoltech.com [this message]
2013-03-28 12:58 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1364484162.31613181@apps.rackspace.com \
--to=nandakumar.ramaswamy@pricoltech.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox