well,I config the max6dl board for 18bits lcd to show uboot logo,but it can't turn on!!!help me.

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

well,I config the max6dl board for 18bits lcd to show uboot logo,but it can't turn on!!!help me.

2,092 Views
尚飞汤
Contributor IV

there are the log:

U-Boot 2009.08-00224-gd197d83-dirty (Apr 27 2015 - 08:16:14)

CPU: Freescale i.MX6 family TO1.1 at 792 MHz

Thermal sensor with ratio = 185

Temperature:   31 C, calibration data 0x5925085f

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock     : 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock     : 132000000Hz

axi clock   : 198000000Hz

emi_slow clock: 99000000Hz

ddr clock     : 396000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

nfc clock     : 24000000Hz

Board: i.MX6DL/Solo-SABRESD: unknown-board Board: 0x61011 [POR ]

Boot Device: MMC

I2C:   ready

DRAM:   1 GB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3

*** Warning - bad CRC or MMC, using default environment

[aaron]:***************add for logo1

logo.bmp is accessed from eMMC, block start at 0x234001 count 0x3fff

well ,can anybody give me some tips??

Labels (4)
Tags (1)
0 Kudos
Reply
18 Replies

1,544 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 尚飞 汤,

There is patch in our community, you can have a try. The link is : Patch to support uboot logo keep from uboot to kernel to Android for JB4.2.2_1.1.0-GA and L3.0.35_4....
Have a great day
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,544 Views
尚飞汤
Contributor IV

hello,any answer?

0 Kudos
Reply

1,544 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 尚飞 汤,

You said your screen is white, here have set the right timing parameters for your lcd according to the lcd datasheet? You'd better have a check first.
Have a great day
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,544 Views
尚飞汤
Contributor IV

嗨,dan,i just don't understand,i just want to show boot logo,but not want it to kernel,your patch i applied,but not success.

and i just don't understand you said "there are two patches one is for linux another one is for android BSP",for i find linux and android is almost the same.i think i should just use one of them is ok. as i told you ,our project is just one,and it's kernel is linux L3.0.35_4.1.0,and android version is JB4.2.2_1.1.0.how can i decide which should to be patch????

please have a support.

0 Kudos
Reply

1,544 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 尚飞 汤,

Here if you are using the BSP L3.0.35_4.1.0 , you can use the patch.

  L3.0.35_4.1.0_uboot_logo_keep_patch_2013-11-22.zip

If you are using the JB4.2.2_1.1.0 . you can use the follow  patch.

JB4.2.2_1.1.0_uboot_logo_keep_patch_2013-11-22.zip

Best Regards

Dan

0 Kudos
Reply

1,544 Views
尚飞汤
Contributor IV

can you tell me how to compare the IPU id and IPU DI value in uboot and kernel????

0 Kudos
Reply

1,544 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 尚飞 汤,

The IPU number and DI number are defined by Macro in Uboot file "include\configs\mx6q_sabresd.h"

#define IPU_NUM  2  // 1 for IPU1, 2 for IPU2.

#define DI_NUM  0  // 0 for DI0, 1 for DI1.

You can set it yourself.
Have a great day
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,544 Views
尚飞汤
Contributor IV

where can be used those id and di?

0 Kudos
Reply

1,543 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 尚飞 汤,

Here I attach you a document, you can refer to 5.4 Splash screen support. Hope it can help you.

Best Regards

Dan

0 Kudos
Reply

1,543 Views
尚飞汤
Contributor IV

thanks,but i have this document,however,we put the image in emmc,and through setup_splash_img to show logo.

which different like the documents.

can you tell me how to compare the

0 Kudos
Reply

1,543 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 尚飞 汤,

Which version of BSP are you using ? L3.0.35_4.1.0 or android?
Have a great day
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,543 Views
尚飞汤
Contributor IV

well, our linux kernel version is L3.0.35_4.1.0,but android version is JB4.2.2_1.1.0.

0 Kudos
Reply

1,543 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 尚飞 汤,

In the link I gave you, there are two patches one is for linux another one is for android BSP. You can work them on your BSP separately.

Some of our customers have worked on them success.

You can have a try.
Have a great day
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,543 Views
尚飞汤
Contributor IV

there was patch log:

aaron@bp153:~/work_place/Pat_215/imx6jb2/kernel_imx$ git apply ./0001-Keep-uboot-logo-for-Linux-boot-supports-HDMI-LCD-and.patch

kernel_imx/./0001-Keep-uboot-logo-for-Linux-boot-supports-HDMI-LCD-and.patch:240: trailing whitespace.

        /*

kernel_imx/./0001-Keep-uboot-logo-for-Linux-boot-supports-HDMI-LCD-and.patch:241: trailing whitespace.

         * For LVDS display:

kernel_imx/./0001-Keep-uboot-logo-for-Linux-boot-supports-HDMI-LCD-and.patch:242: trailing whitespace.

         * skip pll2_pfd_352M to keep the display running.

kernel_imx/./0001-Keep-uboot-logo-for-Linux-boot-supports-HDMI-LCD-and.patch:250: trailing whitespace.

        /*

kernel_imx/./0001-Keep-uboot-logo-for-Linux-boot-supports-HDMI-LCD-and.patch:251: trailing whitespace.

         * For HDMI and LCD display:

warning: squelched 14 whitespace errors

warning: 19 lines add whitespace errors.

i find it was just wrong ,and has't patch in.

0 Kudos
Reply

1,543 Views
尚飞汤
Contributor IV

you give me to patch file,which should i use?

0 Kudos
Reply

1,543 Views
尚飞汤
Contributor IV

dear dan:my bsp is MX6dl, i have view the things you give me ,but i can't understand how to patch,by the way,last question is because the logo is too large.(i have solved)

however, new question is the lcd cannot show the the LOGO,but it  just  show white.

below is log:

Board: i.MX6DL/Solo-SABRESD: unknown-board Board: 0x61011 [WDOG ]

Boot Device: MMC

I2C:   ready

DRAM:   1 GB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3

*** Warning - bad CRC or MMC, using default environment

logo.bmp is accessed from eMMC, block start at 0x234001 count 0x3fff

logo width is 1024, logo height is 768

panel_info.vl_col is 1024, panel_info.vl_row is 768

Display-bmp: 1024 x 768  with 16777216 color

enable_lcd_power

In:    serial

Out:   serial

Err:   serial

i2c: I2C3 SDA is low, start i2c recovery...

I2C3 Recovery failed, I2C1 SDA still low!!!

Net:   got MAC address from IIM: 00:00:00:00:00:00

FEC0 [PRIME]

Hit any key to stop autoboot:  3     2     1     0

kernel   @ 10808000 (4467348)

ramdisk  @ 11800000 (830355)

kernel cmdline:

use boot.img command line:

0 Kudos
Reply

1,543 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi 尚飞 汤,

Which version BSP are you using?
Have a great day
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,543 Views
尚飞汤
Contributor IV

dan,which patch should i use?

0 Kudos
Reply