Secure Digital card: Difference between revisions

From OLPC
Jump to navigation Jump to search
(+additional irc quote.)
(add addressing detail from Mitch_Bradley. cleanup.)
Line 1: Line 1:
{{stub}}
{{stub}}


The XO laptop has 1 MMC/SD slot. Testing confirms it supports a 4-gigabyte memory card. It is [[User:Ttuttle | reported]] that it also supports an 8-gigabyte card.
The XO laptop has 1 MMC/SD/SDHC slot. 8-gigabyte memory cards work. As larger cards are created, they will also be tested (-gnu).


XO uses a custom microchip for SD card access, Camera and Flash Enabler, or CaFE. CaFE includes SDHC support. SDHC is compatible at a hardware level with SD. Pierre Ossman wrote the Linux driver support for SDHC. SD cards up to something like 256 GB should be supported. cafe is driven by the sdhci driver. cafe follows the standard host controller interface for SD controllers.
From [[Our_technology#In_today.27s_market.2C_SD_cards_can_reach_up_to_64.E2.80.93128_gigabytes._Will_this_OS_recognize_these_sizes.3F|one of the FAQ's]]:<br/>
'''In today's market, SD cards can reach up to 64–128 gigabytes. Will this OS recognize these sizes?'''
:Yes. SDHC works. 8-gigabyte cards have been tested. As larger cards are created, they will also be tested. -gnu


Here is how SD block addressing works: The address is 32 bits. In the CaFe chip, which is compatible with the standard "SDHCI" spec, the address goes in the 32-bit chip register at offset 8. For old SD cards (not the new SDHC - High Capacity careds), the address is a byte address, so the maximum size is 4 Gbytes. For the newer SDHC cards, the address is a block number, assuming 512 byte blocks, so the maximum size is 2 TBytes. None of this is CaFe-specific, BTW. It is standard SD.
:This came up on IRC, so I'll add additional details from there. XO uses a custom microchip for SD card access, Camera and Flash Enabler, or CaFE. CaFE includes SDHC support. SDHC is compatible at a hardware level with SD. Pierre Ossman wrote the Linux driver support for SDHC. SD cards up to something like 256 GB should be supported. Existing sizes have been tested on OLPC and work. [[User:MitchellNCharity|MitchellNCharity]] 22:02, 14 November 2007 (EST)
:More: cafe is driven by the sdhci driver. cafe follows the standard host controller interface for SD controllers. [[User:MitchellNCharity|MitchellNCharity]] 14:19, 15 November 2007 (EST)


[[Category:Hardware]]
[[Category:Hardware]]

Revision as of 19:53, 15 November 2007

This article is a stub. You can help the OLPC project by expanding it.

The XO laptop has 1 MMC/SD/SDHC slot. 8-gigabyte memory cards work. As larger cards are created, they will also be tested (-gnu).

XO uses a custom microchip for SD card access, Camera and Flash Enabler, or CaFE. CaFE includes SDHC support. SDHC is compatible at a hardware level with SD. Pierre Ossman wrote the Linux driver support for SDHC. SD cards up to something like 256 GB should be supported. cafe is driven by the sdhci driver. cafe follows the standard host controller interface for SD controllers.

Here is how SD block addressing works: The address is 32 bits. In the CaFe chip, which is compatible with the standard "SDHCI" spec, the address goes in the 32-bit chip register at offset 8. For old SD cards (not the new SDHC - High Capacity careds), the address is a byte address, so the maximum size is 4 Gbytes. For the newer SDHC cards, the address is a block number, assuming 512 byte blocks, so the maximum size is 2 TBytes. None of this is CaFe-specific, BTW. It is standard SD.