UUU is not able to flash the images on i.MX8MQ reference board

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

UUU is not able to flash the images on i.MX8MQ reference board

1,561 Views
harshitshah
Contributor III

Hi Team,

We are working on i.MX8MQ reference board setup and with the 2019.04 U-boot version. (L5.4.3_1.0.0).

We have installed the UUU package and with the same package, the imx-boot image is not being flashed. (i.MX8MQEVK is working fine with UUU). From the U-boot as well as UUU verbose I am not able to find any error.

=====================================

UUU Logs

=====================================

sudo ./uuu -V -b emmc imx-boot-imx8mq-emmc.bin-flash_evk
[sudo] password for harshit:
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-5-gbb8cda8

Build in config:
Pctl Chip Vid Pid BcdVersion
==================================================
SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff]
SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff]
SDPS: MX8DXL 0x1fc9 0x0147
SDPS: MX28 0x15a2 0x004f
SDPS: MX815 0x1fc9 0x013e
SDPS: MX865 0x1fc9 0x0146
SDP: MX7D 0x15a2 0x0076
SDP: MX6Q 0x15a2 0x0054
SDP: MX6D 0x15a2 0x0061
SDP: MX6SL 0x15a2 0x0063
SDP: MX6SX 0x15a2 0x0071
SDP: MX6UL 0x15a2 0x007d
SDP: MX6ULL 0x15a2 0x0080
SDP: MX6SLL 0x1fc9 0x0128
SDP: MX7ULP 0x1fc9 0x0126
SDP: MXRT106X 0x1fc9 0x0135
SDP: MX8MM 0x1fc9 0x0134
SDP: MX8MQ 0x1fc9 0x012b
SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff]
SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998]
SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999]
SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff]
SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998]
FBK: 0x066f 0x9afe
FBK: 0x066f 0x9bff
FB: 0x0525 0xa4a5
FB: 0x18d1 0x0d02
FB: 0x3016 0x0001

Run built-in script:

uuu_version 1.2.39

# @imx-boot-imx8mq-emmc.bin-flash_evk | bootloader
# @imx-boot-imx8mq-emmc.bin-flash_evk [imx-boot-imx8mq-emmc.bin-flash_evk] | image burn to emmc, default is the same as bootloader

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx8mq-emmc.bin-flash_evk

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f imx-boot-imx8mq-emmc.bin-flash_evk

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-boot-imx8mq-emmc.bin-flash_evk -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-boot-imx8mq-emmc.bin-flash_evk -skipspl
SDPV: jump
# }

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash bootloader imx-boot-imx8mq-emmc.bin-flash_evk
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: Done


Wait for Known USB Device Appear...
New USB Device Attached at 1:1
1:1>Start Cmd:SDP: boot -f imx-boot-imx8mq-emmc.bin-flash_evk
6400%1:1>Okay (1.782s)
libusb: error [udev_hotplug_event] ignoring udev action bind
New USB Device Attached at 1:1
1:1>Start Cmd:SDPV: delay 1000
1:1>Okay (1s)
1:1>Start Cmd:SDPV: write -f imx-boot-imx8mq-emmc.bin-flash_evk -skipspl
99%1:1>Okay (3.404s)
1:1>Start Cmd:SDPV: jump
6400%1:1>Okay (0.138s)

As per the logs from i.MX8MQEVK from here the flashing should happen, however, this is not doing any operation after this point.

=====================================

U-boot logs while flashing

=====================================


U-Boot SPL 2019.04-lf-5.4.y_v2019.04+g228843cdf5 (Jul 09 2020 - 06:13:46 +0000)
PMIC: PFUZE100 ID=0x10
DDRINFO: start DRAM init
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Status: -108
Downloading file of size 1146168 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image
Found header at 0x40409da0


U-Boot 2019.04-lf-5.4.y_v2019.04+g228843cdf5 (Jul 09 2020 - 06:13:46 +0000)

CPU: Freescale i.MX8MQ rev2.0 1300 MHz (running at 800 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 43C
Reset cause: POR
Model: i.MX8MQ
DRAM: 3 GiB
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

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 7b3389d
- U-Boot 2019.04-lf-5.4.y_v2019.04+g228843cdf5

Card did not respond to voltage select!
Detect USB boot. Will enter fastboot mode!
Net:
Error: ethernet@30be0000 address not set.

Error: ethernet@30be0000 address not set.
eth-1: ethernet@30be0000
Fastboot: Normal
Boot from USB for mfgtools
*** Warning - Use default environment for mfgtools
, using default environment

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} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0

## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...

==========================================

Please let us know where can be the issue here. We suspect the issue is in some U-boot or imx-boot configuration.

Regards.

Tags (1)
0 Kudos
3 Replies

1,509 Views
joanxie
NXP TechSupport
NXP TechSupport

do you use your customized board? could you reproduce this issue on nxp imx8MQ EVK board?

0 Kudos

1,510 Views
harshitshah
Contributor III

Hi Joan,

No, on the EVK this works fine. Only on customer board, we are seeing this issue.

0 Kudos

1,510 Views
joanxie
NXP TechSupport
NXP TechSupport

if you use the third party company board, you need to use their uboot and kernel, if you use customized board which designed based on nxp imx8mq evk board, you should change the uboot and kernel based on your HW design, download your own customized uboot image

0 Kudos