Mfgtool 2.0 (UTP) corrupting image data while loading during bootstrap mode

cancel
Showing results for 
Search instead for 
Did you mean: 

Mfgtool 2.0 (UTP) corrupting image data while loading during bootstrap mode

63 Views
arindamroy
Contributor I

We are planning to use Mfgtool 2.0 for manufacturing purposes. 

I am facing issues in using Mfgtool 2.0 which uses UTP protocol. I downloaded it from the NXP Website.

In the Bootstrap phase, mfgtool is supposed to enable loading of zImage, DTB and rootfs after u-boot.

I can see the u-boot is coming up, but after that I see issues with the DTB and the boot stops. The DTB is supposed to be loaded at the location 0x1800 0000. When I check the contents at the location 0x1800 0000 using "md" command of u-boot, I can see that the first word is corrupted. Rest of the words are correct.

The first word for DTB should be 0xd00dfeed. However, I see it is 0xaa0dfeed in the memory. I can see similar issue with the zImage. For some reason, there is presence of 0xaa in the first word and it causing issue. The Mfgtool is not able to go beyond the Bootstrap phase.

Did anybody come across the issue? How can this be resolved?

0 Kudos
1 Reply

58 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi arindamroy

 

>mfgtool is supposed to enable loading of zImage, DTB and rootfs after u-boot.

 

this is true only for NXP reference boards, custom board can hang.

First, run ddr test and update Mfg Tool firmware
image with new ddr calibration coefficients found from test

https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-6-7-DDR-Stress-Test-Tool/ta-p/11082...

Update coefficients in dcd header, for example for  i.MX6Q:  uboot/../mx6sabresd/mx6q_4x_mt41j128.cfg and
rebuild Mfg Tool firmware (files in ../firmware folder,

fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot).
For rebuilding please use sect.6.2 Manufacturing Tool, MFGTool Yocto Guide

included in Documentation

.Use NXP Linux repository:
https://source.codeaurora.org/external/imx/linux-imx/tree

Below example mfg tool with custom board

https://developer.rigado.com/docsets/Working-with-the-Rigado-Vesta-Gateway/latest/production/deployi...

 

Best regards
igor

 

 

 

0 Kudos