Hi Igor,
I've tried the same micro SD cards (Samsung EVO 512G U3 and Integral 32GB U3) in the i.MX8MMini EVK with stock images with the same result.
I've also tried the cards on another board (different product, different PCB layout) based on the i.MX8M Mini and also got the same result.
I find it suspicious that 3 different boards have the same signal integrity issues.
Are there compatibility issues between the i.MX8M Mini and micro SD cards? Which class of cards is it meant to support and has it been tested with?
Is there a way to control which mode u-boot and then the Linux kernel interface with the card? Currently they both switch to CMD11 (1V8 and 200MHz). Can we control that somehow? I'd like to try it at a lower clock speed.
Thanks,
JP
Integral 32GB U3
[10:15:29:827] U-Boot SPL 2019.04-4.19.35-1.1.0+g4d377539a1 (Mar 15 2021 - 18:04:49 +0000)␍␊
[10:15:29:848] power_bd71837_init␍␊
[10:15:29:848] DDRINFO: start DRAM init␍␊
[10:15:30:136] DDRINFO:ddrphy calibration done␍␊
[10:15:30:136] DDRINFO: ddrmix config done␍␊
[10:15:30:184] Normal Boot␍␊
[10:15:30:184] Trying to boot from MMC1␍␊
[10:15:30:617] ␍␊
[10:15:30:617] ␍␊
[10:15:30:617] U-Boot 2019.04-4.19.35-1.1.0+g4d377539a1 (Mar 15 2021 - 18:04:49 +0000)␍␊
[10:15:30:617] ␍␊
[10:15:30:617] CPU: Freescale i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)␍␊
[10:15:30:617] CPU: Commercial temperature grade (0C to 95C) at 41C␍␊
[10:15:30:738] Reset cause: POR␍␊
[10:15:30:738] Model: FSL i.MX8MM EVK board␍␊
[10:15:30:738] DRAM: 2 GiB␍␊
[10:15:30:818] TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x52]␍␊
[10:15:30:840] Power supply on USB2␍␊
[10:15:30:840] TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]␍␊
[10:15:30:840] MMC: FSL_SDHC: 1, FSL_SDHC: 2␍␊
[10:15:30:856] Loading Environment from MMC... *** Warning - No block device, using default environment␍␊
[10:15:38:205] ␍␊
[10:15:38:205] No panel detected: default to MIPI2HDMI␍␊
[10:15:38:205] adv7535_init: Can't find device id=0x3d, on bus 1␍␊
[10:15:38:205] Display: MIPI2HDMI (1920x1080)␍␊
[10:15:38:205] Video: 1920x1080x24␍␊
[10:15:38:205] In: serial␍␊
[10:15:38:205] Out: serial␍␊
[10:15:38:205] Err: serial␍␊
[10:15:38:226] ␍␊
[10:15:38:226] BuildInfo:␍␊
[10:15:38:226] - ATF 70fa7bc␍␊
[10:15:38:226] - U-Boot 2019.04-4.19.35-1.1.0+g4d377539a1␍␊
[10:15:38:226] ␍␊
[10:15:45:537] flash target is MMC:1␍␊
[10:15:52:848] MMC card init failed!␍␊
[10:16:00:182] ** Block device MMC 1 not supported␍␊
[10:16:00:182] Net: ␍␊
[10:16:00:182] Warning: ethernet@30be0000 using MAC address from ROM␍␊
[10:16:00:182] eth0: ethernet@30be0000␍␊
[10:16:00:182] Fastboot: Normal␍␊
[10:16:00:182] Normal Boot␍␊
[10:16:00:182] Hit any key to stop autoboot: 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08> 0 ␍␊
[10:16:09:498] MMC Device 0 not found␍␊
[10:16:09:498] no mmc device at slot 0␍␊
[10:16:09:498] Bad Linux ARM64 Image magic!␍␊
Samsung EVO 512G U3
[10:20:35:441] U-Boot SPL 2019.04-4.19.35-1.1.0+g4d377539a1 (Mar 15 2021 - 18:04:49 +0000)␍␊
[10:20:35:462] power_bd71837_init␍␊
[10:20:35:462] DDRINFO: start DRAM init␍␊
[10:20:35:750] DDRINFO:ddrphy calibration done␍␊
[10:20:35:750] DDRINFO: ddrmix config done␍␊
[10:20:35:798] Normal Boot␍␊
[10:20:35:798] Trying to boot from MMC1␍␊
[10:20:36:197] ␍␊
[10:20:36:197] ␍␊
[10:20:36:197] U-Boot 2019.04-4.19.35-1.1.0+g4d377539a1 (Mar 15 2021 - 18:04:49 +0000)␍␊
[10:20:36:223] ␍␊
[10:20:36:223] CPU: Freescale i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)␍␊
[10:20:36:223] CPU: Commercial temperature grade (0C to 95C) at 30C␍␊
[10:20:36:347] Reset cause: POR␍␊
[10:20:36:347] Model: FSL i.MX8MM EVK board␍␊
[10:20:36:347] DRAM: 2 GiB␍␊
[10:20:36:427] TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x52]␍␊
[10:20:36:449] Power supply on USB2␍␊
[10:20:36:449] TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]␍␊
[10:20:36:449] MMC: FSL_SDHC: 1, FSL_SDHC: 2␍␊
[10:20:36:465] Loading Environment from MMC... Run CMD11 1.8V switch␍␊
[10:20:36:705] *** Warning - No block device, using default environment␍␊
[10:20:36:733] ␍␊
[10:20:36:733] No panel detected: default to MIPI2HDMI␍␊
[10:20:36:733] adv7535_init: Can't find device id=0x3d, on bus 1␍␊
[10:20:36:733] Display: MIPI2HDMI (1920x1080)␍␊
[10:20:36:733] Video: 1920x1080x24␍␊
[10:20:36:763] In: serial␍␊
[10:20:36:763] Out: serial␍␊
[10:20:36:763] Err: serial␍␊
[10:20:36:763] ␍␊
[10:20:36:763] BuildInfo:␍␊
[10:20:36:763] - ATF 70fa7bc␍␊
[10:20:36:763] - U-Boot 2019.04-4.19.35-1.1.0+g4d377539a1␍␊
[10:20:36:763] ␍␊
[10:20:36:971] Run CMD11 1.8V switch␍␊
[10:20:36:987] flash target is MMC:1␍␊
[10:20:37:195] Run CMD11 1.8V switch␍␊
[10:20:37:227] MMC card init failed!␍␊
[10:20:37:435] Run CMD11 1.8V switch␍␊
[10:20:37:492] ** Block device MMC 1 not supported␍␊
[10:20:37:492] Net: ␍␊
[10:20:37:492] Warning: ethernet@30be0000 using MAC address from ROM␍␊
[10:20:37:492] eth0: ethernet@30be0000␍␊
[10:20:37:492] Fastboot: Normal␍␊
[10:20:37:492] Normal Boot␍␊
[10:20:37:492] Hit any key to stop autoboot: 2 <0x08><0x08><0x08> 1 <0x08><0x08><0x08> 0 ␍␊
[10:20:39:700] Run CMD11 1.8V switch␍␊
[10:20:39:716] MMC Device 0 not found␍␊
[10:20:39:737] no mmc device at slot 0␍␊
[10:20:39:737] Bad Linux ARM64 Image magic!␍␊
[10:20:39:737] u-boot=>