MFGTOOL download error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MFGTOOL download error

Jump to solution
2,369 Views
gjfme
Contributor II

mfgtool 下载失败, chip imx6ull,  自己的板子,更换过emcp。mfgtool log 如下图

 

mfgtool logmfgtool log

Tags (1)
0 Kudos
1 Solution
2,278 Views
igorpadykov
NXP Employee
NXP Employee

yes, update uboot cfg file (imximage.cfg) with new ddr calibration data obtained from ddr test,

then rebuild image.

https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6ullevk/imximage.cfg?h=n...

 

Best regards
igor

View solution in original post

0 Kudos
12 Replies
2,352 Views
igorpadykov
NXP Employee
NXP Employee

Hi

 

what bsp used in the case, one can try for example Linux 4.1.15_2.0.0, Demo  Image

i.MX 6ULL, i.MX 6ULZ EVK

 

Best regards
igor

 

 

0 Kudos
2,341 Views
gjfme
Contributor II

hi igor:

     下面是下载时的 串口log, 不知道这些有没有帮助?

U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:31:44 -0500)

CPU: Freescale i.MX6ULL rev1.1 528 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C) at 51C
Reset cause: POR
Board: MX6ULL 14x14 EVK
I2C: ready
DRAM: 512 MiB
\0

 

best regards

0 Kudos
2,337 Views
igorpadykov
NXP Employee
NXP Employee

is it custom board or EVK?  If custom, had board passed ddr test:

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

 

Best regards
igor

 

 

0 Kudos
2,330 Views
gjfme
Contributor II

hi  igor:

    下面是一段其他主板 正常下载下载时的串口log,DRAM后是MMC, 而下载失败的log 到SDRAM:512 MiB 后就没有了,是不是说明EMMC 有问题?

CPU: Freescale i.MX6ULL rev1.1 69 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 44C
Reset cause: POR
Board: MX6ULL 14x14 EVK
I2C: ready
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
unsupported panel TFT50AB
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1(part 0) is current device
Net: FEC1

 

best regards

0 Kudos
2,334 Views
gjfme
Contributor II

hi igor:

    是custom board, ddr test 做过了, 这是calibration 结果。stress 也做了, 都没有报错。

gjfme_0-1618900382569.png

 

 

0 Kudos
2,310 Views
igorpadykov
NXP Employee
NXP Employee

if it is custom board  then it is necessary to to update

Mfg Tool firmware files (files in ../firmware folder, fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot)

with updated uboot cfg file. Example can be found in

https://community.nxp.com/t5/i-MX-Processors/i-MX6DP-MfgTool-Stuck-at-Loading-uboot/m-p/1254217#M171...

 

Best regards
igor

0 Kudos
2,286 Views
gjfme
Contributor II

hi igor:

    更新uboot cfg 文件,是指ddr test 后得到的校准参数吗?

0 Kudos
2,279 Views
igorpadykov
NXP Employee
NXP Employee

yes, update uboot cfg file (imximage.cfg) with new ddr calibration data obtained from ddr test,

then rebuild image.

https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/mx6ullevk/imximage.cfg?h=n...

 

Best regards
igor

0 Kudos
2,220 Views
gjfme
Contributor II

hi igor:

    我更新了imximage.cfg 然后重新编译并更新了mfgtool firmware 里的initramfs, 依然下载失败。

每次都是load uboot, load kernel, load initramfs, 然后又开始load uboot,最后卡住不动。 下面是mfgtool 的log1619258766(1).png

0 Kudos
2,270 Views
gjfme
Contributor II

hi igor:

     感谢您的指点。

 

best regards

0 Kudos
2,349 Views
gjfme
Contributor II

hi igor:

   bsp linux-imx-rel_imx_4.1.15_2.1.0_ga

mfgtool 没有问题,在其他开发板上试过。

0 Kudos
2,362 Views
gjfme
Contributor II

试过很多次下载, 有时候错误会不一样

情况一
ModuleID[2] LevelID[1]: MxHidDevice::Write() Error writing to device 0x79.
ModuleID[2] LevelID[1]: Failed to initialize memory!
情况二
ModuleID[2] LevelID[10]: PortMgrDlg(0)--Command Load excute successfully, retry count: 0
ModuleID[2] LevelID[10]: ExecuteCommand--Jump[WndIndex:0]
ModuleID[2] LevelID[10]: *********MxHidDevice[00B0B1F0] Jump to Ramkernel successfully!**********
ModuleID[2] LevelID[10]: CmdOperation[0], current state command has been finished and the last command is successful, so SetEvent(hDevCanDeleteEvent)
ModuleID[2] LevelID[10]: CmdOperation[0] device chagned and reset to state 0
ModuleID[2] LevelID[10]: ExecuteCommand--Boot[WndIndex:0], File is E:\projects\hy02\ebf_res\mfgtools-release\Profiles\Linux\OS Firmware\firmware\u-boot-imx6ull14x14evk_emmc.imx
ModuleID[2] LevelID[1]: MxHidDevice::Write() Error writing to device 0x79.
ModuleID[2] LevelID[1]: Failed to initialize memory!
0 Kudos