OpenWrt Forum Archive

Topic: MMC/SD under Kamikaze 8.09_RC1 with 2.6 kernel

The content of this topic has been archived on 8 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everybody.
Do you can explain me how i can use mmc/sd card under Kamikaze 8.09_RC1 with 2.6 kernel?
Previously i use Witerusssian, and everithing work fine,  but now i not have right software ( kernel mod) for use mmc.
I already  install kmod-mmc  but is not work.
kmod-mmc-over-gpio_2.6.25.17-brcm47xx-2_mipsel
kmod-mmc-spi_2.6.25.17-brcm47xx-1_mipsel
kmod-mmc_2.6.25.17-brcm47xx-1_mipsel

Anybody have  manual ?


mmc_spi spi32766.0: ASSUMING 3.2-3.4 V slot power
mmc_spi spi32766.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
gpio-mmc: MMC-Card "default" attached to GPIO pins di=2, do=4, clk=3, cs=7
mmc_spi spi32766.0: can't change chip-select polarity

(Last edited by z0rg on 28 Dec 2008, 01:48)

For which router?

Linksys WRT54GL  Ver 1.1

I think this is problem which  spi module.  But i not have any idea how i can  check and fix it.

gpio-mmc: Failed to request mmc_spi module.
mmc_spi spi32762.0: ASSUMING 3.2-3.4 V slot power
mmc_spi spi32762.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
gpio-mmc: MMC-Card "default" attached to GPIO pins di=2, do=4, clk=3, cs=7
mmc_spi spi32762.0: can't change chip-select polarity

Maybe my post it's really helpful...
However, I can mention I couldn't get my SD working with the 2.6 kernel.
I had an error during the initialization of the card. Apparently, there was a problem with the spi module.

I am currently using the 2.4 branch of kamikaze 8.09RC1 with the optimized mmc driver and everything is fine !

This is an ongoing problem:
https://dev.openwrt.org/ticket/4274

However even after correcting that error, which allows the SD card to work, I still get occasional segfaults while accessing the data.  Fortunately even though it segfaults the data on the card is never corrupt.

Hi,
I have some trouble.

Thanks

Phil

The discussion might have continued from here.