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!
-----------------------------------------------------------------------------------------------------------------------