hi,
i want to start u-boot-2015.04 with logo, what steps need to be done?
in include/configs/mx6sabresd.h i has enabled this macro:
#define CONFIG_SPLASH_SCREEN
then u-boot Log follows:
U-Boot 2015.04-14469-gd3ef2ab-dirty (Apr 21 2016 - 01:50:53)
CPU: Freescale i.MX6Q rev1.5 at 792 MHz
CPU: Temperature 39 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 3.8 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 3
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0(part 0) is current device
Net: Phy 1 not found
PHY reset timed out
FEC [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
=>
The screen is balck, without any thing.
should i need download any bmp picture tu sd card at address 0x1000000(or other address?),or logo bmp picture is in u-boot.imx.
Please refer to the Section 5.4 of the attached document. Also, refer to the following community thread:
https://community.freescale.com/message/320514
Hope it will be helpful.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, Artur
my lcd pannel uses lvds,my lcd is samsung's LTM230HL08, how to setting this lcd in uboot. like this:
board/freescale/mx6sabresd/mx6sabresd.c
struct display_info_t const displays[] = {{
763 .bus = -1,
764 .addr = 0,
765 .pixfmt = IPU_PIX_FMT_RGB666,
766 .detect = NULL,
767 .enable = enable_lvds,
768 .mode = {
769 .name = "SAMSUNG-LTM230HL08",
770 .refresh = 60,
771 .xres = 1920,
772 .yres = 1080,
773 .pixclock = 12048,
774 .left_margin = 80,
775 .right_margin = 68,
776 .upper_margin = 15,
777 .lower_margin = 15,
778 .hsync_len = 12,
779 .vsync_len = 8,
780 .sync = 0,
781 .vmode = FB_VMODE_NONINTERLACED
782 } }, {
is right?
and if i don't enabel #define CONFIG_SPLASH_SCREEN, does it will show uboot versio string on screen?
Q. and if i don't enabel #define CONFIG_SPLASH_SCREEN, does it will show uboot versio string on screen?
A. No, the output will only be available on the serial console.
in drivers/video/cfb_console.c:
static void *video_logo(void)
{
....
sprintf(info, " %s", version_string);
space = (VIDEO_COLS - VIDEO_INFO_X) / VIDEO_FONT_WIDTH;
len = strlen(info);
if (len > space) {
int xx = VIDEO_INFO_X, yy = VIDEO_INFO_Y;
uchar *p = (uchar *) info;
while (len) {
if (len > space) {
video_drawchars(xx, yy, p, space);
len -= space;
p = (uchar *) p + space;
if (!y_off) {
xx += VIDEO_FONT_WIDTH;
space--;
}
yy += VIDEO_FONT_HEIGHT;
y_off++;
} else {
video_drawchars(xx, yy, p, len);
len = 0;
}
}
} else
video_drawstring(VIDEO_INFO_X, VIDEO_INFO_Y, (uchar *) info);
....
}
look at this code, it will show uboot version string on the serial console not on lcd pannel screen?
thanks