All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Wagner <david.wagner@free-electrons.com>
To: linux-mtd@lists.infradead.org
Subject: onenand_2x_program: optional or required ?
Date: Wed, 27 Apr 2011 17:18:37 +0200	[thread overview]
Message-ID: <4DB833CD.5020305@free-electrons.com> (raw)

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

                 reply	other threads:[~2011-04-27 15:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DB833CD.5020305@free-electrons.com \
    --to=david.wagner@free-electrons.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.