[U-Boot] How to start U-Boot for i.MX31 NAND out of RedBoot (out of RAM)

Wolfgang Denk wd at denx.de
Tue Jul 14 14:24:08 CEST 2009


Dear "Ulrich Gerster",

In message <4A5C8FD30200004D00014C9B at hochblauen.ba-loerrach.de> you wrote:
> 
> > Another strange thing is that I can't read from nand flash but I can =
> write.
> 
> > That's indeed strange. How do you know you can write then when you
> > cannot read the data back for verification?
> 
> Your're right. I only use NAND Flash.
> At the moment I'm starting u-boot out of RAM using RedBoot.
> I'm assuming that U-Boot is writing something to the NAND Flash because if
> I enter a commad in U-Boot like "saveenv" or "nand write" my RedBoot is
> not working anymore after that. I have to reprogramm RedBoot in the Flash
> before I can boot it again.

So you just know that it's corrupting he previous content - for
example, erase might be working. But you have no indication of a
successful write operation, so you better do not assume that write
was working.

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
Contrary to popular belief, thinking does not cause brain damage.


More information about the U-Boot mailing list