public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: twebb <taliaferro62@gmail.com>
To: dedekind1@gmail.com
Cc: linux-mtd@lists.infradead.org
Subject: Re: ubiformat image verification
Date: Sun, 31 Jan 2010 19:50:16 -0500	[thread overview]
Message-ID: <dbdb2ea61001311650v136a002v3a8e261e91d4a457@mail.gmail.com> (raw)
In-Reply-To: <dbdb2ea61001311517o730595b3j1c32bc8327908f43@mail.gmail.com>

>>> Can the image that is written to NAND using ubiformat be read back
>>> (using nanddump) and compared identically to the original image file?
>>> I want to somehow verify that the image was written error-free to NAND
>>> flash.
>>
>> It can. But it is simpler to add a --check option to ubiformat and teach
>> it to read stuff back and verify.
>>
>
> Yes, a --check or --verify option would be nice.  Does it matter
> whether the underlying NAND flash is erased or not prior to the
> ubiformat?
>

I'm finding that it does matter whether the NAND is erased or not
first.  If erased, the comparison after read back is successful.  If
not erased in advance, the comparison fails.  Can you confirm that
this is accurate?

Thanks,
twebb

  reply	other threads:[~2010-02-01  0:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29 19:18 ubiformat image verification twebb
2010-01-29 20:21 ` Artem Bityutskiy
2010-01-31 23:17   ` twebb
2010-02-01  0:50     ` twebb [this message]
2010-02-01  4:33       ` Artem Bityutskiy

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=dbdb2ea61001311650v136a002v3a8e261e91d4a457@mail.gmail.com \
    --to=taliaferro62@gmail.com \
    --cc=dedekind1@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox