JEDEC V5 eMMC on Kernel 3.10 - i.mx6D

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

JEDEC V5 eMMC on Kernel 3.10 - i.mx6D

跳至解决方案
1,539 次查看
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.

标签 (2)
标记 (3)
0 项奖励
1 解答
1,038 次查看
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

在原帖中查看解决方案

4 回复数
1,038 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
1,039 次查看
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,038 次查看
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 项奖励
1,038 次查看
lategoodbye
Senior Contributor I

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

0 项奖励