Hi Amit, amit shah wrote: > I'm using a mini2440 stamp with my custom hardware and using > the i2c bus. > I'm using 2011-08 bsp for mini2440. On one of the boards lately I'm > getting i2c erro >> s3c-i2c s3c2440-i2c: cannot get bus (error -110)
Seems something is blocking the bus (which means the clock or the data line is at fixed low level). Does this error disappear when you power cycle the board? > I googled a bit a found it being a kernel generated message. Yes. The I2C hardware reports it cannot control the I2C lines. > Any ideas as to what if happening any patches for the kernel? If it is a software bug you can try a more recent kernel. Or take a look into the kernel's GIT repository if the driver got some patches since 3.0 which deals with this event. Driver's source file is "drivers/i2c/busses/i2c-s3c2410.c". > The kernel is 3.0 as which comes along with 2011-08 bsp. The kernel in the current Mini2440-BSP-GIT repository is 3.8.5. Maybe this bug/error/misbehaviour is already fixed. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
