[U-Boot-Users] MX31ADS: I2C1 bus

Robert Schwebel r.schwebel at pengutronix.de
Mon Jun 9 22:14:00 CEST 2008


On Fri, Jun 06, 2008 at 10:46:16AM +0200, llandre wrote:
> I downloaded current u-boot repo to perform a simple test on MX31ADS: I
> just have to verify that an I2C component connected to JP13 is detected
> by U-Boot (iprobe).
> So I enabled the I2C support in MX31ADS config file:
>
> /* I2C */
> #define CONFIG_HARD_I2C		1
> #define CONFIG_I2C_MXC		1
> #define CFG_I2C_MX31_PORT1	1
> #define CFG_I2C_SPEED		100000
> #define CFG_I2C_SLAVE		0xfe
>
> U-Boot builds and boots fine however, when issuing iprobe command, SDA
> and SCL lines are stuck at ~2.1V. JP6 and JP7 are both in 2-3 position.
>
> Am I missing something?

That looks like u-boot-v1. Sascha maintains the u-boot-v2 tree, which
hopefully doesn't have any such #define cruft any more :-)

The v1 port was done by Guennadi Liakhovetski.

rsc
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9





More information about the U-Boot mailing list