当前位置:网站首页>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 .
边栏推荐
- Solve 9 with C language × 9 Sudoku (personal test available) (thinking analysis)
- PMP每日一练 | 考试不迷路-7.5
- OCR文字識別方法綜述
- JS regular filtering and adding image prefixes in rich text
- Communication between microservices
- Web security SQL injection vulnerability (1)
- 微服务间通信
- 张丽俊:穿透不确定性要靠四个“不变”
- How to improve the enthusiasm of consumers when the member points marketing system is operated?
- Data and Introspection__ dict__ Attributes and__ slots__ attribute
猜你喜欢
![Huawei, H3C, Cisco command comparison, mind map form from the basic, switching, routing three directions [transferred from wechat official account network technology alliance station]](/img/3b/385d19e51340ecd6281df47b39f40c.png)
Huawei, H3C, Cisco command comparison, mind map form from the basic, switching, routing three directions [transferred from wechat official account network technology alliance station]

故障分析 | MySQL 耗尽主机内存一例分析
How to do function test well

Gifcam v7.0 minimalist GIF animation recording tool Chinese single file version

My C language learning record (blue bridge) -- on the pointer
![[Yu Yue education] basic reference materials of digital electronic technology of Xi'an University of Technology](/img/47/e895a75eb3af2aaeafc6ae76caafe4.jpg)
[Yu Yue education] basic reference materials of digital electronic technology of Xi'an University of Technology

如何精准识别主数据?

八道超经典指针面试题(三千字详解)
如何做好功能测试
![[network security interview question] - how to penetrate the test file directory through](/img/48/be645442c8ff4cc5417c115963b217.jpg)
[network security interview question] - how to penetrate the test file directory through
随机推荐
【若依(ruoyi)】ztree 自定义图标(iconSkin 属性)
Rust language -- iterators and closures
Codeworks 5 questions per day (1700 average) - day 6
JS regular filtering and adding image prefixes in rich text
Classic interview question [gem pirate]
这些不太会
Microsoft speech synthesis assistant v1.3 text to speech tool, real speech AI generator
Inherit day01
【概念】Web 基础概念认知
XSS challenges绕过防护策略进行 XSS 注入
Analyze menu analysis
故障分析 | MySQL 耗尽主机内存一例分析
What is the investment value of iFLYTEK, which does not make money?
tcpdump: no suitable device found
XSS challenges bypass the protection strategy for XSS injection
Maturity of master data management (MDM)
MySQL advanced notes
Handwriting database client
Fault analysis | analysis of an example of MySQL running out of host memory
[pointer training - eight questions]