public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Boot based on I2C EEPROM value
Date: Thu, 18 Feb 2010 14:11:22 +0100	[thread overview]
Message-ID: <m2d402bsed.fsf@ohwell.denx.de> (raw)
In-Reply-To: <m2k4uabt9b.fsf@ohwell.denx.de> (Detlev Zundel's message of "Thu,  18 Feb 2010 13:52:48 +0100")

Hi again,

> Ah, this is interesting.  I was about to tell you to use the "standard"
> i2c commands to transfer data from the chip into memory and then use the
> hush shell and the standard "itest *addr = 1" facility.  Unfortunately,
> the "i2c" subsystem does not implement such functionality.  So currently
> I would advise to implement such "read" and "write" operations to
> transfer to/from memory.
> 
> With this addition, you could even propose a patch to remove crc32
> subcommand from i2c as this can then be done in two steps.  So maybe you
> can even get away with this addition without adding anything to the
> binary size of U-Boot ;)
 
In the meantime I found the "eeprom" command, which should allow you to
transfer the data into memory.  Still I believe the proposed
additions/removals to the "i2c" subsystem to be worthwhile.

Cheers
  Detlev

-- 
Microsoft gives you windows, Linux gives you the whole house.
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

  reply	other threads:[~2010-02-18 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-17 23:59 [U-Boot] Boot based on I2C EEPROM value Canchivaram, Srivatsan
2010-02-18 12:52 ` Detlev Zundel
2010-02-18 13:11   ` Detlev Zundel [this message]
2010-02-18 22:51   ` Canchivaram, Srivatsan
2010-02-18 23:16     ` Wolfgang Denk

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=m2d402bsed.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --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