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
已解决! 转到解答。
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
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
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:
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?