public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jffs2 and nand mtd
@ 2005-08-11  7:31 Alex Karev
  2005-08-11  7:39 ` Artem B. Bityuckiy
  2005-08-11  8:33 ` David Woodhouse
  0 siblings, 2 replies; 11+ messages in thread
From: Alex Karev @ 2005-08-11  7:31 UTC (permalink / raw)
  To: linux-mtd

Hello

While we mount empty jffs2 and then copying  files it's ok, after 
remount/reboot. the files have zero gaps ~2kb at some (stable?) 
locations, and filesytem is broken that way.
install procedure following:

#flash_eraseall -j /dev/mtd0
#mount -t jffs2 /dev/mtdblock0 /mnt
#cp ...
    at this stage files looks ok.
#umount
#mount
    zero gaps appear in data on flash and lot of debug info with some 
Eeps, sometimes kernel panic.


Also we try to use mkfs.jffs2, same result.

#mkfs.jffs2 -e 0x4000 -l -n ....     or #mkfs.jffs2 -e 0x4000 -p -l -n 
.... with different variations.

#flash_eraseall -j /dev/mtd0
#nandwrite -j /dev/mtd0 root_fs.jffs2
#mount ...
#umount ...
#mount ...
... usually have debug output, sometimes kernel panic.

Hardware:
ST VEGA PC.
General SW BIOS with extension.
SAMSUNG NAND K9F2808U0C. ports: 0x300 data, 0x301 cmd; erase block 16Kb 
according documentation. no ecc 16Mb

Software:
Our NAND driver implementation, derived from edb7312.c
2 partition
Linux kernel 2.4.29 with patch from mtd c vs.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-08-11 15:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-11  7:31 jffs2 and nand mtd Alex Karev
2005-08-11  7:39 ` Artem B. Bityuckiy
2005-08-11  8:07   ` Alex Karev
2005-08-11  8:29     ` Artem B. Bityuckiy
2005-08-11  8:32       ` Artem B. Bityuckiy
2005-08-11  8:35       ` Thomas Gleixner
2005-08-11  9:58         ` Alex Karev
2005-08-11  9:42       ` Martin Egholm Nielsen
2005-08-11 14:42         ` Gianluca
2005-08-11 15:20           ` Thomas Gleixner
2005-08-11  8:33 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox