Hello
I designed a custom board with reference to the i.MX8M Mini EVK.
The eMMC is connected to mmc 1.
1) Please tell me how to easily test R/W.
2) Please tell me how to boot from eMMC.
u-boot=> mmc list
FSL_SDHC: 0 (SD)
FSL_SDHC: 1 (eMMC)
u-boot=> mmc info
Device: FSL_SDHC
Manufacturer ID: 74
OEM: 4a60
Name: USD
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 28.7 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
u-boot=> mmc dev 1
switch to partitions #0, OK
mmc1(part 0) is current device
u-boot=> mmc info
Device: FSL_SDHC
Manufacturer ID: fe
OEM: 14e
Name: MMC02
Bus Speed: 52000000
Mode : MMC DDR52 (52MHz)
Rd Block Len: 512
MMC version 4.4.1
High Capacity: No
Capacity: 1.8 GiB
Bus Width: 8-bit DDR
Erase Group Size: 512 KiB
HC WP Group Size: 0 Bytes
User Capacity: 1.8 GiB
Boot Capacity: 1 MiB ENH
RPMB Capacity: 128 KiB ENH
Hi Yuichi
for programming emmc one can follow i.MX Linux User’s Guide
https://community.nxp.com/docs/DOC-343518
or third party guidelines
https://boundarydevices.com/programming-emmc-on-i-mx8/
https://boundarydevices.com/zeus-yocto-release-for-i-mx8mq/
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------