Manuel Sahm <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to