Hello,
I would need to update the image on phytec imx6ul SOm boards using MFGtools v2. The MFG application on the Windows PC does not recognize the board(OTG in device mode is configured and g_masss_storage module loaded).
I have read that how should I confgiure UTP on top of mass storage driver in order for MFG comunication to work. Is this true?
Where could I read about the steps to confgure the imx6ul image in roder for me to be able to use MFGtools successfully?
Thanks,
Mihaita
Hi Mihaita
please check sect.6 Using the Manufacturing Tool Hardware Development Guide
for the i.MX 6UltraLite Applications Processor
https://www.nxp.com/docs/en/user-guide/IMX6ULHDG.pdf
and MFG Tool guide on
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for pointing me to the correct documentation.
I am not able to build an image for MFGtools:
ERROR: Nothing PROVIDES 'fsl-image-mfgtools-initramfs'
I am using yocto BSP for phyboard_segin_imx6ul board.
What should I change in my recipes in order to build for mfgtools?
Best regards,
Mihaita
Hi Mihaita
one can follow sect.6.2 Manufacturing Tool, MFGTool attached Yocto Guide and nxp bsp:
phytec developed own bsp and issues with it may be addressed to its support.
Best regards
igor
Hi Igor,
Thanks again for your message. The problem remains that neither here Freescale_Yocto_Project_User's_Guide.pdf is explained how do I checkout and where from the mfg support layer. Just briefly discusses how to build it.
So what git repository exactly I need to fetch in order to be able to run successfully:
bitbake fsl-image-mfgtool-initramfs
I have browsed linux-imx - i.MX Linux kernel but could not find anything related to MFG. I f I download the MFGTool from NXP page it contains only Windows executables and scripts. NO MFG specific BSP image.
So where do I get the MFG imx6 BSP image from ?
The documentation provided by you does not cover this and I could not figure it out from other sources or topics opened on this forum.
Your detailed answer would be appreciated.
Thanks,
Mihaita
Hi Mihaita
phytec bsps may not support it.
Please use nxp bsps described below
NXP has special service which helps customers to port own software:
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for your answer.
At this link https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fsupport%2Fdeveloper-res...
there are the MFGtool binaries and imx6ul BSP pre-built images(but not one has support for MFGtool).
There is no pre-built image, any User guide on how to enable or add support for MFGTool in your image).
Please see the snapshot attached from NXP page
All I got so far from NXP official documentation is this small reference:
I would need to read somewhere on how to clone MFG layer from NXP and how to enable it in recipes.
After that I can build an imx6 image with MFGtool support so I can then use successfully the MFGTool.exe binary on a Windows PC to update my board
Thanks,
Mihaita Ivascu
one can look at example of mfg tool customization on
Best regards
igor
Hi Igor,
Thanks for the answer. That is an explanation how to configure MFGtool and scripts on the PC side where the application is launched from.
I was wondering if there is any documentation or example on how to configure the BSP image for supporting MFGtool.
My understanding as that when you run MFGTool.exe on PC in order for the application to correctly connect to the target, you have to have a customized BSP image with MFGtool support running on the target already. Is this correct?
If yes, the I would need to read somewhere how to clone the mfg layer and customize my image with it, in order for me to successfully run the following command:
There is no documentation that I found so far or example that explains how to get to this point of having the needed mfg layer cloned and the correct recipe configured. Where can I read about it?
Thanks,
Mihaita
I have added necessary files similar to here(.b and .inc for mfg):
meta-fsl-arm - Layer containing Freescale ARM hardware support metadata
But is it enough?
Best regards,
Mihaita
Do I need to add support for MFG in kernel as well by adding support for UTP protocol like in this patch?
Thanks,
Mihaita
may be useful to look at
Porting a Custom Board and Manufacturing Tool Firmware
yocto L4.1.15 bitbake mfgtool-initramfs command failed
Best regards
igor
Hi Igor,
I got further and was able to start the loading process from MFGtool application but is stops at some point before first "push" command from ucl2.xml
I have attached the MFGTool log.
Do you have any suggestion on what I might need to investigate next?
Best regards,
Mihaita
Hi Igor,
For the problem with MFGTool stuck at "Jump to Ramkernel successfully!" I would like to mention that I am trying to load my own images: barebox bootloader, dtb, kernel image and rootfs as can be seen in the ucl2.xml.
I saw that for similar issues you have suggested to other people to run ddr stress tool and to update the mfgtools firmware. Should I use that approach?
Is there any issue that I am trying to load barebox from MFGTools2. I see that in the firmware directory the tools comes only with predefined u-boot images. No barebox images
Thanks,
Mihaita
Hi Mihaita
> I saw that for similar issues you have suggested to other people to run ddr stress tool and to
>update the mfgtools firmware. Should I use that approach?
yes this is right: for new board mfg tools firmware (files in /firmware folder) should be rebuilt
with new calibration settings (usually they are in uboot/../mx6ul_14x14_evk/imximage.cfg) found from ddr test.
> Is there any issue that I am trying to load barebox from MFGTools2.
in general custom codes can be run using mfg tools (please check documentation included in package).
However you should find yourself solution for running barebox from MFGTools2, NXP does not provide it
in its official BSPs described on
Best regards
igor
Hi Igor,
I was able to update the NAND succesfully using MFGtools.
But when I try to boot the image I got the following issues:
I will close this topic as I figured out in the end what needs to be done. I have made progress and have other issues now but this topic is no longer an issue.
Thanks,
Mihaita