Additional info (some good news with SD class 4)...
First to answer some of you questions/suggestions:
Module: TE0720-03-2IF (
https://shop.trenz-electronic.de/en/TE0720-03-2IF-Xilinx-Zynq-module-XC7Z020-2CLG484I-ind.-temp.-range-1-Gbyte?c=347)
Upgrading to 2017: Won't happen at this time (budget/time constraints).
MIO bank info: On the custom I/O we are not using the MIO at all for either SD0 or SD1 controller. Instead SD0 it is routed via EMIO to FPGA pins which are 3.3 LVCMOS.
SD cards tested today with short summary:
SD class 2, works in u-boot, but gets 110 error during kernel boot===============================================
(unknown manufacture) 8 Gig, Manufacturer ID:1b, OEM: 534d, SD version 3.0
o
Readable from U-booto
Kernel gets errors... boot msgs related to SD (mmc0):Driver 'mmcblk' needs updating - please use bus_type methods
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-arasan e0100000.sdhci: No vmmc regulator found
sdhci-arasan e0100000.sdhci: No vqmmc regulator found
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
sdhci-arasan e0101000.sdhci: No vmmc regulator found
sdhci-arasan e0101000.sdhci: No vqmmc regulator found
mmc1: SDHCI controller on e0101000.sdhci [e0101000.sdhci] using ADMA
mmc0: error -110 whilst initialising SD card
SD class 4 - This one is actually readable from kernel (but readonly)
===============================================
o ADATA 4 Gig, Manufacturer ID:3, OEM: 5344, SD version 3.0
o
Readable in both u-boot and kernelo
But comes up in read only in kernelDriver 'mmcblk' needs updating - please use bus_type methods
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-arasan e0100000.sdhci: No vmmc regulator found
sdhci-arasan e0100000.sdhci: No vqmmc regulator found
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
sdhci-arasan e0101000.sdhci: No vmmc regulator found
sdhci-arasan e0101000.sdhci: No vqmmc regulator found
mmc1: SDHCI controller on e0101000.sdhci [e0101000.sdhci] using ADMA
mmc0: new SDHC card at address e624
mmcblk0: mmc0:e624 SU04G 3.69 GiB (ro)
mmcblk0: p1
mount: /dev/mmcblk0p1 is write-protected, mounting read-only
SD class 10Kingston 8 Gig, Manufacturer ID: 41,OEM: 3432,
======================================
o
Readable from U-boot,o
Kernel gets errors... boot msgs related to SD (mmc0):Driver 'mmcblk' needs updating - please use bus_type methods
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-arasan e0100000.sdhci: No vmmc regulator found
sdhci-arasan e0100000.sdhci: No vqmmc regulator found
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
sdhci-arasan e0101000.sdhci: No vmmc regulator found
sdhci-arasan e0101000.sdhci: No vqmmc regulator found
mmc1: SDHCI controller on e0101000.sdhci [e0101000.sdhci] using ADMA
mmc0: error -110 whilst initialising SD card
SD class 10SanDisk Ultra 32 Gig, Manufacturer ID: 3,OEM: 5344
===============================================
o
Unreadable by U-boot! u-boot msgs:** Can't read partition table on 0:0 **
** Invalid partition 1 **
o
Kernel gets errors... boot msgs related to SD (mmc0):sdhci: Secure Digital Host Controller Interface driver
Driver 'mmcblk' needs updating - please use bus_type methods
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-arasan e0100000.sdhci: No vmmc regulator found
sdhci-arasan e0100000.sdhci: No vqmmc regulator found
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
sdhci-arasan e0101000.sdhci: No vmmc regulator found
sdhci-arasan e0101000.sdhci: No vqmmc regulator found
mmc1: SDHCI controller on e0101000.sdhci [e0101000.sdhci] using ADMA
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SL32G 29.7 GiB (ro)
mmcblk0: error -110 sending status command, retrying
questions:
1) So it does look like SD class 4 is at least readable... can we fix this so it writable as well?
2) Can we fix the others SD classes so they work in the u-boot and kernel as well?
Thanks.