[U-Boot] help on POST

York Sun yorksun at freescale.com
Fri Jul 30 23:34:08 CEST 2010


Dear Wolfgang,

Thanks for the quick respond.

On Fri, 2010-07-30 at 23:29 +0200, Wolfgang Denk wrote:
> Dear York Sun,
> 
> In message <1280524829.25910.58.camel at oslab-l1> you wrote:
> > 
> > Please help me to understand the post_word_write() and post_word_load().
> > I see some implementations which don't use NVRAM. Is it OK to use gd?
> 
> No.


> > Does the post_word_load() require the data survive reset? How is the
> 
> Yes.
> 
> > data validated? I don't see any code to validate the value. 
> 
> It checks against BOOTMODE_MAGIC.

What's if I don't want to use flash and don't have NVRAM? Can I use gd
but let it fail the validation in case of data corruption?

York






More information about the U-Boot mailing list