eFUSE burning for SATA interfce booting..

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eFUSE burning for SATA interfce booting..

ソリューションへジャンプ
3,235件の閲覧回数
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

ラベル(7)
1 解決策
1,754件の閲覧回数
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 返答(返信)
1,755件の閲覧回数
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 件の賞賛
返信
1,754件の閲覧回数
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 件の賞賛
返信
1,754件の閲覧回数
sinanakman
Senior Contributor III

Blowing fuses is a one way operation.

0 件の賞賛
返信
1,754件の閲覧回数
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 件の賞賛
返信
1,754件の閲覧回数
YamilGarcia
Contributor III

Hi Manohar,

You are welcome.

We are a community, so we help each other.

Regards,

Yamil Garcia,

Imagik Int Corp.

0 件の賞賛
返信
1,754件の閲覧回数
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 件の賞賛
返信