Arun Kumar

MfgTool flashing issue on eMMC version 5.0 and 5.1

Discussion created by Arun Kumar on Jun 22, 2016
Latest reply on Jul 1, 2016 by Ning Li

We are from Toshiba-TSIP, Bangalore, India, working for Toshiba Memory division.

 

We are using IMX6 based NXP boards with eMMC device for booting. The kernel version used by IMX6 board is usually 3.0.35, 3.10.17 and 3.14.28 .

The eMMC driver in this kernel version does not support eMMC device of Extended CSD Revision 7 and 8 (For eMMC JEDEC version 5.0 and 5.1).

 

This issue usually occurs during flashing of the boot images using MfgTool. The flashing of boot images fail on MfgTool.

To make the flashing successful, the firmware uImage used by MfgTool needs to be rebuilt after modifying the Linux kernel version 3.0.35 to support eMMC 5.0 and 5.1 extended CSD revisions, as shown below.

 

The code from linux-3.10.y branch:

/drivers/mmc/core/mmc.c : Line # 302 :

if (card->ext_csd.rev > 6) {                <-  The '6' has to be replaced with '8'

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

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

                 err = -EINVAL;

                 goto out;

         }

 

Only with the above modification, eMMC version 5.0 and 5.1 can be used with IMX6 based boards.

 

Hence it would be of immense help, if NXP can provide or update MfgTool firmware images with support for eMMC device versions 5.0 and 5.1 in the future.

 

Best regards,

Arunkumar

Outcomes