USB init failed: -22

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

USB init failed: -22

74 Views
ap3415
Contributor I

Hi ,

I have been trying to flash my wic.b2z image to an emmc using uuc tool through a usb port.While flashing an USB init failed: -22 error occured.I am using an imx8mp porcessor.

 

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=>

   

0 Kudos
Reply
2 Replies

31 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello, 

Please share the complete process and the boot config of your board to analyze what can cause the issue.  

0 Kudos
Reply

26 Views
ap3415
Contributor I
U-Boot SPL 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 4000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0:  RNG instantiated
Normal Boot
Trying to boot from BOOTROM
Boot Stage: USB boot
Find img info 0x48022fa0, size 1064
Need continue download 1024
NOTICE:  Do not release JR0 to NS as it can be used by HAB
NOTICE:  BL31: v2.10.0  (release):automotive-15.0.0_1.1.0
NOTICE:  BL31: Built : 08:52:12, Nov  4 2024


U-Boot 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000)

CPU:   i.MX8MP Lite[4] rev1.1 1600 MHz (running at 1200 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 35C
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
Core:  284 devices, 36 uclasses, devicetree: separate
MMC:   FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from nowhere... OK
[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: 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

        [0] lcd-controller@32e80000, video
        [1] mipi_dsi@32e60000, video_bridge
        [2] adv7535@3d, panel
adv7535_mipi2hdmi adv7535@3d: 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
SEC0:  RNG instantiated
MMC: no card present
Detect USB boot. Will enter fastboot mode!
Net:   Could not get PHY for FEC0: addr 1
Could not get PHY for FEC0: addr 1
eth1: ethernet@30bf0000 [PRIME]
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=>
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2412396%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUSB%20init%20failed%3A%20-22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2412396%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%2C%3C%2FP%3E%3CP%3EI%20have%20been%20trying%20to%20flash%20my%20wic.b2z%20image%20to%20an%20emmc%20using%20uuc%20tool%20through%20a%20usb%20port.While%20flashing%20an%26nbsp%3BUSB%20init%20failed%3A%20-22%20error%20occured.I%20am%20using%20an%20imx8mp%20porcessor.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERun%20bootcmd_mfg%3A%20run%20mfgtool_args%3Bif%20iminfo%20%24%7Binitrd_addr%7D%3B%20then%20if%20test%20%24%7Btee%7D%20%3D%20yes%3B%20then%20bootm%20%24%7Btee_addr%7D%20%24%7Binitrd_addr%7D%20%24%7Bfdt_addr%7D%3B%20else%20booti%20%24%7Bloadaddr%7D%20%24%7Binitrd_addr%7D%20%24%7Bfdt_addr%7D%3B%20fi%3B%20else%20echo%20%22Run%20fastboot%20...%22%3B%20fastboot%200%3B%20fi%3B%3CBR%20%2F%3EHit%20any%20key%20to%20stop%20autoboot%3A%200%3C%2FP%3E%3CP%3E%23%23%20Checking%20Image%20at%2043800000%20...%3CBR%20%2F%3EUnknown%20image%20format!%3CBR%20%2F%3ERun%20fastboot%20...%3CBR%20%2F%3EUSB%20init%20failed%3A%20-22%3CBR%20%2F%3Eu-boot%3D%26gt%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2412396%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3Ei.MX%208%20Family%20%7C%20i.MX%208QuadMax%20(8QM)%20%7C%208QuadPlus%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2412779%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20USB%20init%20failed%3A%20-22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2412779%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20share%20the%20complete%20process%20and%20the%20boot%20config%20of%20your%20board%20to%20analyze%20what%20can%20cause%20the%20issue.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E