iMX6UL flashing problem , stuck in a loop

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

iMX6UL flashing problem , stuck in a loop

628 Views
viditha
Contributor I

Hi,

 We have a custom  iMX6UL based board and we are trying to flash the board using mfgtool. The issue is it keeps looping to downloading images stage again and again. Details below

 

1) Connect the board to PC ( enumerates and HID complaint device)
2) Run mfgtool2_efuse and hit start
3) We see "Loading u-boot" then  "Loading kernel"  then "Loading initramfs" and then "Jump to OS" then "Not connected" now it loops back to "Loading  u-boot" again and keeps going
We ran the DDR test and that passed.
Please find the ucl2.xml and mfg log attached.
Appreciate your help.

Original Attachment has been moved to: ucl2.xml.zip

Original Attachment has been moved to: MfgTool---Copy.log.zip

0 Kudos
2 Replies

499 Views
igorpadykov
NXP Employee
NXP Employee

Hi

looping back may mean ddr issues, please run ddr test

https://community.freescale.com/docs/DOC-105652

and rebuild mfg tools firmware with new calibration settings obtained

from test using sect.6.2 Manufacturing Tool, MFGTool attached Yocto Guide.

Then replace new files in  mfg tools ../firmware folder.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

499 Views
viditha
Contributor I

Hi,

Thanks for the quick response. Even after updating the ddr calibration settings and rebuilding mfg tools we still see the same issue. Below is the process of how we updated the calibration settings to see if we missed anything.

We ran the ddr calibration and the results we got are

MMDC registers updated from calibration

Write leveling calibration
MMDC_MPWLDECTRL0 ch0 (0x021b080c) = 0x00000000

Read DQS Gating calibration
MPDGCTRL0 PHY0 (0x021b083c) = 0x01540154
MPDGCTRL1 PHY0 (0x021b0840) = 0x00000000

Read calibration
MPRDDLCTL PHY0 (0x021b0848) = 0x40403E46

Write calibration
MPWRDLCTL PHY0 (0x021b0850) = 0x40405A56

We then updated these in the file

../build/tmp/work/imx6ulevk-poky-linux-gnueabi/u-boot-imx-mfgtool/2016.03-r0/git/board/freescale/mx6ul_14x14_evk/imximage.cfg

And then built using 

bitbake u-boot-imx-mfgtool

bitbake fsl-image-mfgtool-initramfs

Replaced the new uboot and initramfs files into the mfg tools ../firmware folder

Did we miss anything here...

Appreciate your help...

0 Kudos