现在项目采用了东芝MMCA Version 5.1 ,内核的mmc驱动支持出现些问题,log如下
[ 3.865587] Galcore version 5.0.11.25762
[ 3.960991] mmc3: unrecognised EXT_CSD revision 8
[ 3.965803] mmc3: error -22 whilst initialising MMC card
现在采取的解决方法是mmc.c if (card->ext_csd.rev > 6) 改成 > 8 但这应该不是好的解决方案
我们用的时候imx6q +android4.4.3 +linux3.10.53,有没有更好的解决方案 ?
已解决! 转到解答。
Hi,
You do not need to modify other code. The emmc v4.5 is default supported and here we change the ext_csd.rev to make the emmc v5.1 work on emmc v4.5 mode. It's OK and can work well.
Have a great day,
Dan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
你好,我也在使用东芝的emmc ver5.1 芯片 我按你说的方法修改了代码,但是还是不能启动,目前报错是
mmc0: starting CMD6 arg 03b34b01 flags 0000049d
sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00010000
mmc0: req failed (CMD6): -110, retrying...
sdhci [sdhci_irq()]: *** mmc0 got interrupt:
在mmc_switch part_config 的设置为0x4时返回 超时!请问你遇到过这个问题吗,能否留个联系方式 共享下你们的emmc驱动
Hi,
You do not need to modify other code. The emmc v4.5 is default supported and here we change the ext_csd.rev to make the emmc v5.1 work on emmc v4.5 mode. It's OK and can work well.
Have a great day,
Dan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
When you change the mmc.c if (card->ext_csd.rev > 6) to > 8 , can it work fine? By now in our side we use this method modify the value of card->ext_csd.rev to make the EMMC 4.4 above version work .
Have a great day,
Dan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------