IMX6SL: does 8bit DDR eMMC interface work on this CPU?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6SL: does 8bit DDR eMMC interface work on this CPU?

ソリューションへジャンプ
2,440件の閲覧回数
RobHawksFan
Contributor I

I have an IMX6SL board that is based on the EVK design. Only, it boots from a Samsung eMMC v4.41 which seems to be working in SDR mode at 26Mhz.

> cat /sys/kenel/debug/mmc0

clock: 52000000 Hz

vdd: 7 (1.65 - 1.95 V)

chip select: 0 don't care

power mode: 2 (on)

bus width: 3 (8 bits)

timing spec: 5 (mmc high-speed 50Mhz)

I can't seem to get DDR mode to work when accessing the eMMC. I am using the BSP that was provided by FSL, the recent release with linux kernel 3.0.5.101 and FSL patches.

Under Linux the measured eMMC clock rate is ~26Mhz but what is reported above as part of the mmc0 kernel debug info is 52Mhz which is not the actual clock rate. It is reporting one rate but sending another.

The other strange thing was the measured eMMC clock under u-boot was 52Mhz vs 26Mhz under linux. I think the clock is correct under u-boot but it is still only using SDR mode. Anyone resolved any eMMC related issues for a similar platform?

When I try to force the DDR bit in the CPU all hell breaks loose and I can't talk to the eMMC.

ラベル(3)
0 件の賞賛
返信
1 解決策
1,522件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi RobHawksFan

link below sheds some light on DDR support

Linux MMC/SD subsystem ()

Best regards

igor

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,523件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi RobHawksFan

link below sheds some light on DDR support

Linux MMC/SD subsystem ()

Best regards

igor

0 件の賞賛
返信
1,522件の閲覧回数
RobHawksFan
Contributor I

I had to back port my interpretation these changes to the
3.0.101 kernel but it is now working. Thanks for your help!

0 件の賞賛
返信