STrRedWolf wrote:Well, actually, if we're doing 4-bit SD on the regular card, we already have the driver -- it's in the kernel. I mucked with that on an old white BeagleBone.
The caveat is that we'd need two GPIO's for a card detect and write protect (the latter I think we can get away with). I'd have to research the device tree setup and how it interacts with the SD drivers.
Depends which 'kernel driver' you're talking about. You can go with raw bit-banged GPIO (which will be very slow), or you can go with mmc-over-spi using one of the Pis SPI interfaces (which will be a bit quicker, but probably still slower than you expect).
The BCM2835 includes a couple of hardware blocks for "proper" SD access, allowing much greater read/write speeds. The primary one on GPIOs 48-53 which is used by the in-built SD / microSD slot, and a secondary one on GPIOs 22-27, which is the one
jdb refers to having no public driver or documentation yet (from what I've heard this is actually different from the primary SD block, so would need a different driver).
This is all just my personal understanding, I've never actually implemented an additional SD interface on the Pi.