cat file > /dev/mtd0 works but after position 512

Indrek Kruusa indrek.kruusa at artecdesign.ee
Tue Jun 13 10:02:53 EDT 2006


Hi!

I have Samsung 64 MB NAND behind cs553x flash controller - therefore 
cs553x_nand driver.
cat file > /dev/mtd0 works reportedly (with page aligned file). But 
after board reboots the flash is empty.

dd ... bs=512 seek=1 of=/dev/mtd0  works and content stays in flash 
after reboot too (it works I mean :) )

I am debugging my own changes in cs553x_nand driver so it is up to me of 
course. But can this behavior be explained in other way than nand driver 
bug? Broken BIOS/board?

best regards,
Indrek





More information about the linux-mtd mailing list