本文共 1935 字,大约阅读时间需要 6 分钟。
msm8953
SD卡不识别 插卡日志
console:/ # dmesg
console:/ # cat /proc/kmsg [ 122.791973] mmc1: sdhci_msm_execute_tuning: no tuning point found [ 122.792069] mmc1: tuning execution failed: -5 <3>[ 122.791973] mmc1: sdhci_msm_execute_tuning: no tuning point found <3>[ 122.792069] mmc1: tuning execution failed: -5 [ 123.029692] mmc1: sdhci_msm_execute_tuning: no tuning point found [ 123.029749] mmc1: tuning execution failed: -5 <3>[ 123.029692] mmc1: sdhci_msm_execute_tuning: no tuning point found <3>[ 123.029749] mmc1: tuning execution failed: -5 [ 123.554364] mmc1: sdhci_msm_execute_tuning: no tuning point found [ 123.554464] mmc1: tuning execution failed: -5 <3>[ 123.554364] mmc1: sdhci_msm_execute_tuning: no tuning point found <3>[ 123.554464] mmc1: tuning execution failed: -5 [ 123.820137] mmc1: sdhci_msm_execute_tuning: no tuning point found [ 123.820232] mmc1: tuning execution failed: -5 <3>[ 123.820137] mmc1: sdhci_msm_execute_tuning: no tuning point found <3>[ 123.820232] mmc1: tuning execution failed: -5 [ 124.057573] mmc1: sdhci_msm_execute_tuning: no tuning point found [ 124.057622] mmc1: tuning execution failed: -5 [ 124.125102] mmc1: mmc_sd_init_card() failure (err = -5) [ 124.125183] mmc1: error -5 whilst initialising SD card <3>[ 124.125183] mmc1: error -5 whilst initialising SD card\kernel\msm-4.9\arch\arm64\boot\dts\qcom\msm8953-mtp.dtsi 文件下加一个 &sdhc_2 { /* device core power supply */ vdd-supply = <&pm8953_l11>; qcom,vdd-voltage-level = <2950000 2950000>; qcom,vdd-current-level = <15000 800000>;+ qcom,vdd-always-on; /* ==========加入一行代码给SD卡长供电====== */ /* device communication power supply */ vdd-io-supply = <&pm8953_l12>; qcom,vdd-io-voltage-level = <1800000 2950000>; qcom,vdd-io-current-level = <200 22000>;
pinctrl-names = "active", "sleep";
pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>; pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
重新刷新,SD卡可正常识别,说明硬件有问题,后面交给硬件工程师
转载地址:http://pxqn.baihongyu.com/