Hi Supporter,
We build a yocto project by using MACHINE=imx8mmddr4evk.
Try to use UUU to flash imx-boot-imx8mmddr4evk-sd.bin-flash_ddr4_evk & imx-image-core-imx8mmddr4evk-20201201043011.rootfs.wic.
At end of log, it shows "MMC card init failed". Can you advise why this happened or how to fix it?
PS: Please check attached for boot config.
LOG:
U-Boot SPL 2019.04-lf-5.4.y_v2019.04+g48508669 (Dec 01 2020 - 07:30:43 +0000)
power_pca9450_init
DDRINFO: start DRAM init
Training FAILED
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
Downloading file of size 1478584 to 0x40400000... done
Jumping to header at 0x40400000
Header Tag is not an IMX image
Found header at 0x4042ada0
U-Boot 2019.04-lf-5.4.y_v2019.04+g48508669 (Dec 01 2020 - 07:30:43 +0000)
CPU: Freescale i.MX8MMQL rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 46C
Reset cause: POR
Model: FSL i.MX8MM DDR4 EVK board
DRAM: 2 GiB
NAND: 0 MiB
MMC: FSL_SDHC: 1
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment
No panel detected: default to MIPI2HDMI
adv7535_init: Can't find device id=0x3d, on bus 1
Display: MIPI2HDMI (1920x1080)
Video: 1920x1080x24
In: serial
Out: serial
Err: serial
BuildInfo:
- ATF 7b3389d
- U-Boot 2019.04-lf-5.4.y_v2019.04+g48508669
Card did not respond to voltage select!
Detect USB boot. Will enter fastboot mode!
Net:
Error: ethernet@30be0000 address not set.
Error: ethernet@30be0000 address not set.
eth-1: ethernet@30be0000
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 ...
Detect USB boot. Will enter fastboot mode!
flash target is MMC:1
Card did not respond to voltage select!
MMC card init failed!
Card did not respond to voltage select!
** Block device MMC 1 not supported
Detect USB boot. Will enter fastboot mode!
flash target is MMC:2
MMC Device 2 not found
invalid mmc device 2
MMC Device 2 not found
no mmc device at slot 2
Regards,
Kenny
Hi Zhiming,
For UUU command please check attached file(uuu.auto)
Regards,
Kenny
Hi
Can you use this command in shell to try again ?Put the uuu.exe into deploy folder.
uuu -b emmc_all imx-boot-imx8mmevk-sd.bin-flash_evk imx-image-full-imx8mmevk.rootfs.bz2
Best Regards
Zhiming
Hi Zhiming,
Please help to check and advise.
LOG:
U-Boot SPL 2019.04-lf-5.4.y_v2019.04+g48508669 (Dec 02 2020 - 02:47:35 +0000)
power_pca9450_init
DDRINFO: start DRAM init
Training FAILED
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC2
MMC Device 1 not found
spl: could not find mmc device 1. error: -19
SPL: failed to boot from all boot devices
4. Try to debug in u-boot via UUU.
u-boot=>
u-boot=> mmc list
FSL_SDHC: 2
u-boot=> mmc dev 1
MMC Device 1 not found
no mmc device at slot 1
u-boot=> mmc dev 2
switch to partitions #0, OK
mmc2(part 0) is current device
u-boot=>
Regards,
Kenny
Hi
You can use prebuilt images in our website for test.Normally, the boot process has no problem.You must set correct boot config like following picture.
The download command is "uuu -b emmc_all imx-boot-imx8mmevk-sd.bin-flash_evk imx-image-full-imx8mmevk-20200708060549.rootfs.bz2".
Hi
Please check the sw1 &sw2 is correct according to the table in the upper left corner of board.Can you put your uuu command?
Best Regards
Zhiming