I2C re-probe after boot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I2C re-probe after boot

1,171 次查看
Cruncher
Contributor I

We have a RTC/NVRAM  (PCF2127a) chip on the i2C bus. We have seen a few rare occasions where it is not detected during boot (but is detect on another boot). Is there a way for me to force a re-probe if we don't see the device after we boot up?

To help debug this issue we have put a switch on the data line, so I can force a failure at boot. But I still can't talk to the chip afterwards because the part wasn't detected.

This is on an iMX35 on 2.6.31 kernel. The device driver is built in, I don't believe its in a module.

i2c-adapter i2c-0: IRQ: Bus Arbitration lost

i2c-adapter i2c-0: Could not grab Bus ownership

WARNING:  i2c bus failed.  RTC is not itialized or registered

rtc-pcf2127a: probe of 0-0051 failed with error -121

i2c /dev entries driver

标签 (1)
标记 (2)
2 回复数

668 次查看
jimmychan
NXP TechSupport
NXP TechSupport

seems it is not stable during boot. Have you try to build it as module and then load it automatically after boot?

668 次查看
Cruncher
Contributor I

I haven't, but I will give that a try when I can. Other fires are hotter right now.

0 项奖励