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

reiner otto augustus_meyer at yahoo.de
Mon Jun 27 07:21:16 PDT 2016


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.    



More information about the Lede-dev mailing list