I.mx6 emmc5.0/5.1 hardware changes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I.mx6 emmc5.0/5.1 hardware changes

426 次查看
Serg_mx6
Contributor II

Hello, i have question related to using i.mx6 solo with eMMC5.1. Is it necessary to do any hardware improvements when using eMMC 5.1 ICs? Regarding the correction of the mmc.c file, I've already read.

/drivers/mmc/core/mmc.c :

if (card->ext_csd.rev > 6) {              // The '6' has to be replaced with '7' For EMMC5.0

                                                        //  The '6' has to be replaced with '8'  For EMMC5.1

pr_err("%s: unrecognised EXT_CSD revision %d\n",

mmc_hostname(card->host), card->ext_csd.rev);

err = -EINVAL;

goto out;

         }

But still there were additional questions:

1) In addition, in some cases it is necessary to change the settings of pins such as this:

#define USDHC_PAD_CTRL (PAD_CTL_PUS_47K_UP | PAD_CTL_SPEED_LOW | \
PAD_CTL_DSE_80ohm | PAD_CTL_SRE_FAST | PAD_CTL_HYS)

to:

#define USDHC_PAD_CTRL (PAD_CTL_PUS_47K_UP | PAD_CTL_SPEED_LOW | \
PAD_CTL_DSE_120ohm | PAD_CTL_SRE_SLOW | PAD_CTL_HYS)

Give a comment, is it necessary to do this?

2) Have you heard that some eMMC5.1 refuse to work in high-speed mode without hardware improvements: pull up  EIM_DA3 (BOOT_CFG1 [3] bit) pin to 1 for working in normal mode.

Serg_mx6_0-1651746029844.png

Give a comment, is it necessary to do this?

Thanks!

0 项奖励
回复
0 回复数