[U-Boot-Users] make env

Markus Klotzbücher mk at denx.de
Tue Mar 25 18:04:32 CET 2008


Manuel Sahm <Manuel.Sahm at 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




More information about the U-Boot mailing list