How to program i.mx6 efuse to boot from eMMC(SD3)

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

How to program i.mx6 efuse to boot from eMMC(SD3)

4,452 Views
tsaiderek
Contributor II

Hi All,

We want to boot IMX6 device from eMMC interface  (SD3)

so  we need to configure the boot device type by BOOT_CFG[7:4] eFUSEs as 0110 configuration

i.MX 6Dual/6Quad Applications Processor Reference Manual

From Table 5-4

we should setting 0x450

     imxotp blow --force 5 0x00005060

and if we need WDOG support

we should setting 0x460

    imxotp blow --force 6 0x00200000

Is it correct or not?

5 Replies

1,073 Views
igorpadykov
NXP Employee
NXP Employee

Hi tsai

it is unclear which BOOT_CFG you are trying to blow.

Please use Table 5-7 SD/eSD Boot Fusemap IMX6DQRM

and below links

Q&A: How to program i.MX6 eFUSE?

mx6 efuse

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

1,073 Views
tsaiderek
Contributor II

Hello igor

thanks for your reply.

I'm sorry I did not describe clearly.

My board is based on eMMC sdhc3

I have already boot from setting  Boot Mode[1:0]= 10 (Boot from Board setting)

and gpio setting BOOT_CFG1[7:4] =0110 , BOOT_CFG[6:3] = 1010

未命名.jpg

then i want to test setting  Boot Mode[1:0]= 00 (Boot from fuse)

mmc.jpg

I think setting should be

0x450[31:0] = 0x00005060

and i try to add WDOG for serial download

0x460[31:0] =  0x00200000

or i should setting 0x460[31:0] = 0x00200010 ?

thanks for your help

0 Kudos

1,073 Views
igorpadykov
NXP Employee
NXP Employee

Hi tsai

could you explain your choice with meaning every fuse bit per bit from this table?

I can understand :

"WDOG for serial download

0x460[31:0] =  0x00200000"


and think that this is right.


~igor

0 Kudos

1,073 Views
tsaiderek
Contributor II

Hello igor,

I have set up 0x450[31:0] = 0x5060, 0x460[31:0]=0x200010

use

echo 0x5060 > /sys/fsl_otp/HW_OCOTP_CFG4

echo 0x200010 > /sys/fsl_otp/HW_OCOTP_CFG5

and all work fine

thanks for your help

1,073 Views
ShawnBai
Contributor III

Thank you, very helpfullll.

0 Kudos