[LEDE-DEV] ZBT-826 and other MT7620 SD card RO

John Crispin john at phrozen.org
Mon Jun 27 07:38:31 PDT 2016



On 27/06/2016 16:21, reiner otto wrote:
> 
> Having the problem of SD card to be RO, I got following info from ZBT, to be applied against the build src:
> - edit ../drivers/mmc/host/mtk-mmc/board.h:
>     modify "#define MSDC_WP_PIN_EN (1<<1)" 
>     to
>     "#define MSDC_WP_PIN_EN (0<<1)"
> - edit ../drivers/mmc/host/mtk-mmc/sd.c:
>      modify "#define MSDC_WP_PIN_EN (1<<1)" 
>     to
>     "#define MSDC_WP_PIN_EN (0<<1)"
> 
> and recompile. This worked for me.
> As I am not familar with the official patch procedure, one of the developers might take care of this, as it most likely also applies to other MT7620-based boards.    
> 

I'll take care of it the next days, made a note already

	John



More information about the Lede-dev mailing list