How to config the ocotp fuse parameter to boot from usdhc-4 in IMX6Q

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

How to config the ocotp fuse parameter to boot from usdhc-4 in IMX6Q

1,149 Views
hosungkim
Contributor II

Hello.

I have a problem in reference to sd booting.

Below is some dump data of OCOTP Fuse on IMX6Q

I want to boot from usdhc-4. But It is not work.

How to config the fuse paremeters to boot from sd-4.

Thank you.

021bc450: 00001840 00001840 00001840 00001840

021bc460: 00000010 00000010 00000010 00000010

021bc470: 00000000 00000000 00000000 00000000

021bc480: 000000c0 000000c0 000000c0 000000c0

021bc490: 00000040 00000040 00000040 00000040

021bc4a0: 000000e2 000000e2 000000e2 000000e2

021bc4b0: 00000000 00000000 00000000 00000000

021bc4c0: 00000000 00000000 00000000 00000000

021bc4d0: 00000000 00000000 00000000 00000000

021bc4e0: 5954de7d 5954de7d 5954de7d 5954de7d

021bc4f0: 00000000 00000000 00000000 00000000

021bc500: badabada badabada badabada badabada

021bc510: badabada badabada badabada badabada

021bc520: badabada badabada badabada badabada

021bc530: badabada badabada badabada badabada

021bc540: badabada badabada badabada badabada

Labels (1)
Tags (1)
7 Replies

860 Views
igorpadykov
NXP Employee
NXP Employee

Hi hosung

seems these settings for usdhc-4 1 bit mode (BOOT_CFG2[5]=0, 0x021bc450 bit 13).

What is your intention, what mode are you trying to use ? Please check Table 8-15.

USDHC Boot eFUSE Descriptions IMX6DQRM

Best regards

igor

0 Kudos

860 Views
hosungkim
Contributor II

Hi igor.

Your guess is right.

I'm going to use a micro sd card as boot device.

BOOT_MDOE[1:0] Switch : 0x00   --> fuse mode

BT_FUSE_SEL Fuse: 1 

  0x460[4] = 1b

BOOT_CFG1[7:4] (boot device)Fuse : 010xb  --> sd card

BOOT_CFG2[4:3](Port Select) Fuse  :  11b  --> usdhc-4

therefore 0x450's value is 0x00001840, 0x460's value is 0x00000010

The start index that u-boot.imx is stored in sd card is 2.

And I have tried u-boot.bin at the index 0 of the sd card. But it did not work.

I used u-boot source in staging branch of below git repo without modification.

     git@github.com:boundarydevices/u-boot-imx6.git

Beside above actions, What something do i have to do?

Thank you.

0 Kudos

860 Views
igorpadykov
NXP Employee
NXP Employee

what is BOOT_CFG2[5] in your selection ?

~igor

860 Views
hosungkim
Contributor II

021bc450: 00001840

BOOT_CFG2[5] is 0.

Thank you.

0 Kudos

860 Views
igorpadykov
NXP Employee
NXP Employee

do you see signals on dat and clk lines by oscilloscope ?

~igor

0 Kudos

860 Views
hosungkim
Contributor II

Hi igor.

This problem is cleared.

The fuse's parameters are right, but u-boot binary is wrong.

Thank you very much.

0 Kudos

860 Views
hosungkim
Contributor II

Thank you very much.

BUt I'm sorry, I left the office.

I will check the signals tomorrow.

0 Kudos