OpenWrt Forum Archive

Topic: Fonera 2200 MMC Card fails with 8.09 RCx GPIO 6 allways at LOW state

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

Hello,

I found that in fonera 2200 the gpio number 6 is always at LOW state in kamikaze 8.09 RCx
the "gpioctl set 6" have no change always ate low state, I check also with my multimeter and confirm, its LOW state.
Seams to me thats the address of the GPIO 6 its incorrect, in my device is the clock to mmc card.
This seams to be the problem at many people that cant get the mmc card work.
I have also one fonera 2200 working with kamikaze 7.09 with no problem.
I can also use the GPIO 5 that is the RESET but need to cut off the line and lose the device reset, so first try to put the GPI6 working.

What is the include file that's save the GPIO config addresses ?

Vasco Santos

nice work thanks.

Reporting card working with gpio 5 (reset)

mmc_spi spi32766.0: SD/MMC host mmc0, no DMA, no WP, no poweroff
gpio-mmc: MMC-Card "default" attached to GPIO pins di=7, do=2, clk=5, cs=14
mmc_spi spi32766.0: can't change chip-select polarity
mmc0: new SD card on SPI
mmcblk0: mmc0:0000 NCard 1949696KiB
mmcblk0: p1


Now working fine with the reset line, but reboot in the console was lose as expected.

This prove that the driver work good so the bug my exist in the spi gpio kernel driver or in the kernel it self to the gpio 6 can't get at high state.
no more gpio exist in the device, I search my self in all connections on the device.

The discussion might have continued from here.