I have an yocto build image for imx8mp trying to flash with uuu i am getting like this in the console
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 0x&48023ba0, size 1064
Need continue download 1024
Download 1702272, Total size 1703392
NOTICE: BL31: v2.6(release):automotive-13.0.0_1.1.0-0-g3c1583ba0
NOTICE: BL31: Built : 11:00:38, Nov 21 2022
U-Boot 2022.04-lf_v2022.04+g181859317bf (Mar 04 2025 - 12:22:38 +0000)
CPU: i.MX8MP Lite[4] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 46C
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 3c1583b
MMC: no card present
Detect USB boot. Will enter fastboot mode!
Net:
Warning: ethernet@30bf0000 (eth1) using random MAC address - ba:01:d5:aa:94:8f
Warning: ethernet@30be0000 (eth0) using random MAC address - f6:10:53:31:b9:20
eth0: ethernet@30be0000, 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=>
The problem is not flashing into emmc
when i check the mmc list its showing
mmc list
FSL_SDHC: 1
FSL_SDHC: 2
FSL_SDHC:2 is my emmc but its taking the first one what could be the reason for this
in the uuu file i have added manually to flash to emmc dev 2
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 1
FB: ucmd mmc dev 1
FB: flash -raw2sparse all core-image-weston-imx8mp-lpddr4-evk.wic.bz2
FB: flash bootloader imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf 1 ${emmc_ack} 1 0
FB: done
Its not working
Hi @Cyriactoms!|
Thank you for contacting NXP Support!
What BSP version are you using?
What board are you using?
What commands are you using to flash your board?
Best Regards!
Chavira
HI @Cyriactoms!
Are you trying to flash our pre-compiled image to your board?
You should port our BSP to your board following our porting guide.
HI @Cyriactoms!
What machine target do you select when you compile the image?
Can you describe the steps that you followed to generate the image?
What BSP version are you using?
Hi @Cyriactoms!
The machine that you used works only in our iMX8MP-EVK board, you should port our BSP to your board following our porting guide.