Can UUU be used only on hardware with type C controller?

cancel
Showing results for 
Search instead for 
Did you mean: 

Can UUU be used only on hardware with type C controller?

1,813 Views
charleshuang
Contributor V

I am using the IMX8MQ  and want to flash images using the uuu utility.

If our usb0 only has usb otg without typeC controller, uuu tool can't flash our deivce

The error message as below:


U-Boot 2018.03-imx_v2018.03_4.14.78_1.0.0_ga+g654088c (Feb 22 2019 - 07:40:38 +0000)

CPU:   Freescale i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 50C
Reset cause: POR
Model: Freescale i.MX8MQ EVK
DRAM:  2 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... OK
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-imx_v2018.03_4.14.78_1.0.0_ga+g654088c

switch to partitions #0, OK
mmc1 is current device
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
Net:
Error: ethernet@30be0000 address not set.
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_add;
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: 0000000040233ce8 lr : 0000000040233ce4 (reloc)
elr: 00000000bdf5cce8 lr : 00000000bdf5cce4
x0 : d503201fd503201f x1 : 00000000308600b4
x2 : 00000000bdf4ab04 x3 : 0000000000000001
x4 : 00000000ffffffff x5 : 0000000000000000
x6 : 00000000bc920ac0 x7 : 00000000ffffffd0
x8 : d503201fd503201f x9 : 0000000000000002
x10: 00000000bdf9fa91 x11: 00000000bc932950
x12: 0000000000000002 x13: 0000000000000004
x14: 00000000bc920eac x15: 0000000000000008
x16: 0000000000001080 x17: 0000000000000000
x18: 00000000bc928da0 x19: 0000000000000000
x20: 0000000000000001 x21: 00000000bc920b9f
x22: 0000000000000000 x23: 000000000000001d
x24: 0000000000000002 x25: 0000000000000001
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000bc932a70 x29: 00000000bc920ad0

Resetting CPU ...

resetting ...

9 Replies

631 Views
eric_kang
Contributor II

Dear Charles Huang,

Did you have solved the problem?

Please share your solution if you have any solution.

0 Kudos

631 Views
传策薛
Contributor V

在uboot中把type c功能给去掉就好了

631 Views
charleshuang
Contributor V

We have already remove this config (CONFIG_USB_TCPC) in u-boot,

but it's still not work.

It will stuck as below

pastedImage_1.png

0 Kudos

631 Views
传策薛
Contributor V

Windows环境你要装好驱动才行:

https://community.nxp.com/docs/DOC-342719

0 Kudos

631 Views
zhaocq
Contributor II

windows环境安装驱动不成功是不是看不到winusb设备?执行Downloading Android SDK Manager这一步点击 SDK Manager界面自动退出,不知道有没遇到过

0 Kudos

631 Views
xj916ch
Contributor I

直接装个驱动人生就行,安装驱动免得这么麻烦

0 Kudos

631 Views
传策薛
Contributor V

还是装个ubuntu吧,在ubuntu下刷机没那么多麻烦事情

0 Kudos

631 Views
zhaocq
Contributor II

好的,谢谢你

0 Kudos

631 Views
joanxie
NXP TechSupport
NXP TechSupport

yes, imx8M board uses type C port to download image to board by UUU tools.

0 Kudos