Unable to load images onto imx8mm-evk

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

Unable to load images onto imx8mm-evk

Jump to solution
3,865 Views
nicklau
Contributor II

Has anybody ever had following problem?

U-Boot SPL 2018.03-imx-linux-sumo-ritu+g72bb67f (May 16 2019 - 07:01:38 +0000)
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 1042456 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image


U-Boot 2018.03-imx-linux-sumo-ritu+g72bb67f (May 16 2019 - 07:01:38 +0000)

CPU: Freescale i.MX8MMQL rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 51C
Reset cause: POR
Model: FSL i.MX8MM EVK board
DRAM: 2 GiB
tcpc_init: Can't find device id=0x52
setup_typec: tcpc port2 init failed, err=-19
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port1 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 MIPI2HDMI
adv7535_init: Can't find device id=0x3d, on bus 1
Display: MIPI2HDMI (1920x1080)
Video: 1920x1080x24
In: serial
Out: serial
Err: serial

BuildInfo:
- ATF d6451cc
- U-Boot 2018.03-imx-linux-sumo-ritu+g72bb67f

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} ${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 ...
dev_get_parent_platdata: null device
"Synchronous Abort" handler, esr 0x96000004
elr: 0000000040230944 lr : 0000000040230938 (reloc)
elr: 00000000bdf61944 lr : 00000000bdf61938
x0 : 0000000014000280 x1 : 00000000308900b4
x2 : 00000000bdf52460 x3 : 0000000000000001
x4 : 00000000ffffffff x5 : 0000000000000000
x6 : 00000000bc929220 x7 : 00000000ffffffd0
x8 : 0000000000000000 x9 : 0000000000000008
x10: 0060009000000200 x11: 00000000bd1225e0
x12: 0000000000000002 x13: 0000000000000004
x14: 00000000bc92960c x15: 0000000000000008
x16: 0000000000001080 x17: 0000000000000000
x18: 00000000bc930da0 x19: 0000000000000000
x20: 0000000000000001 x21: 00000000bc9292ff
x22: 0000000000000000 x23: 000000000000001d
x24: 0000000000000002 x25: 0000000000000001
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000bd122700 x29: 00000000bc929230

Resetting CPU ...

resetting ...

U-Boot SPL 2018.03-imx-linux-sumo-ritu+g72bb67f (May 16 2019 - 07:01:38 +0000)
power_bd71837_init

Labels (1)
Tags (1)
0 Kudos
1 Solution
3,087 Views
nicklau
Contributor II

u-boot中的DTS给落下了,那天已经改好了。多谢!

View solution in original post

0 Kudos
4 Replies
779 Views
lcotten
Contributor II

Was an actual solution ever found or presented?  How does one disable typec and tcpc in uboot? (or the Kernel for that matter)  Its four year later, and the solution seems to have been "it works now" I have a custom board with the IMX8MP, and our linux guys (extremely limited BSP knowledge) are getting the error below when running uuu. UUU works fine up to this point. The board is setup for USB boot mode, and uuu finds the USB device and downloads uboot with no problem. But then, when uboot tries to (re) initialize USB so that uuu can continue with the script, it fails because it want to talk to the type c power controller before initializing USB. 

tcpc_init: Can't find bus
setup_typec: tcpc port2 init failed, err=-22
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port1 init failed, err=-19

I should point out that 0x50 isn't even the correct address of the type c power controller on the IMX8MP MEK that we're based on, so the code is looking for the wrong device on the wrong I2C port, neither of which we actually have or need. It's just a basic USB mini connector, so the processor only sees the VBUS and the data pair. The IMX8MP doesn't even have an ID pin for OTG or DR unless you implement one as a GPIO. We only have the USB connector there for uuu flashing, and since uboot loads from uuu cleanly, we know the hardware is fine.

0 Kudos
3,087 Views
传策薛
Contributor V

Disable the typec function in uboot

0 Kudos
3,087 Views
jefferyli
Contributor I

How to disable typec function in uboot?

0 Kudos
3,088 Views
nicklau
Contributor II

u-boot中的DTS给落下了,那天已经改好了。多谢!

0 Kudos