imx6dl uboot doesn't show logo with hdmi after patched

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

imx6dl uboot doesn't show logo with hdmi after patched

1,281 Views
conteczxy
Contributor III

My environment: imx6dl, JB4.2.2_1.1.0, hdmi, 1920x1080, RGB24

I applied the patch "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....",

and test with lcd, it works well.

Now, I am testing with hdmi,

Changes I did as follows,

uboot-imx/include/configs/mx6dl_sabresd.h

1.

370     #define IPU_OUTPUT_MODE_HDMI

371 //  #define IPU_OUTPUT_MODE_LVDS

372 //  #define IPU_OUTPUT_MODE_LCD

2.

381 #ifdef IPU_OUTPUT_MODE_HDMI

...

421     #define IPU_NUM         1 // original set to 2

I changed IPU_NUM from 2 to 1, because there is only 1 ipu in imx6dl, I think it should be changed

and

if I use #define IPU_NUM         2

the system will halt on uboot, log as follow,

________________________________________

U-Boot 2009.08 ( 6鏈18 2015 - 16:38:27)

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

Thermal sensor with ratio = 190

Temperature:   30 C, calibration data 0x5b251d69

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: 0x61012 [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

In:    serial

Out:   serial

Err:   serial

config_ipu_di_clk: freq = 148500000.

wait for pll5 lock.

config_ipu_di_clk: set pll5 clock to 297000000Hz.

_____________________________________________

else if I use #define IPU_NUM         1

the system will start up, but on hdmi, it shows "no siginal input"

3. my KERNEL_CMDLINE is as follows:

BOARD_KERNEL_CMDLINE := console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28 androidboot.hardware=freescale

Does anyone know what is the problem with my case?

Thanks

Labels (2)
Tags (1)
0 Kudos
Reply
3 Replies

807 Views
CarlosCasillas
NXP Employee
NXP Employee

Hello Qiang_FSL​, this customer also posted his question as a comment of your referenced document.

Do you have any comments for this case?

Best regards!

/Carlos

0 Kudos
Reply

807 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

HDMI display on IPU0 cause hasn't been given in that patch, but I think is is each to porting. I had given enough example for such kinds of porting.

0 Kudos
Reply

807 Views
paritoshsingh
Contributor I

Hi Qiang,

I am using i.MX6 dual lite processor.

I  have applied the patch "L3.10.53_GA1.1.0_uboot_logo_keep_patch_2016-01-04"  and build u-boot,uImage and dtb file.

I am using MFGTool to flash my binaries into eMMC. i have added below line in ucl2.xml file for loading logo image to eMMC

<CMD state="Updater" type="push" body="send" file="files/logo.bmp">Sending logo.bmp</CMD>

<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk%mmc%p1 bs=1 seek=1048576 skip=54">write logo to sd card</CMD>

But by adding these lines now u-boot is not able to find the uImage, I think I have corrupted the uImage by adding these lines.

So can you please guide me what will be the proper way of loading logo screen to eMMC.

Also, after adding the patch my kernel crashes with the below logs:

Bluetooth: Generic Bluetooth SDIO driver ver 0.1

usbcore: registered new interface driver ath3k

Unable to handle kernel NULL pointer dereference at virtual address 0000005c

cpuidle: using governor ladder

cpuidle: using governor menu

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

mmc0: no vqmmc regulator found

mmc0: no vmmc regulator found

pgd = 80004000

[0000005c] *pgd=00000000

Internal error: Oops: 5 [#1] PREEMPT SMP ARM

Modules linked in:

CPU: 1 PID: 94 Comm: kworker/u5:0 Not tainted 3.10.53 #1

Workqueue: hci0 hci_power_onmmc0: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA

task: a81ecf00 ti: a83ba000 task.ti: a83ba000

PC is at st_kim_ref+0x28/0x38

mmc1: no vqmmc regulator found

LR is at st_kim_ref+0x28/0x38

pc : [<80338ce0>]    lr : [<80338ce0>]    psr: a0000113

sp : a83bbe78  ip : 00000000  fp : 80d3e628

r10: 8046dc28  r9 : a836bde0  r8 : 8046dc18

r7 : 80d1b430  r6 : 00000000  r5 : a836bdd0  r4 : a83bbe84

r3 : 80d9ac6c  r2 : 00000000  r1 : 00000000  r0 : 00000000

Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

Control: 10c53c7d  Table: 1000404a  DAC: 00000015

Process kworker/u5:0 (pid: 94, stack limit = 0xa83ba238)

Stack: (0xa83bbe78 to 0xa83bc000)

be60:                                                       80d1b430 80336c7c

be80: a81eda40 80bf6d38 a83bbe8c 80d1b430 a836bdd0 00000000 80d1b430 8046da94

bea0: a83bbeb4 a803f028 00000000 a803f000 a803f724 80d42ea0 a8387900 00000000

bec0: a803f5e0 00000000 a81e6600 80617d54 a803f5e0 a803f000 a83ba000 a8387900

bee0: 00000000 a803f5e0 00000000 80618038 a81f6c00 a81e6600 a83ba000 80043bb0

bf00: a81e677c 8004447c a81b1200 00000000 a83bbf44 a81f6c00 a81e6600 a83ba000

bf20: a81e6614 a81f6c18 00000089 80d326c1 a81e6600 80044648 00000000 a83ba000

bf40: a83bbf64 a80a7d44 00000000 a81f6c00 80044504 00000000 00000000 00000000

bf60: 00000000 80049dc0 00000000 00000000 00000000 a81f6c00 00000000 00000000

bf80: a83bbf80 a83bbf80 00000000 00000000 a83bbf90 a83bbf90 a83bbfac a80a7d44

mmc0: BKOPS_EN bit is not set

bfa0: 80049d1c 00000000 00000000 8000eb18 00000000 00000000 00000000 00000000

bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

mmc0: new high speed DDR MMC card at address 0001

mmcblk0: mmc0:0001 MMC08G 7.26 GiB

mmcblk0boot0: mmc0:0001 MMC08G partition 1 16.0 MiB

mmcblk0boot1: mmc0:0001 MMC08G partition 2 16.0 MiB

mmcblk0rpmb: mmc0:0001 MMC08G partition 3 128 KiB

mmcblk0: p1 p2

mmcblk0boot1: unknown partition table

mmcblk0boot0: unknown partition table

bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 24000000 00000000

[<80338ce0>] (st_kim_ref+0x28/0x38) from [<80336c7c>] (st_register+0x18/0x32c)

[<80336c7c>] (st_register+0x18/0x32c) from [<8046da94>] (ti_st_open+0x98/0x21c)

[<8046da94>] (ti_st_open+0x98/0x21c) from [<80617d54>] (hci_dev_open+0xb4/0x368)

[<80617d54>] (hci_dev_open+0xb4/0x368) from [<80618038>] (hci_power_on+0x30/0xf4)

[<80618038>] (hci_power_on+0x30/0xf4) from [<80043bb0>] (process_one_work+0xfc/0x34c)

[<80043bb0>] (process_one_work+0xfc/0x34c) from [<80044648>] (worker_thread+0x144/0x3a4)

[<80044648>] (worker_thread+0x144/0x3a4) from [<80049dc0>] (kthread+0xa4/0xb0)

[<80049dc0>] (kthread+0xa4/0xb0) from [<8000eb18>] (ret_from_fork+0x14/0x3c)

Code: 05840000 08bd8010 e2800010 ebff91e7 (e590305c)

---[ end trace 239ab2f1f063d022 ]---

Unable to handle kernel paging request at virtual address ffffffec

pgd = 80004000

[ffffffec] *pgd=3bf5e821, *pte=00000000, *ppte=00000000

Internal error: Oops: 17 [#2] PREEMPT SMP ARM

Modules linked in:

CPU: 1 PID: 94 Comm: kworker/u5:0 Tainted: G      D      3.10.53 #1

task: a81ecf00 ti: a83ba000 task.ti: a83ba000

PC is at kthread_data+0x4/0xc

LR is at wq_worker_sleeping+0xc/0xc8

pc : [<8004a020>]    lr : [<80044c68>]    psr: 20000193

sp : a83bbb98  ip : 815d0d48  fp : a83bbc3c

r10: 80cd7d00  r9 : a83ba000  r8 : a83ba000

r7 : 00000001  r6 : a81ecf00  r5 : 00000001  r4 : a81ed098

r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : a81ecf00

Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user

Control: 10c53c7d  Table: 1000404a  DAC: 00000015

Process kworker/u5:0 (pid: 94, stack limit = 0xa83ba238)

Stack: (0xa83bbb98 to 0xa83bc000)

bb80:                                                       0420806c a81ed098

bba0: 815d0d00 80679034 812b2980 a8001380 0000002d 80674cd4 a8001380 a83ba000

bbc0: 80cda918 a83ba000 80cd7d00 80cd7d00 815d3918 800c2170 80d49440 a81ecf00

bbe0: a8362900 a81cf444 80d49458 a81cef40 00000000 8067a200 00000000 80031034

bc00: a81ecf04 80cd63a8 a81ecf08 8008dc28 a81ed268 815cf9f0 a81ed268 a81ecf00

bc20: 00000001 a81ecef8 a80b0000 a81ed01c a83ba000 a81ed01c a81ed01c 8003228c

bc40: a83bbc4c 00000001 60000113 000b000b a83bbc4c a81ed064 00000000 80d47d84

bc60: 0000000b 00000001 80ce7160 00000000 a83bbcca a83ba000 60000113 800120a0

bc80: a83ba238 0000000b 00000000 60000113 00000000 00000008 30000000 30343835

bca0: 20303030 64623830 30313038 38326520 31303030 62652030 31396666 28203765

bcc0: 30393565 63353033 80002029 80673f98 80bd7cec 00000000 0000005c 00000005

bce0: a83bbe30 a81ecf00 0000005c 8046dc28 80d3e628 80673d94 a83bbe30 800192ec

bd00: 806a55b8 00000008 00000020 802862b0 00000020 00000028 00000000 815d0d00

bd20: ffff8bd7 a808b500 00000001 0000000d 80d4eaa8 0000000d 0000000d 80d49d94

bd40: 00000000 8002df70 00000000 00000001 00000000 8067a284 00000000 80cebaac

bd60: 00000007 8004eb58 00000000 00000005 80ce7a80 0000005c a83bbe30 8046dc18

bd80: a836bde0 8046dc28 80d3e628 80008370 00000000 0000000d 00000001 80d498c0

bda0: 00000006 80ceba74 00000000 8002ea7c 0000000d 8002f3d0 00000000 00000000

bdc0: 00000000 00000000 80d4a1ba 0000000d 815d0d48 60000113 00000001 a81ecf38

bde0: 00000000 80058648 00000000 a81ed098 a83bbe94 a803f000 a803f724 80d42ea0

be00: a8387900 00000000 a803f5e0 00000000 80d3e628 80673f98 80ba7988 80338ce0

be20: a0000113 ffffffff a83bbe64 8000e618 00000000 00000000 00000000 80d9ac6c

be40: a83bbe84 a836bdd0 00000000 80d1b430 8046dc18 a836bde0 8046dc28 80d3e628

be60: 00000000 a83bbe78 80338ce0 80338ce0 a0000113 ffffffff 80d1b430 80336c7c

be80: a81eda40 80bf6d38 a83bbe8c 80d1b430 a836bdd0 00000000 80d1b430 8046da94

bea0: a83bbeb4 a803f028 00000000 a803f000 a803f724 80d42ea0 a8387900 00000000

bec0: a803f5e0 00000000 a81e6600 80617d54 a803f5e0 a803f000 a83ba000 a8387900

bee0: 00000000 a803f5e0 00000000 80618038 a81f6c00 a81e6600 a83ba000 80043bb0

bf00: a81e677c 8004447c a81b1200 00000000 a83bbf44 a81f6c00 a81e6600 a83ba000

bf20: a81e6614 a81f6c18 00000089 80d326c1 a81e6600 80044648 00000000 a83ba000

bf40: a83bbf64 a80a7d44 00000000 a81f6c00 80044504 00000000 00000000 00000000

bf60: 00000000 80049dc0 00000000 00000000 00000000 a81f6c00 00000000 00000000

bf80: a83bbf80 a83bbf80 00000001 00010001 a83bbf90 a83bbf90 a83bbfac a80a7d44

bfa0: 80049d1c 00000000 00000000 8000eb18 00000000 00000000 00000000 00000000

bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 24000000 00000000

[<8004a020>] (kthread_data+0x4/0xc) from [<80044c68>] (wq_worker_sleeping+0xc/0xc8)

[<80044c68>] (wq_worker_sleeping+0xc/0xc8) from [<80679034>] (__schedule+0x34c/0x58c)

[<80679034>] (__schedule+0x34c/0x58c) from [<8003228c>] (do_exit+0x5b0/0x898)

[<8003228c>] (do_exit+0x5b0/0x898) from [<800120a0>] (die+0x1ec/0x3a8)

[<800120a0>] (die+0x1ec/0x3a8) from [<80673d94>] (__do_kernel_fault.part.11+0x54/0x74)

[<80673d94>] (__do_kernel_fault.part.11+0x54/0x74) from [<800192ec>] (do_page_fault+0x2b0/0x368)

[<800192ec>] (do_page_fault+0x2b0/0x368) from [<80008370>] (do_DataAbort+0x34/0x9c)

[<80008370>] (do_DataAbort+0x34/0x9c) from [<8000e618>] (__dabt_svc+0x38/0x60)

Exception stack(0xa83bbe30 to 0xa83bbe78)

be20:                                     00000000 00000000 00000000 80d9ac6c

be40: a83bbe84 a836bdd0 00000000 80d1b430 8046dc18 a836bde0 8046dc28 80d3e628

be60: 00000000 a83bbe78 80338ce0 80338ce0 a0000113 ffffffff

[<8000e618>] (__dabt_svc+0x38/0x60) from [<80338ce0>] (st_kim_ref+0x28/0x38)

[<80338ce0>] (st_kim_ref+0x28/0x38) from [<80336c7c>] (st_register+0x18/0x32c)

[<80336c7c>] (st_register+0x18/0x32c) from [<8046da94>] (ti_st_open+0x98/0x21c)

[<8046da94>] (ti_st_open+0x98/0x21c) from [<80617d54>] (hci_dev_open+0xb4/0x368)

[<80617d54>] (hci_dev_open+0xb4/0x368) from [<80618038>] (hci_power_on+0x30/0xf4)

[<80618038>] (hci_power_on+0x30/0xf4) from [<80043bb0>] (process_one_work+0xfc/0x34c)

[<80043bb0>] (process_one_work+0xfc/0x34c) from [<80044648>] (worker_thread+0x144/0x3a4)

[<80044648>] (worker_thread+0x144/0x3a4) from [<80049dc0>] (kthread+0xa4/0xb0)

[<80049dc0>] (kthread+0xa4/0xb0) from [<8000eb18>] (ret_from_fork+0x14/0x3c)

Code: e513001c e7e00150 e12fff1e e590316c (e5130014)

---[ end trace 239ab2f1f063d023 ]---

Fixing recursive fault but reboot is needed!

Also, can you please tell how to flash two dtb files.

0 Kudos
Reply