I.MX8M Plus SPL how to enable hs200 mode in emmc

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

I.MX8M Plus SPL how to enable hs200 mode in emmc

1,998件の閲覧回数
mengfei
Contributor III

May I ask how to realize emmc working in hs200 and hs400 mode in SPL stage? I myself set CONFIG_SPL_IO_VOLTAGE=y CONFIG_SPL_UHS_SUPPORT=y CONFIG_SPL_MMC_HS200_SUPPORT=y in the <.config> file, but there was an error at compile time.
I would appreciate it if you could help me with this problem

 

error messenge:

drivers/mmc/fsl esdhc imx.c: In function 'esdhc reset tuning':drivers/mmc/fsl esdhc imx.c:722:48: error: 'struct mmc’ has no member namied "devstruct fsl esdhc priv *priv = dev get priv(mmc->dev);
drivers/mmc/fsl esdhc imx.c: In function 'esdhc set strobe dll':drivers/mmc/fsl esdhc imx.c:736:48: error: 'struct mmc’ has no member namedstruct fsl esdhc priv *priv = dev get priv(mmc->dev):

0 件の賞賛
返信
4 返答(返信)

1,950件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @mengfei,

I hope you are doing well.

Have you made any changes to the u-boot source code related to emmc?

Please make sure that you have used correct configuration options.

CONFIG_SPL_MMC_UHS_SUPPORT=n

CONFIG_SPL_MMC_HS200_SUPPORT=y

CONFIG_SPL_MMC_IO_VOLTAGE=y

Please specify  mmc-hs200-1_8v device tree property under the usdhc node indts.

Thanks & Regards,
Dhruvit Vasavada

0 件の賞賛
返信

1,929件の閲覧回数
mengfei
Contributor III
error messenge:

drivers/mmc/fsl esdhc imx.c: In function 'esdhc reset tuning':drivers/mmc/fsl esdhc imx.c:722:48: error: 'struct mmc’ has no member namied "devstruct fsl esdhc priv *priv = dev get priv(mmc->dev);
drivers/mmc/fsl esdhc imx.c: In function 'esdhc set strobe dll':drivers/mmc/fsl esdhc imx.c:736:48: error: 'struct mmc’ has no member namedstruct fsl esdhc priv *priv = dev get priv(mmc->dev):
0 件の賞賛
返信

1,901件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @mengfei,

I hope you are doing well.

I did not observe any error when building U-boot  2020.04 for i.MX8MP (imx8mp_evk_defconfig) adding the below options.

CONFIG_SPL_MMC_UHS_SUPPORT=n

CONFIG_SPL_MMC_HS200_SUPPORT=y

CONFIG_SPL_MMC_IO_VOLTAGE=y

Please make sure that you have not made any changes to mmc related code in u-boot.

Thanks & Regards,
Dhruvit Vasavada

0 件の賞賛
返信

1,997件の閲覧回数
mengfei
Contributor III
the uboot version was 2020.04
0 件の賞賛
返信