public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Reading from NAND
@ 2011-02-18 13:29 D Kesselring
  2011-02-18 13:40 ` Wolfgang Denk
  2011-02-18 18:54 ` Scott Wood
  0 siblings, 2 replies; 12+ messages in thread
From: D Kesselring @ 2011-02-18 13:29 UTC (permalink / raw)
  To: u-boot

Hello,
I am trying to add some code to U-Boot that will read a NAND location
to determine how to setup some environment variables. I am using a
LogicPD SOM board with an OMAP3503 (very similar to Zoom). I have
found the code that handles the user nand commands and am trying to
use ?nand_read_skip_bad?.  This needs a ?nand_info_t*? which I was
trying to get from the global ?nand_info[]? but it does not seem to be
initialized. My questions are (1) is the the best way to do this and
(2) if so, how do I get ?nand_info[]? initialized. I am adding my code
to main_loop() just after ?getenv (?bootcmd?)?.
Thanks for any pointers.

Regards,
David Kesselring


-- 
W. David Kesselring
919-349-1079

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-02-21 20:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox