Please see the listing below.
=> mmc list
FSL_SDHC: 0 (SD)
FSL_SDHC: 1
=> ls mmc 1:1
1000000 random_data1
1 file(s), 0 dir(s)
=> mmc list
FSL_SDHC: 0 (SD)
FSL_SDHC: 1 (eMMC)
Why is it that “mmc list” shows the eMMC after listing the directory but not before? Is this a bug or a feature?
I am using a board designed by ourselves based on the iMX6UL EVK. I am using my own image created with Buildroot using the Linux kernel and U-Boot from the 4.9 release by NXP. We have a MicroSD cage from which I am currently booting connected to port 1 and connected to port 2 we have Kingston EMMC04G-M627-Y02U eMMC (eMMC v5.1 compatible with v4.5). Once Linux boots I can (on eMMC) create partitions, format them and copy data, so everything seems fine in Linux so far.