public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Reading from NAND
Date: Mon, 21 Feb 2011 21:48:59 +0100	[thread overview]
Message-ID: <20110221204859.84B12151B54@gemini.denx.de> (raw)
In-Reply-To: <AANLkTimMa27Q6rpH4hL32J7URQWR5Fj7V1tgeX2OWBxe@mail.gmail.com>

Dear D Kesselring,

In message <AANLkTimMa27Q6rpH4hL32J7URQWR5Fj7V1tgeX2OWBxe@mail.gmail.com> you wrote:
> > Is there any reason for not using itest.b directly?
> If I do a test on a non-word aligned location the processor gets an exception.

You cannot do a byte access on a random address?? Than something is
seriously broken in your system.

> Also does the shell support adding values like "itest *(${base} +
> ${offset}) == 0x01"?

Why would that be needed?

> Or any other integer addition or subtraction so that a loop can walk an array?

You can use setexpr in a loop to increment or decrement an address or
perform any other kind of arithmetics.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Marriage is the sole cause of divorce.

      reply	other threads:[~2011-02-21 20:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-18 13:29 [U-Boot] Reading from NAND D Kesselring
2011-02-18 13:40 ` Wolfgang Denk
     [not found]   ` <AANLkTik3hq8tUc5-Uh23G=F0Of2q8QNzJ2fO+JCr3wZy@mail.gmail.com>
2011-02-19 19:59     ` Wolfgang Denk
     [not found]     ` <AANLkTimn1deSepOQOUTVbD=c5-njULYNc=tqAw9TKUBm@mail.gmail.com>
2011-02-19 20:01       ` Wolfgang Denk
2011-02-18 18:54 ` Scott Wood
2011-02-18 19:48   ` D Kesselring
2011-02-18 19:55     ` Scott Wood
2011-02-18 22:48     ` Wolfgang Denk
2011-02-19 15:57       ` D Kesselring
2011-02-19 19:41         ` Wolfgang Denk
2011-02-21 19:43           ` D Kesselring
2011-02-21 20:48             ` Wolfgang Denk [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=20110221204859.84B12151B54@gemini.denx.de \
    --to=wd@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