[U-Boot-Users] make env

Markus Klotzbücher
2008-03-25T17:04:32Z

Manuel Sahm <Manuel.Sahm@feig.de> writes:

> but why is there a error concerning NAND flashs if only NOR flashs are
> supported ?
>
> "nand_write: attempting to write not page aligned data"

Of course NAND is supported by the kernel. This is why it almost works
:-) The error is caused because the tool tries to write a single byte
using the character device /dev/mtd1 which is obviously not allowed. You
can (probably) get rid of it if you use the block device /dev/mtdblock1
in your config file. But the fw_setenv tool of course still doesn't know
about the different meanings of the NAND environment header fields.

Best regards

Markus Klotzbuecher

--
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