public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nils N. Gjerdevik <nils.gjerdevik@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] SOFT_I2C on at91rm9200 - FIXED
Date: Tue, 19 Jun 2007 15:38:38 +0200	[thread overview]
Message-ID: <4677DC5E.1020801@gmail.com> (raw)
In-Reply-To: <1182256552.2969.54.camel@gentoo-jocke.transmode.se>

Joakim Tjernlund wrote:
> On Tue, 2007-06-19 at 13:52 +0200, Nils Gjerdevik wrote:
>   
>> 2007/6/18, Matteo Vit <matteo.vit@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
>   
I've tested it both with and without your patch, and both cases worked 
for me. I've only tested that I can read and write the eeprom 
successfully, I haven't done any more in depth tests.

    Nils

      reply	other threads:[~2007-06-19 13:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-19 11:52 [U-Boot-Users] SOFT_I2C on at91rm9200 - FIXED Nils Gjerdevik
2007-06-19 12:35 ` Joakim Tjernlund
2007-06-19 13:38   ` Nils N. Gjerdevik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4677DC5E.1020801@gmail.com \
    --to=nils.gjerdevik@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox