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

Indrek Kruusa
2006-06-13T14:02:57Z

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