[U-Boot] Reading from NAND

Scott Wood scottwood at freescale.com
Fri Feb 18 20:55:20 CET 2011


On Fri, 18 Feb 2011 14:48:13 -0500
D Kesselring <kesselringd at 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



More information about the U-Boot mailing list