OneNAND: Unexpected zero blocks

Julianne C. juliannerc at gmail.com
Thu Feb 15 09:20:27 EST 2007


In using the 2.6.20 kernel with onenand enabled and active we:

1) see the partitions setup in the kernel boot messages

2) can mount a partition:  mount -t jffs2 /dev/mtdblock3 /mnt

3) copy the rootfs (about 2 MB) to the new fs on /mnt

When the fs is unmounted, and remounted again, we see some files in which
two to four blocks of zeros occur (0x2000), or blocks with some
initial data filled
in 20 to 40 bytes and the rest zeros.

Is this a known problem with the onenand parts or the driver?

Where can one obtain a copy of the latest driver
   (without having to use git since we can't access git archives
behind our firewall)

(The board is a LogicPD  PXA270 with one 64 MB Samsung device - used for both
boot and OS file systems.)




More information about the linux-mtd mailing list