AnsweredAssumed Answered

unable to load images onto imx8mm-evk

Question asked by John Dietz on Apr 11, 2019
Latest reply on May 17, 2019 by John Dietz

I am following instructions in Sect 3.3.1 of Android™ Quick Start Guide, Rev. P9.0.0_1.0.0-ga, 01/2019 and running

the following uuu in Windows10.  I am using the images from : android_p9.0.0_1.0.0-ga_image_8mmevk.tar.gz

On Windows Host side the console shows ...

 

uuu.exe c:\android_p9.0.0_1.0.0-ga_image_8mmevk\uuu-android-mx8mm-evk-emmc.lst

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.2.91-0-g3799f4d

Your console don't support VT mode, fail back to verbose mode
Build in config:
        Pctl     Chip            Vid     Pid     BcdVersion
        ==================================================
        SDPS:    MX8QXP          0x1fc9  0x012f  [0x0002..0xffff]
        SDPS:    MX8QM           0x1fc9  0x0129  [0x0002..0xffff]
        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]
        FBK:                     0x066f  0x9afe
        FBK:                     0x066f  0x9bff
        FB:                      0x0525  0xa4a5
        FB:                      0x18d1  0x0d02

Wait for Known USB Device Appear...
New USB Device Attached at 2:6
2:6>Start Cmd:SDP: boot -f u-boot-imx8mm-evk-uuu.imx
6400%2:6>Okay
New USB Device Attached at 2:6
2:6>Start Cmd:SDPU: delay 1000
2:6>Okay
2:6>Start Cmd:SDPU: write -f u-boot-imx8mm-evk-uuu.imx -offset 0x57c00
100%2:6>Okay
2:6>Start Cmd:SDPU: jump
6400%2:6>Okay

 

When the first FB command in the lst file is executed (FB: ucmd setenv fastboot_dev mmc) the host uuu program just hangs.  It appears that the generic bulk io interface on the mx8mm-evk was not inited as the eval's usb iface on windows host side does not enumerate.

 

On mx8mm-evk side the debug console shows:

 

U-Boot SPL 2018.03 (Dec 19 2018 - 17:40:19 +0800)
power_bd71837_init
DDRINFO: start lpddr4 ddr init
DRAM PHY training for 3000MTS
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 3000MTS
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 400MTS
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 100MTS
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 720872 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image


U-Boot 2018.03 (Dec 19 2018 - 17:40:19 +0800)

CPU:   Freescale i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 41C
Reset cause: POR
Model: FSL i.MX8MM EVK board
DRAM:  2 GiB
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x52]
Power supply on USB2
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]
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)
In:    serial
Out:   serial
Err:   serial

 BuildInfo:
  - ATF d6451cc
  - U-Boot 2018.03

Detect USB boot. Will enter fastboot mode!
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000
Card did not respond to voltage select!
Block device mmc 0 not supported
bcb_rw_block, get_block_size return 0
read_bootctl, bcb_rw_block read failed
read command failed
Fastboot: Normal
Boot from USB for uuu
Hit any key to stop autoboot:  0
g_dnl_register: failed!, error: -19
u-boot=>

 

I have same result if I attempt to use Linux as host.  I also note that if I boot the eval into the u-boot in eMMC that the eval came with and enter:  "fastboot 1" that the usb iface on windows host side does not enumerate. 

Outcomes