How to support eMMC 5.1 on i.MX536

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to support eMMC 5.1 on i.MX536

1,170件の閲覧回数
canfengwen
Contributor II

Dear all,

It is a troubled case, we have to adding the eMMC 5.1 compatibility on i.MX536 with Android 2.3.7 BSP, kernel version-2.6.35.  The candidate eMMC information as below. Please help comment on it if any suggestion, thanks in advance.

pastedImage_1.png

The datasheet  also attached here.

ラベル(2)
タグ(2)
0 件の賞賛
2 返答(返信)

811件の閲覧回数
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

You need to do some modify in the BSP,

And for the EMMC 5.0 and EMMC5.1, modify the kernel to support eMMC 5.0 and 5.1 extended CSD revisions, as shown below:

/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;

         }

Details you can refer to EMMC 5.0 and EMMC 5.1 work on i.MX6 .

Hope this can do help for you
Have a great day,
Rita

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

811件の閲覧回数
canfengwen
Contributor II

Rita,

Thanks for the comments, i also got this information from our dedicate FAE contact, and i have also implemented it in our i.MX6 series products. But i'm afraid the above modification may not works for this case due to the difference BSP base. Could you help check if there is any further information to this case,thanks again. 

0 件の賞賛