Re: [OpenWrt-Devel] AsiaRF MT7620a mounting sdhci drive readonly

2014-08-26 Thread John Crispin
Hi, i saw that the latest RTSDK driver has support for CD polling. i will have a look at the datasheet to figure out if we can work around this in software. i need to port the newest sdk driver anyhow to get the mt7628 support John On 27/08/2014 07:10, Luis Soltero wrote: > > > hello John, >

Re: [OpenWrt-Devel] AsiaRF MT7620a mounting sdhci drive readonly

2014-08-26 Thread Luis Soltero
hello John, the following patch fixes the write protect issue on the AsiaRF FXS board (AWV002-001 REV .1) so the "broken-wp" patch is not required to mount the drive rw once the pin is grounded.  Not sure if you want to

Re: [OpenWrt-Devel] AsiaRF MT7620a mounting sdhci drive readonly

2014-08-23 Thread Luis Soltero
hello john, thanks for looking into this... just so that you know I forced is_readonly = 0 in sdhci.c as in ... static int sdhci_check_ro(struct sdhci_host *host) { unsigned long flags; int is_readonly; spin_lock_irqsave(&host->lock, flags); if (host->flags & S

Re: [OpenWrt-Devel] AsiaRF MT7620a mounting sdhci drive readonly

2014-08-23 Thread John Crispin
Hi Luis, i have a awm0003 on my desk and will have a look during the week. John On 23/08/2014 23:26, Luis Soltero wrote: > > Hello All, > > Been trying to get an AsiaRF based MT7620a board running using CC > r42230 and having issue getting the MMC SD card reader to mount > rw. > > I h

[OpenWrt-Devel] AsiaRF MT7620a mounting sdhci drive readonly

2014-08-23 Thread Luis Soltero
Hello All, Been trying to get an AsiaRF based MT7620a board running using CC r42230 and having issue getting the MMC SD card reader to mount rw. I have been in communication with the manufacturer to discover the GPIO (if any) used for the WP line for the SDHCI card reader on the board. They h