当前位置:网站首页>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 .
边栏推荐
- 有没有完全自主的国产化数据库技术
- NR modulation 1
- Universal crud interface
- QT release exe software and modify exe application icon
- [Chongqing Guangdong education] higher mathematics I reference materials of Southwest Petroleum University
- Maturity of master data management (MDM)
- Web security SQL injection vulnerability (1)
- 全国大学生信息安全赛创新实践赛初赛---misc(永恒的夜)
- What is the investment value of iFLYTEK, which does not make money?
- Differences and application scenarios between resulttype and resultmap
猜你喜欢
解决:AttributeError: ‘str‘ object has no attribute ‘decode‘
BUUCTF刷题笔记——[极客大挑战 2019]EasySQL 1
建模规范:命名规范
Qt发布exe软件及修改exe应用程序图标
[concept] Web basic concept cognition
QT release exe software and modify exe application icon
Force buckle 146 LRU cache
主数据管理(MDM)的成熟度
Reverse repackaging of wechat applet
NR modulation 1
随机推荐
Audio-AudioRecord Binder通信机制
有没有完全自主的国产化数据库技术
The difference between sizeof and strlen in C language
Installation and use tutorial of cobaltstrike-4.4-k8 modified version
主数据管理理论与实践
Day 50 - install vsftpd on ceontos6.8
微服务间通信
C # create self host webservice
这些不太会
Universal crud interface
Trends in DDoS Attacks
Network Security Learning - Web vulnerabilities (Part 1)
Sign SSL certificate as Ca
Selenium share
SD卡报错“error -110 whilst initialising SD card
Pat 1084 broken keyboard (20 points) string find
Zhang Lijun: penetrating uncertainty depends on four "invariants"
Apt installation ZABBIX
Who is the winner of PTA
Taobao focus map layout practice