imx 8 uuu usb download进入不了FB模式

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

imx 8 uuu usb download进入不了FB模式

614 Views
mia
Contributor I

hi,

I want to use uuu tool through usb download yocto image to my customer board in windows system, my usb design is like below(usb 2.0, typec, same usb port as imx8pevk):

design.JPG

My operation lists is :

  • power board, boot configuration is serial download
  • run command:uuu -b emmc_all ./shennong/imx-boot-imx8mp-shennong-sd.bin-flash_evk ./shennong/imx-image-multimedia-imx8mp-shennong-20221103035500.rootfs.wic.bz2uuu-0.JPG
  • connect USB cableuuu1.JPGthen comes issue:
  • the progress stop at this step, and no further download are running,
  • at this time, when i run command uuu -lsusb, there is no usb device
  • when i check boot information from serial port, and i can see(enter to ordinary uboot mode, but not fast boot mode):UBoot1.JPGPlease help me for this case.
0 Kudos
4 Replies

599 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please provide full uboot log when you download.

0 Kudos

589 Views
mia
Contributor I

Hi Qmiller,

Thanks for your reply.

Ok, below is full uboot log when download:


U-Boot SPL 2022.04-uboot_shennong+g7cf491c2c9 (Nov 03 2022 - 03:53:58 +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
Find img info 0x&48023da0, size 1064
Need continue download 1024
Download 1682832, Total size 1684464
NOTICE: BL31: v2.6(release):lf-5.15.32-2.0.0-0-gc6a19b1a3
NOTICE: BL31: Built : 06:37:22, Jun 7 2022


U-Boot 2022.04-uboot_shennong+g7cf491c2c9 (Nov 03 2022 - 03:53:58 +0000)

CPU: i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 45C
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: 194 devices, 29 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

BuildInfo:
- ATF c6a19b1

MMC: no card present
Detect USB boot. Will enter fastboot mode!
Added by Mia.
Mia: Pull P4.29 to high..
Mia: Pull P5.5 to high..
Net:
Warning: ethernet@30bf0000 (eth1) using random MAC address - 9e:e2:0c:db:86:e7
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

584 Views
mia
Contributor I

Hi ,

 

补充更多的信息如下:
U-Boot SPL 2022.04-uboot_shennong+g7cf491c2c9 (Nov 03 2022 - 03:53:58 +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
Find img info 0x&48023da0, size 1064
Need continue download 1024
Download 1682832, Total size 1684464
NOTICE: BL31: v2.6(release):lf-5.15.32-2.0.0-0-gc6a19b1a3
NOTICE: BL31: Built : 06:37:22, Jun 7 2022


U-Boot 2022.04-uboot_shennong+g7cf491c2c9 (Nov 03 2022 - 03:53:58 +0000)

CPU: i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 37C
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: 194 devices, 29 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

BuildInfo:
- ATF c6a19b1

MMC: no card present
Detect USB boot. Will enter fastboot mode!
Added by Mia.
Mia: Pull P4.29 to high..
Mia: Pull P5.5 to high..
Net:
Warning: ethernet@30bf0000 (eth1) using random MAC address - 3a:a3:3c:6a:98:1a
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=> usb info
USB is stopped. Please issue 'usb start' first.
u-boot=> usb start
starting USB...
Bus usb@38100000: Failed to initialize board for imx8m USB
probe failed, error -22
Bus usb@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@38200000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
u-boot=> usb info
1: Hub, USB Revision 3.0
- U-Boot XHCI Host Controller
- Class: Hub
- PacketSize: 512 Configurations: 1
- Vendor: 0x0000 Product 0x0000 Version 1.0
Configuration: 1
- Interfaces: 1 Self Powered 0mA
Interface: 0
- Alternate Setting 0, Endpoints: 1
- Class Hub
- Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

u-boot=>

0 Kudos

581 Views
bernhardfink
NXP Employee
NXP Employee

Are you sure that your image file (*.wic.bz2) has the correct format?

Could you maybe try it with the image from our BSP demo package, Maybe already unpacked (*.wic)

Regards,
Bernhard.

 

0 Kudos