JEDEC V5 eMMC on Kernel 3.10 - i.mx6D

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

JEDEC V5 eMMC on Kernel 3.10 - i.mx6D

Jump to solution
2,018 Views
phillogden
Contributor I


Hi Guys,

I've been working on a product using the iMX6D chipset and linux kernel version 3.10. We just went into pre-production and had to substitute the eMMC part for a different one. Unfortunately we selected a part with a newer JEDEC standard than 3.10 can support (V5).

I was wondering if you had a method to get JEDEC V5 running on kernel 3.10? I am very hesitant to move to a newer kernel this late in the product development, so I attempted to port the mmc drivers from kernel 3.19 to 3.10. This unfortunately snowballed into changing almost every diver in the source tree (DMA for starters, and from there, everything else really).

I was wondering if anyone had some experience with 3.10 Kernel and newer JEDEC MMC standards? Apart from changing kernel versions or changing the chip again.

Labels (2)
Tags (3)
0 Kudos
Reply
1 Solution
1,517 Views
lategoodbye
Senior Contributor I

Hi Phill,

we had a similiar issue with i.MX28. The mmc core refused the MMC because of it's unknown EXT_CSD_REV. So maybe backporting relevant MMC core changes could be the solution (no need to touch any driver).

Here is a starting point for the changes:

https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/mmc/core/mmc.c?id=03...

Stefan

View solution in original post

4 Replies
1,517 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply
1,518 Views
lategoodbye
Senior Contributor I

Hi Phill,

we had a similiar issue with i.MX28. The mmc core refused the MMC because of it's unknown EXT_CSD_REV. So maybe backporting relevant MMC core changes could be the solution (no need to touch any driver).

Here is a starting point for the changes:

https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/mmc/core/mmc.c?id=03...

Stefan

1,517 Views
phillogden
Contributor I

Thanks! That's done the trick!

Did you also have to recompile the mfgtool kernel? I've managed to build the kernel and boot into the rootfs for mfgtool, but the usb isn't being enumerated up and being detected by the host machine. It just seems to sit on "UTP: Waiting for device to appear"

I'll probably make a new forum post for this as well. :smileyhappy:

0 Kudos
Reply
1,517 Views
lategoodbye
Senior Contributor I

Yes, you will need to patch the mfgtool kernel, too.

0 Kudos
Reply