Hi all,
I am using IMX6SL processor booting through SD1 card with micro SD which doesn't have WP enable. So I have connected WP pin of processor for another purpose like interrupt. Because of this I can't able to write to SD card.I am using Eval board code.Is it mandatory to keep WP pin of processor unused i.e., for other purpose? Could you please help me how can I resolve this problem.
Thanks and Regards,
John Wesley.
解決済! 解決策の投稿を見る。
Hi John
you can look at attached board-mx6sl_evk.c from ltib
check struct esdhc_platform_data mx6_evk_sd1_data
and change it as esdhc_platform_data mx6_evk_sd3_data -
it has not WP signal.
for new kernels WP is defined in dts files check
..boot/dts/imx6sl-evk-common.dtsi for "wp-gpios"
Re: [PATCH v2 3/3] mmc: sdhci-esdhc-imx: add device tree probe support -- Linux MMC Development
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor ,
Thank you for your valuable reply.
currently we are using Kernel 3.17 version. Kindly clarify whether above mentioned patch is compatible with our kernel 3.17.
Thanks in advance,
John Wesley.
Hi John
yes compatible, kernel 3.17 is with device tree
Best regards
igor
Hi John
you can look at attached board-mx6sl_evk.c from ltib
check struct esdhc_platform_data mx6_evk_sd1_data
and change it as esdhc_platform_data mx6_evk_sd3_data -
it has not WP signal.
for new kernels WP is defined in dts files check
..boot/dts/imx6sl-evk-common.dtsi for "wp-gpios"
Re: [PATCH v2 3/3] mmc: sdhci-esdhc-imx: add device tree probe support -- Linux MMC Development
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------