linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* onenand_2x_program: optional or required ?
@ 2011-04-27 15:18 David Wagner
  0 siblings, 0 replies; only message in thread
From: David Wagner @ 2011-04-27 15:18 UTC (permalink / raw)
  To: linux-mtd

Hi,

I have a board with a 2-planes OneNAND chip and, for the purpose of a
tutorial, I'm trying to put a squashfs rootfs on it.
I noticed that when the kernel doesn't have the
CONFIG_MTD_ONENAND_2X_PROGRAM option, it prints error like:

[    4.946594] SQUASHFS error: squashfs_read_data failed to read block
0x224366
[    4.954437] SQUASHFS error: Unable to read metadata cache entry [224366]
[    4.961791] SQUASHFS error: Unable to read inode 0xbf70504

and fails to mount the squashfs.


Can someone confirm or invalidate that this option really is necessary
when dealing with 2-planes onenands or is it merely meant to be an
improvement for supported chips ? Will flash-oriented filesystems also
have that problem w/o the option ?

I thought this option only affected write-functions but it seems it also
has an impact on reads.

Thanks
-- 
David Wagner, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-27 15:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-27 15:18 onenand_2x_program: optional or required ? David Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).