From: Vladimir Gurevich <vag@paulidav.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] how to get result using eeprom cmd under u-boot 1.1
Date: Mon, 13 Feb 2006 01:32:09 -0800 [thread overview]
Message-ID: <43F05219.7040300@paulidav.org> (raw)
In-Reply-To: <4F06A838FCD053488B5F39BA078807F502B64654@wrnxchg2.whiterocknetworks.com>
Hello Jin,
Xu, Jin (SDC) wrote:
> When I use " eeprom read 0 0 1 " cmd, It only display " EEPROM @0x0
> read: addr 00000000 off 0000 count 1 ... done "
>
The format of the "eeprom" command is (as I'm sure you already know):
eeprom {read,write} <addr> <offset> <count>
The <addr> argument is the MEMORY address and that's where the result of
the transaction will be placed.
Thus,
1) Using 0 as <addr> is a pretty risky idea to begin with: :)
2) The more proper usage will be:
eeprom read 0x100000 0 10
md.b 0x100000 10
And, of course, a quick look at the source code is worth thousand emails :)
Happy hacking,
Vladimir
next prev parent reply other threads:[~2006-02-13 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-13 9:14 [U-Boot-Users] how to get result using eeprom cmd under u-boot 1.1 Xu, Jin
2006-02-13 9:32 ` Vladimir Gurevich [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-02-13 11:53 Xu, Jin
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=43F05219.7040300@paulidav.org \
--to=vag@paulidav.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.