EMMC 5.0 support

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EMMC 5.0 support

846 Views
cilymo
Contributor I

Hi,

   Can imx6 BSP-4.1.15-2.0.1 support EMMC 5.0 ? not use as EMMC 4.4.

Labels (1)
0 Kudos
4 Replies

621 Views
cilymo
Contributor I

Hi Artur,

      I only find this below, please see "is change this 6 to 7 ?";


 /*
  * Enable power_off_notification byte in the ext_csd register
  */
 if (card->ext_csd.rev >= 6) {    //is change this 6 to 7 ?
  err = mmc_switch(card, EXT_CSD_CMD_SET_NORMAL,
     EXT_CSD_POWER_OFF_NOTIFICATION,
     EXT_CSD_POWER_ON,
     card->ext_csd.generic_cmd6_time);
  if (err && err != -EBADMSG)
   goto free_card;
  /*
   * The err can be -EBADMSG or 0,
   * so check for success and update the flag
   */
  if (!err)
   card->ext_csd.power_off_notification = EXT_CSD_POWER_ON;
 }
Is it correct ?
Thanks,
Cily
0 Kudos

621 Views
joanxie
NXP TechSupport
NXP TechSupport

try to change check value of card->ext_csd.rev, change 6 to 7.

now eMMC 5.0 can work as an eMMC 4.4.

0 Kudos

621 Views
art
NXP Employee
NXP Employee

The i.MX6 series processors do not support the eMMC 5.0 specification in hardware. Only the backward-compatible eMMC 4.4 use is possible.


Have a great day,
Artur

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

0 Kudos

621 Views
cilymo
Contributor I

Hi Artur,

   So, how to modify this(use eMMC 5.0 as eMMC 4.4) int BSP version 4.1.15-2.0.1? 

   The "mmc_read_ext_csd"  function is not the same as "https://community.nxp.com/docs/DOC-332187" said.

Thanks,

Cily

0 Kudos