AnsweredAssumed Answered

Disabling SDHC write protection

Question asked by Vishakh M on Aug 3, 2016
Latest reply on Aug 8, 2016 by Vishakh M

Hi All,


I am using i.MX6q custom board with Linux 3.0.35.

When I try to copy/create files to SDHC card, I am getting, "Read-only file system" message.


I tried disabling the write protection pin, but still facing the same issue. In the boot loader it works fine.


Below is the board file information:

static const struct esdhc_platform_data mx6_sd3_data __initconst = {

    .cd_gpio = MX6_SD3_CD;

    //.wp_gpio = MX6_SD3_WP;

    .always_present = 0;

    //.support_18v = 1;

    .keep_power_at_suspend = 1;

    .support_8bit = 1;

    .delay_line = 0;

    .cd_type = ESDHC_CD_CONTROLLER;



Please help me to solve this issue.


With Regards,