eMMC 4.5 support with i.MX6

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

eMMC 4.5 support with i.MX6

Jump to solution
10,859 Views
Paul_Kang
NXP Employee
NXP Employee

Hello,

One of our customer wants to move from eMMC 4.4.1 to eMMC 4.5.

As I know, usually, spec update of iMMC means additional support of new function so compatible to lower version of controller.

But I am not sure if eMMC 4.5 can be attached and used as booting device for i.MX6S.

Is there any customer who have tried eMMC 4.5 and who have verified its operation in their board? Below is part info of new eMMC.
Could you comment it?

 

현재

-->

PCN

P/N

SDIN5D2-4G

SDIN7DP2-4G

Technology

24nm

19nm

eMMC ver.

4.4.1

4.5

Best regards,

Paul

Labels (6)
Tags (1)
0 Kudos
Reply
1 Solution
3,456 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello, jounnii

    if you used R13.41 android BSP, you should do modification in myandroid/kernel_imx/drivers/mmc/core/mmc.c

...

card->ext_csd.rev = ext_csd[EXT_CSD_REV];

if (card->ext_csd.rev > 6) {

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

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

  err = -EINVAL;

  goto out;

}

.....

if you use L3.0.35_4.0.013_04_24 BSP, you don't need to modify it !

Weidong

View solution in original post

0 Kudos
Reply
16 Replies
3,456 Views
niklasmolin
Senior Contributor I

Hi Paul.

Did you manage to solve this problem?

I also have an emmc 4.5 on my board which I want to boot from.

But I wonder if the problem I have is that the image is not "populated" right in the emmc.

What method did you use to populate the image into the emmc?

Best regards,

Niklas

0 Kudos
Reply
3,456 Views
Paul_Kang
NXP Employee
NXP Employee

Hi Niklas,

I think you are talking about image burning into eMMC with MFG tool.

Actually, I am not much knowledge about MFG tool, I don't know the details about it.

But according to our s/w FAE, we have not experienced problem during image download into eMMC.

The only thing we need to modify is the one described in this DI and it should be applied kernel code. Same modification should be done for kernel code of MFG tool.

Paul

0 Kudos
Reply
3,457 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello, jounnii

    if you used R13.41 android BSP, you should do modification in myandroid/kernel_imx/drivers/mmc/core/mmc.c

...

card->ext_csd.rev = ext_csd[EXT_CSD_REV];

if (card->ext_csd.rev > 6) {

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

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

  err = -EINVAL;

  goto out;

}

.....

if you use L3.0.35_4.0.013_04_24 BSP, you don't need to modify it !

Weidong

0 Kudos
Reply
3,456 Views
imx5x
Contributor I

Hi Weidong,

My production's eMMC 4.5 32GB is going to EOL and our eMMC Vendor notice us to use eMMC 5.0 32GB

We have modified the original solution for eMMC 4.5 to eMMC5.0, but it's not working on eMMC 5.0.

Do you have any new solution to update for iMX6DQ Sabresd board for Android 4.2.2 BSP?

0 Kudos
Reply
3,456 Views
ottawa-imx6
Contributor IV

Hi I-Shin Ma,

Did you get emmc 5.0 working with the i.mx6?

What was the performance?

What was the 32GB eMMC product that you used?

I am interested to hear if you had any success...

Thanks!
Brent

0 Kudos
Reply
3,456 Views
Paul_Kang
NXP Employee
NXP Employee

Thank you Weidong,

It means, our BSP can support MMC 4.5...

My another question is, if MMC 4.5 can be used as a booting storage device. Can I consider it should be operational with our ROM code during booting time?

Paul

0 Kudos
Reply
3,456 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,jounnii,

      I just did a test on mx6Q-sabresd board, I seems that It can only support SD protocal and 4bit booting in ROM code . when I set sw6 eMMC protocal and 8-bit mode, the board can't boot.

      So I don't know if the latter version of ROM code supports eMMC. But for your 19nm iNAND Flash , I think it is also no problem to use sd protocal booting.

Weidong

0 Kudos
Reply
3,456 Views
Paul_Kang
NXP Employee
NXP Employee

Hi Weidong,

Could you share your Sabre SD board boot config setting? It might be helpful to understand your configuration.

Best regards,

Paul

0 Kudos
Reply
3,456 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,jounnii,

      If customer wants to use iNAND Flash with eMMC protocal, he can only connect it to SD4 port on i.mx6. This port supports eMMC protocal boot.

Regards,

Weidong

0 Kudos
Reply
3,456 Views
Paul_Kang
NXP Employee
NXP Employee

Hi weidong,

Does it mean SD1/2/3 is not working with eMMC? Actually, it is a little different from my understanding. As I know, all of SD port can support eMMC. Am I right?

I am sorry but please clarify below.

#1, Does SD1/2/3 support 8 bit eMMC booting with eMMC 4.4? And SD1/2/3 can’t support 8bit eMMC booting with eMMC 4.5?

#2, Does SD4 support 8 bit eMMC booting with eMMC 4.5?

#3, Does SD1/2/3 can switch to eMMC 8 bit mode after booting with SD 4bit mode?

Please forgive if there is unreasonable question. It is because I am not eMMC/SD spec expert.

Best regards,

Paul

0 Kudos
Reply
3,456 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,jounnii,

      I confirmed with the quesions about supporting MMC protocal in ROM CODE. And confirmed it with a customer who is using iNAND Flash , I correct my mistake:

      SD1,SD2,SD3,SD4 controllers all support MMC protocal in ROM Code booting. I checked the SD card that I used , It is 4-bit SD card, So I couldn't boot by MMC protocal.

      Please forward it to your customer !

      I am very sorry for my mistake !


Regards,

weidong

0 Kudos
Reply
3,456 Views
thony
Contributor II

I have a custom board. that use SDIN7DP2-4G at sdhc4 port. It can burn sabresd android image emmmc, but cant success boot?

I don't know the reason.

0 Kudos
Reply
3,456 Views
Paul_Kang
NXP Employee
NXP Employee

Hello Weidong,

I am sorry to repeat same question but there is another question from customer and she asked if i.MX51 has similar experience to adapt eMMC4.5.

According to your comment, if they use SD booting mode, it should be possible but not sure if it is correct understanding and if we have expereince about it.

Best regards,

Paul

0 Kudos
Reply
3,456 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,jounnii,

      Yes, it is also suitable for i.mx51.

weidong

0 Kudos
Reply
3,456 Views
jtobias
Contributor III

Hello Guys,

Could you verify if the iMX6SL ROM code able to load the uboot stored in iNAND 4.51?

Regards,

john

0 Kudos
Reply
3,456 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,jounnii,

      See following picture .

No.8~No.1 pos on SW6: 0100 0110

Weidong

SW6-SETTING.png

0 Kudos
Reply