Autodetect of SD card speed?

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

Autodetect of SD card speed?

1,139 次查看
alampret
Contributor I

Hello everyone,

one basic question regarding boot_cfg and sd card speed.

The sd card speed is defined by BOOT_CFG parameters.

After successful boot does linux rely on the boot_cfg settings or is sd card speed auto-detected?

As an example, if I specify BOOT_CFG to SDR12 but SD card supports SDR104. Does linux automatically switch to SDR104 or do I need to correctly specify BOOT_CFG?

Thx in advance!

Best regards,

Alexander

标签 (2)
标记 (2)
0 项奖励
回复
1 回复

979 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Alexander

in general linux should check available speed options and try max. option.

So seems it should try to switch to SDR104, note hardware should support voltage switching

and also dts has options like "pinctrl_usdhc1_200mhz":

linux-imx.git - i.MX Linux Kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复