Dear Team,
I would like to ask about how to program eFuse of i.MX6SoloX in mass-production line.
My customer is thinking of using u-boot for programming eFuse in their production line.
In order to minimize time and care of the programming eFuse, they thinks that they can use a script in u-boot.
Actually, the programming eFuse command in u-boot seems to need final confirmation of man (need to keyin ‘Y’). Then the script cannot be automatically.
Could you show me where I can find the description of u-boot script usage?
If you have any ideas other than that, please let me know.
Thanks,
Miyamoto
Hello,
The MFG tool is intended for mass-production operations and also maybe applied for fuse burning.
1.
The MFG uses special (MFG) Linux release to run it in DRAM without (root) filesystem on external storage.
You may look at the following.
Burning fuse bits using MFGTool on i.MX6UL-EVK
2.
Section 6.2 (Manufacturing Tool, MFGTool) of i.MX_Yocto_Project_User's_Guide.pdf (IMXLXYOCTOUG, User's Guide
Rev. 0, 10/2016) shows how to build system for MFG.
---
One way to place an image on a device is to use the MFGTool. The recipes used to build a manufacturing
tool image are linux-imx-mfgtool and u-boot-mfgtool.
To build a manufacturing image do the following -
$ bitbake fsl-image-mfgtool-initramfs
A manufacturing tool kernel is built using the imx_v7_mfg_defconfig while the default kernel is built by
using the imx_v7_defconfig.
---
Note, it is needed to patch “imx_v7_mfg_defconfig” and build system for MFG.
Patch to Linux Kernel to enable OTP driver in mfgtool zImage firmware :
diff --git a/arch/arm/configs/imx_v7_mfg_defconfig b/arch/arm/configs/imx_v7_mfg_defconfig
--- a/arch/arm/configs/imx_v7_mfg_defconfig
+++ b/arch/arm/configs/imx_v7_mfg_defconfig
@@ -150,6 +150,7 @@ CONFIG_SERIAL_IMX_CONSOLE=y
CONFIG_SERIAL_FSL_LPUART=y
CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
CONFIG_HW_RANDOM=y
+CONFIG_FSL_OTP=y
# CONFIG_I2C_COMPAT is not set
CONFIG_I2C_CHARDEV=y
# CONFIG_I2C_HELPER_AUTO is not set
3.
General overview of MFG using may be found in the following presentation.
https://community.nxp.com/docs/DOC-332977
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
I checked with the customer about your suggestion that one can use MFG Tools.
They said that it is not allowable because they cannot use PC on their production line.
Now they are trying to implement an external board which is made only for programming eFuse on their production line. And on the board, SD-Card in mounted and it contains U-Boot program. By the u-boot, they are supposed to program eFuse.
The points are;
They cannot use PC on their production line.
And they do not want to have interaction with human on the eFuse programming procedure. (no need to confirmation input, etc.)
Do you have any other ideas?
Thanks,
Miyamoto
Hello,
the following may help
https://community.nxp.com/docs/DOC-93628
Perhaps, U-boot fuse command should be slightly modified
to fully meet Your requirements.
Regards,
Yuri.