eFUSE burning for SATA interfce booting..

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

eFUSE burning for SATA interfce booting..

跳至解决方案
13,454 次查看
ManoharChinnadu
Contributor III

Hi All,

We want to boot IMX6 device from SATA interface(instead of SD or NOR flash), for that we need to configure the boot device type by BOOT_CFG[7:4] eFUSEs as 0010 configuration(TRMi.MX 6Dual/6Quad Applications Processor Reference Manual (Table 7-8)).

How we can configure the eFUSEs value, is there any tool or method to configure the eFUSE values.?

It will be helpful for us to configure the target device to boot via SATA interface.


Regards,

Sandesh D

1 解答
11,973 次查看
YamilGarcia
Contributor III

Hi All,

To blow fuses, you must use u-boot command "imxotp blow --force <index> <value>".

From Table 5-4. SATA Boot Fusemap in i.MX 6Dual 6Quad Applications Processor Reference Manual.pdf

you get the address of fuses to setup boot from SATA, then you need to calculate the fuse index and then use command above.

To calculate the index, use formula shown below:

Fuse Index = (Fuse Address - 0x400) * 0x10

The value is determine by your needs.

For example to setup boot from NOR, the index will be 5 as shown below:

fuse address = 0x450

index = (0x450 - 0x400) * 0x10

index = 5

then,

imxotp blow --force <index> <value>"

u-boot> imxotp blow --force 5 0x18000030

在原帖中查看解决方案

0 项奖励
回复
6 回复数
11,974 次查看
YamilGarcia
Contributor III

Hi All,

To blow fuses, you must use u-boot command "imxotp blow --force <index> <value>".

From Table 5-4. SATA Boot Fusemap in i.MX 6Dual 6Quad Applications Processor Reference Manual.pdf

you get the address of fuses to setup boot from SATA, then you need to calculate the fuse index and then use command above.

To calculate the index, use formula shown below:

Fuse Index = (Fuse Address - 0x400) * 0x10

The value is determine by your needs.

For example to setup boot from NOR, the index will be 5 as shown below:

fuse address = 0x450

index = (0x450 - 0x400) * 0x10

index = 5

then,

imxotp blow --force <index> <value>"

u-boot> imxotp blow --force 5 0x18000030

0 项奖励
回复
11,973 次查看
niklasmolin
Senior Contributor I

Hi.

One quick question.

If I blow the fuses, can I revert it back later or is it going to be stuck in that setting forever?

Thanks,

Niklas

0 项奖励
回复
11,973 次查看
sinanakman
Senior Contributor III

Blowing fuses is a one way operation.

0 项奖励
回复
11,973 次查看
ManoharChinnadu
Contributor III

Thanks Garcia,

we use the following values to blow the eFUSES for SATA interface booting and now we were able to boot via SATA Interface.

SATA

- Only need to blow BOOT_CFG1[5]. All other fuses remain at “0”.

- Sequence from U-Boot:

  • imxotp blow --force 5 0x20     ;BOOT_CFG1[5]
  • imxotp blow --force 6 0x10     ;BT_FUSE_SEL

0 项奖励
回复
11,973 次查看
YamilGarcia
Contributor III

Hi Manohar,

You are welcome.

We are a community, so we help each other.

Regards,

Yamil Garcia,

Imagik Int Corp.

0 项奖励
回复
11,973 次查看
rp123
Contributor II


I am using GPIO, external on board resistors, to set my boot mode settings instead of blowing fuses.  When i memory dump 0x450 should it correspond to that of the Book Device Select table in the IMX6DQRM.pdf?

0 项奖励
回复