public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
To: Richard Weinberger <richard.weinberger@gmail.com>,
	Tanya Brokhman <tlinder@codeaurora.org>
Cc: dedekind@infradead.org, dedekind@oktetlabs.ru,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	fastcat@gmail.com, pratibha@codeaurora.org
Subject: Re: [mtd] possible bug in nandsim
Date: Thu, 7 Nov 2013 11:58:49 -0300	[thread overview]
Message-ID: <20131107145848.GA32004@localhost> (raw)
In-Reply-To: <CAFLxGvx=8vcDzUcA6vG_84X8snYkDLBkyboQZmDTUdDgi3xccQ@mail.gmail.com>

Hello Richard, Tanya:

On Thu, Nov 07, 2013 at 03:35:30PM +0100, Richard Weinberger wrote:
> On Thu, Nov 7, 2013 at 12:43 PM, Tanya Brokhman <tlinder@codeaurora.org> wrote:
> > Hi
> >
> > I've recently started working with the nand simulator. For my testing
> > purposes I have to use it with a cache file. Bellow are the commands I run:
> >
> > modprobe nandsim first_id_byte=0x20 second_id_byte=0xaa third_id_byte=0x00
> > fourth_id_byte=0x15 cache_file=cache_file.txt
> > modprobe ubi mtd=0 fm_autoconvert=1
> >
> > Unfortunately, when trying the above I noticed that the next time i load
> > nandsim and ubi on top of it the fastmap data is not saved at cache_file.txt
> > and the device comes up as clean. Meaning, the cache file feature of the
> > nandsim isn't working properly.
> 
> IIRC this feature is really meant as a cache and not persistent storage.
> 

AFAIK Richard is right, the feature is just a non-persistent cache.

However a patch was submitted (and never reviewed) recently to
apparently add persistent behavior:

  http://patchwork.ozlabs.org/patch/277974/

Tanya: Can you test or review the patch and provide a formal
Tested/Reviewed-by? I'd be interested in seeing that move forward :)

Thanks!
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com

  reply	other threads:[~2013-11-07 14:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07 11:43 [mtd] possible bug in nandsim Tanya Brokhman
2013-11-07 14:35 ` Richard Weinberger
2013-11-07 14:58   ` Ezequiel Garcia [this message]
2013-11-07 18:02     ` Tanya Brokhman
2013-11-07 18:47       ` Ezequiel Garcia
2014-02-12  9:51     ` Tanya Brokhman
2014-02-12  9:55       ` Richard Weinberger
2014-02-12 22:42         ` Matthew Gabeler-Lee
2014-02-13 13:06           ` Tanya Brokhman
2014-02-13 13:21             ` Ezequiel Garcia
2014-02-13 13:39               ` Tanya Brokhman

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=20131107145848.GA32004@localhost \
    --to=ezequiel.garcia@free-electrons.com \
    --cc=dedekind@infradead.org \
    --cc=dedekind@oktetlabs.ru \
    --cc=fastcat@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=pratibha@codeaurora.org \
    --cc=richard.weinberger@gmail.com \
    --cc=tlinder@codeaurora.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox