Difference between revisions of "How to get the internal SD card working"

From ThinkWiki
Jump to: navigation, search
 
Line 33: Line 33:
  
 
9. RocknRoll
 
9. RocknRoll
 +
 +
 +
== Update for FC5 running the newest 2.6.17 kernel: ==
 +
 +
1. modprobe mmc_block
 +
 +
2. modprobe sdhci
 +
 +
3. mount /dev/mmcblk0p1 /mnt
 +
 +
4. RocknRoll
 +
 +
Tested on my X41 with 04:00.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)

Revision as of 02:16, 26 June 2006

1. First of it all you need a working kernel 2.6 source.

2. Get the patches at http://mmc.drzeus.cx/wiki/Linux/Drivers/sdhci all the *.bin

3. Patch your Kernel

 cd /usr/src/linux
 patch -p1 < sdhci-0001.bin
 patch -p1 < pci-sdhc-0001.bin
 patch -p1 < mmc-respopcode-0001.bin

4. reconfigure your Kernel with menuconfig:

 make menuconfig

5. aktivate "Device Drivers" -> "MMC/SD Card support"

 <*> MMC support
 <*>   MMC block device driver
 <M>   Secure Digital Host Controller Interface support  (EXPERIMENTAL)

6. recompile your kernel & reboot

 make clean && make && make modules_install.. dont forget to copy your new kernel. ;)

7. Modprobe your new Kernelmodule:

 modprobe sdhci

8. Mount your SD CARD

 mount /dev/mmcblk0p1 /mnt

9. RocknRoll


Update for FC5 running the newest 2.6.17 kernel:

1. modprobe mmc_block

2. modprobe sdhci

3. mount /dev/mmcblk0p1 /mnt

4. RocknRoll

Tested on my X41 with 04:00.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 13)