public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Reading from NAND
Date: Fri, 18 Feb 2011 13:55:20 -0600	[thread overview]
Message-ID: <20110218135520.326a8ca3@schlenkerla> (raw)
In-Reply-To: <AANLkTikgXnuEOQ16zt6T_rDztrFWJKHiwgmXPa1=kEWk@mail.gmail.com>

On Fri, 18 Feb 2011 14:48:13 -0500
D Kesselring <kesselringd@gmail.com> wrote:

> I understand about scripting. I am trying to implement some somewhat
> involved logic that walks a table of valid images. I am not convinced
> that the u-boot scripting is sufficient for it. This table is an array
> of structs. I need a loop that looks at a struct and determine if it
> is valid and then do a couple of setenv.

If scripting is insufficient, then perhaps you could use platform code --
but it should go in your board directory, perhaps registering a command
that triggers the functionality.

> Nand is working fine. I can execute the nand commands from the command
> line without problems.

That means your nand_info[] array has been initialized.

-Scott

  reply	other threads:[~2011-02-18 19:55 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 [this message]
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

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=20110218135520.326a8ca3@schlenkerla \
    --to=scottwood@freescale.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