[U-Boot-Users] SOFT_I2C on at91rm9200 - FIXED

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Jun 19 14:35:52 CEST 2007


On Tue, 2007-06-19 at 13:52 +0200, Nils Gjerdevik wrote:
> 2007/6/18, Matteo Vit <matteo.vit at dave.eu>:
> > Nils Gjerdevik ha scritto:
> > > Hi,
> > > I'm trying to store the u-boot environment in an EEPROM (at24c128) on
> > > a custom at91rm9200 based board. This fails when using the included
> > > HARD_I2C driver, and since there are known problems with the I2C
> > > controller on this uC, I'm trying to set up SOFT_I2C instead, without
> > > success so far...
> 
> Problem solved! Turns out the peripheral clock for the pio controller
> wasn't enabled. In the Linux code I looked at this was already done
> elsewhere. Thanks to Joakim and Matteo for valuable help.
> For the record, here is the code:

Did you try my patch also and did it work?

 Jocke




More information about the U-Boot mailing list