AnsweredAssumed Answered

iMX8MQ custom board flashing issue using UUU utility

Question asked by NIRMAL LUHANA on Jul 17, 2019
Latest reply on Sep 2, 2019 by Eric Kang

Hello,

 

Release: Yocto-Sumo (4.14.78_1.0.0_GA)

Board: i.MX8MQ based custom board

 

We are working on iMX8MQ based custom board and facing issue while flashing image into eMMC using UUU utility on Linux 16.04.

We have followed all the steps as mentioned in this link: Home · NXPmicro/mfgtools Wiki · GitHub to flash the board and logs are attached as below.

 

U-Boot SPL 2018.03-master_v2018.03+g2b92a49 (Jul 15 2019 - 10:52:27 +0000)
PMIC:  PFUZE100 ID=0x10
DDRINFO: start lpddr4 ddr init
DRAM PHY training for 3200MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 667MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 3200MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 757384 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image

 


U-Boot 2018.03-master_v2018.03+g2b92a49 (Jul 15 2019 - 10:52:27 +0000)

 

CPU:   Freescale i.MX8MQ rev2.0 1300 MHz (running at 800 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 33C
Reset cause: POR
Model: Winsystem i.MX8MQ PICOITX
DRAM:  4 GiB
tcpc_init: Can't find device id=0x50
setup_typec: tcpc init failed, err=-19
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

 

Failed (-5)
No panel detected: default to HDMI
Display: HDMI (1280x720)
cdn_api_checkalive: keep-alive counter did not increment for 10us...
HDMI enable failed!
In:    serial
Out:   serial
Err:   serial

 

 BuildInfo:
  - ATF d6451cc
  - U-Boot 2018.03-master_v2018.03+g2b92a49

 

Card did not respond to voltage select!
Detect USB boot. Will enter fastboot mode!
Net:   No ethernet found.
Fastboot: Normal
Boot from USB for mfgtools
Use default environment for                              mfgtools
Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initr;
Hit any key to stop autoboot:  0

 

## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...
dev_get_parent_platdata: null device
"Synchronous Abort" handler, esr 0x96000004
elr: 0000000040233d70 lr : 0000000040233d6c (reloc)
elr: 00000000fff5bd70 lr : 00000000fff5bd6c
x0 : d503201fd503201f x1 : 00000000308600b4
x2 : 00000000fff49b8c x3 : 0000000000000001
x4 : 00000000ffffffff x5 : 0000000000000000
x6 : 00000000fe9201c0 x7 : 00000000ffffffd0
x8 : d503201fd503201f x9 : 0000000000000002
x10: 00000000fff9ebc0 x11: 00000000fecb53e0
x12: 0000000000000002 x13: 0000000000000004
x14: 00000000fe9205ac x15: 0000000000000008
x16: 0000000000001080 x17: 0000000000000000
x18: 00000000fe927da0 x19: 0000000000000000
x20: 0000000000000001 x21: 00000000fe92029f
x22: 0000000000000000 x23: 000000000000001d
x24: 0000000000000002 x25: 0000000000000001
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000fecb5500 x29: 00000000fe9201d0

 

Resetting CPU ...

 

resetting ...

 

After getting above logs boards getting reset and again do the same in a continuous loop.

(NOTE: The same image I tried to flash on iMX8MQ EVK board and flashing done successfully on Linux 16.04)

 

I have followed below link but found nothing important.

Can UUU be used only on hardware with type C co... | NXP Community - 亚博yobo体育 

As mentioned in the above link is there any type C connector dependency to flash using UUU utility?

 

Best regards,

Nirmal

Outcomes