Skip to contentSkip to conversation

nand write problem

DISCUSSION Jonas 2 participants 2 messages May 25, 2005 Memory technology devices (MTD)

lore
Share & tools
lore

Jonas

author
#0 lore raw

Hi list,

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

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

#1 lore raw
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