Hi,
I'm designing a board using imx8mp.
I got "USB init failed: -22" when I use uuu flashing emmc.
My cpu board is almost the same as cpu board on "imx8m plus evk",
the following is the difference:
1. lpddr4 size: changed to 4G
2. emmc size: changed to 64G
On my base board,I changed the typeC port(PORT1) to a USB 2.0 port,
And the following is my console print when i use PORT1 flashing emmc:
----------------------------------
U-Boot 2020.04-5.4.70-2.3.0+ge42dee801e (Oct 27 2021 - 06:18:55 +0000)
CPU: i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 41C
Reset cause: POR
Model: NXP i.MX8MPlus LPDDR4 EVK board
DRAM: 6 GiB
tcpc_init: Can't find device id=0x50
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: 1, FSL_SDHC: 2
[*]-Video Link 0Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19
[0] lcd-controller@32e80000, video
[1] mipi_dsi@32e60000, video_bridge
[2] adv7535@3d, panel
Can't find cec device id=0x3c
fail to probe panel device adv7535@3d
fail to get display timings
probe video device failed, ret -19
In: serial
Out: serial
Err: serial
BuildInfo:
- ATF f1d7187
- U-Boot 2020.04-5.4.70-2.3.0+ge42dee801e
MMC: no card present
Detect USB boot. Will enter fastboot mode!
Net:
Error: ethernet@30be0000 address not set.
Error: ethernet@30be0000 address not set.
Error: ethernet@30bf0000 address not set.
Error: ethernet@30bf0000 address not set.
No ethernet found.
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 ...
USB init failed: -22
u-boot=>
-----------------------------------------------
Anyone can give me some suggestion?
please help,Thanks!
Hi Daquis
for uuu issue with removing typeC one can look at
Best regards
igor
Hi igor
Thanks for your replying.
I just disabled USB_TCPC in my uboot menuconfig,and it seems to continue to execute.
But it stopped at the following messages
--------------------------------------------------------
[ 31.710142] 003: can1-stby: disabling
[ 31.710152] 003: can2-stby: disabling
[ 31.710156] 003: VSD_3V3: disabling
No udc Available!
[ 62.430028] 003: imx-sdma 30bd0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 62.430040] 003: imx-sdma 30bd0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[ 62.430178] 003: cfg80211: failed to load regulatory.db
No udc Available!
No udc Available!
No udc Available!
[ 123.869947] 003: imx-sdma 30bd0000.dma-controller: external firmware not found, using ROM firmware
No udc Available!
No udc Available!
No udc Available!
No udc Available!
No udc Available!
No udc Available!
No udc Available!
------------------------------------------
As I have changed emmc size and lpddr4 size on my cpu board. I think some configuration about emmc and lpddr4 should be modified.Could you please give me some advice?
Best regards
Daquis