当前位置:网站首页>SD card reports an error "error -110 whilst initializing SD card
SD card reports an error "error -110 whilst initializing SD card
2022-07-06 03:06:00 【xrdeng】
SD Card error “error -110 whilst initialising SD card”
At present, the development has encountered some SD Card and TI Of SOC The driver of the chip is inconsistent , Specific performance: :
uboot Phase initialization mmc dev 1 No serial port information output , Unable to read and write mmc
Kernel Stage error reporting ”SD Card initialization failed error -110 whilst initialising SD card“
The specific reason is SD Some of the CMD Operation does not support , return -110 Error of , need
uboot Stage , stay dts To shield off :
main_sdhci1: [email protected] {
ti,otap-del-sel-legacy = <0x2>;
/*ti,otap-del-sel-sd-hs = <0xf>;
ti,otap-del-sel-sdr12 = <0xf>;
ti,otap-del-sel-sdr25 = <0xf>;
ti,otap-del-sel-sdr50 = <0xc>;
ti,otap-del-sel-sdr104 = <0x5>;
ti,otap-del-sel-ddr50 = <0xc>;
sdhci-caps-mask = <0x2 0x0>;*/
dma-coherent;
};
Kernel Stage , stay drivers/mmc/host/sdhci.c Function of void __sdhci_read_caps Add :
host->quirks2 |= SDHCI_QUIRK2_NO_1_8_V;
Mainly to enable SDHCI_QUIRK2_NO_1_8_V
if (host->quirks2 & SDHCI_QUIRK2_NO_1_8_V) {
host->caps1 &= ~(SDHCI_SUPPORT_SDR104 | SDHCI_SUPPORT_SDR50 |
SDHCI_SUPPORT_DDR50);
/*
* The SDHCI controller in a SoC might support HS200/HS400
* (indicated using mmc-hs200-1_8v/mmc-hs400-1_8v dt property),
* but if the board is modeled such that the IO lines are not
* connected to 1.8v then HS200/HS400 cannot be supported.
* Disable HS200/HS400 if the board does not have 1.8v connected
* to the IO lines. (Applicable for other modes in 1.8v)
*/
mmc->caps2 &= ~(MMC_CAP2_HSX00_1_8V | MMC_CAP2_HS400_ES);
mmc->caps &= ~(MMC_CAP_1_8V_DDR | MMC_CAP_UHS);
}
recompile u-boot and Kernel solve SD Card problem .
边栏推荐
猜你喜欢
2022工作中遇到的问题四
Maturity of master data management (MDM)
Yyds dry inventory comparison of several database storage engines
Introduction to robotframework (III) Baidu search of webui automation
微服务注册与发现
Apt installation ZABBIX
【 kubernets series】 a Literature Study on the Safe exposure Applications of kubernets Service
有没有完全自主的国产化数据库技术
XSS challenges bypass the protection strategy for XSS injection
纯Qt版中国象棋:实现双人对战、人机对战及网络对战
随机推荐
Inherit day01
Apt installation ZABBIX
[matlab] access of variables and files
技术分享 | undo 太大了怎么办
Custom attribute access__ getattribute__/ Settings__ setattr__/ Delete__ delattr__ method
RobotFramework入门(一)简要介绍及使用
MySQL learning notes-10-tablespace recycling
Derivation of anti Park transform and anti Clarke transform formulas for motor control
OCR文字識別方法綜述
微服务注册与发现
这些不太会
Microservice registration and discovery
How does yyds dry inventory deal with repeated messages in the consumption process?
Huawei, H3C, Cisco command comparison, mind map form from the basic, switching, routing three directions [transferred from wechat official account network technology alliance station]
jsscript
PMP practice once a day | don't get lost in the exam -7.5
Eight super classic pointer interview questions (3000 words in detail)
建模规范:命名规范
手写数据库客户端
Referenceerror: primordials is not defined error resolution