nand write problem
Hi list,
I try to write some files within linux to my flash. But I always get the messagenand_write_ecc: Attempt to write not page aligned data
cp: Write Error: Invalid argument
This is my environment:
linux kernel 2.6.11
mtd-snapshot-20050524.tar.bz2
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
What I'm doing wrong?
Thanks for your help.
Jonas
Quoted 4 lines · Jonas
I try to write some files within linux to my flash. But I always get the message
nand_write_ecc: Attempt to write not page aligned data
cp: Write Error: Invalid argument
You can not use cp to write to a raw nand flash. NAND must be written with page aligned data.
Please read the FAQ and the tech docs on http://linux-mtd.infradead.org
tglx