[U-Boot] [PATCH] fw_env: add NAND support

Guennadi Liakhovetski lg at denx.de
Wed Sep 3 16:00:41 CEST 2008


On Wed, 3 Sep 2008, Wolfgang Denk wrote:

> > As far as I understand, with rc == 3 there is no DEVESIZE in the line, 
> > which doesn't look like a valid configuration line to me. The orginal code 
> > however accepted such lines and only dropped lines with rc < 3. I do not 
> > understand how the original code managed to work with rc == 3. As I 
> > thought this was a bug, I changed the test to "rc < 4", i.e., now I 
> 
> Did you verify that is was a bug?

Yes:

Unlocking flash...
Done
Cannot malloc -32768 bytes: Cannot allocate memory
Error: can't write fw_env to flash

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.

DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de


More information about the U-Boot mailing list