NXP FAE你好
单位仿照IMX6Q sabresd制作了开发板,emmc使用了东芝的THGBMHG8C4LBAW7,在加载内核的时候EMMC报中断超时错误
mmc0: Timeout waiting for hardware interrupt.
sdhci: =========== REGISTER DUMP (mmc0)===========
sdhci: Sys addr: 0x00000000 | Version: 0x00000002
sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000001
sdhci: Argument: 0x00000c00 | Trn mode: 0x00000000
sdhci: Present: 0xf7fd8009 | Host ctl: 0x00000001
sdhci: Power: 0x0000000d | Blk gap: 0x00000000
sdhci: Wake-up: 0x00000000 | Clock: 0x000010ff
sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
sdhci: Int enab: 0x007f00c3 | Sig enab: 0x007f00c3
sdhci: AC12 err: 0x00000000 | Slot int: 0x00000003
sdhci: Caps: 0x07eb0000 | Caps_1: 0x00000007
sdhci: Cmd: 0x0000341a | Max curr: 0x00ffffff
sdhci: Host ctl2: 0x00000000
sdhci: ===========================================
联系了东芝的FAE,得到的结论是由于我们没有1.8V的电,所以EMCC只能跑在低速模式,也就是52M,需要关闭HS200功能,但是我不太清楚,这个HS200时钟在内核的什么地方可以关闭,还请给予指导。谢谢。
我们的内核版本是LINUX3.0.35 |