当前位置:网站首页>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 .
边栏推荐
- #PAT#day10
- Handwriting database client
- Add one to non negative integers in the array
- Software design principles
- Elimination games
- Differences and usage scenarios between TCP and UDP
- C语言sizeof和strlen的区别
- XSS challenges绕过防护策略进行 XSS 注入
- 不赚钱的科大讯飞,投资价值该怎么看?
- How does yyds dry inventory deal with repeated messages in the consumption process?
猜你喜欢

建模规范:命名规范

Codeworks 5 questions per day (1700 average) - day 6

电机控制反Park变换和反Clarke变换公式推导

Referenceerror: primordials is not defined error resolution

codeforces每日5题(均1700)-第六天

PMP每日一练 | 考试不迷路-7.5

Linear programming matlab

Software design principles

Installation and use tutorial of cobaltstrike-4.4-k8 modified version

Which ecology is better, such as Mi family, graffiti, hilink, zhiting, etc? Analysis of five mainstream smart brands
随机推荐
Atcoder beginer contest 233 (a~d) solution
NR modulation 1
微服务间通信
The difference between sizeof and strlen in C language
Huawei, H3C, Cisco command comparison, mind map form from the basic, switching, routing three directions [transferred from wechat official account network technology alliance station]
Elimination games
Fault analysis | analysis of an example of MySQL running out of host memory
Microsoft speech synthesis assistant v1.3 text to speech tool, real speech AI generator
Prototype design
CSP date calculation
Buuctf question brushing notes - [geek challenge 2019] easysql 1
原型图设计
CobaltStrike-4.4-K8修改版安装使用教程
[Yu Yue education] basic reference materials of digital electronic technology of Xi'an University of Technology
How to read excel, PDF and JSON files in R language?
tcpdump: no suitable device found
解决:AttributeError: ‘str‘ object has no attribute ‘decode‘
Custom attribute access__ getattribute__/ Settings__ setattr__/ Delete__ delattr__ method
【指针训练——八道题】
Codeworks 5 questions per day (1700 average) - day 6