Hi All,
I have a plan to use Kingston as my eMMC IC v5.0.
As I know that Android 4.4.3 can only support it up to 4.5.
After some googling, I realize I need to modify some code in uboot and kernel driver.
There are what I had done.
switch (ext_csd[EXT_CSD_REV]) {
case 1:
mmc->version = MMC_VERSION_4_1;
break;
case 2:
mmc->version = MMC_VERSION_4_2;
break;
case 3:
mmc->version = MMC_VERSION_4_3;
break;
case 5:
mmc->version = MMC_VERSION_4_41;
break;
case 6:
mmc->version = MMC_VERSION_4_5;
break;
+ case 7:
+ mmc->version = MMC_VERSION_5_0;
+ break;
}
#define MMC_VERSION_5_0 (MMC_VERSION_MMC | 0x500)
After I rebuild my image for new modification, I burn it in to my board and boot it.card->ext_csd.rev = ext_csd[EXT_CSD_REV];
if (card->ext_csd.rev > 8) {//6
pr_err("%s: unrecognised EXT_CSD revision %d\n",
mmc_hostname(card->host), card->ext_csd.rev);
err = -EINVAL;
goto out;
}
try to change check value of card->ext_csd.rev, change 6 to 7.