public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Grant Erickson <gerickson@nuovations.com>
To: Tommi Airikka <tommi.airikka@ericsson.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH] [MTD-UTILS] nandwrite: read from stdin support
Date: Tue, 02 Sep 2008 09:21:37 -0700	[thread overview]
Message-ID: <C4E2B621.1167B%gerickson@nuovations.com> (raw)
In-Reply-To: <816E1A2C67CC2B488292E7A0981FFD7702AC16FB@esealmw110.eemea.ericsson.se>

On 9/2/08 2:04 AM, Tommi Airikka wrote:
> Here is a patch that adds read from stdin support for nandwrite.
> I have tried it with 'cat filename.jffs2 | nandwrite -i filesize -p
> /dev/mtdX -'  and it did work.

Tommi:

Thank you for this patch. Your timing is perfect since I had written about
precisely this feature a little over a week ago:

http://lists.infradead.org/pipermail/linux-mtd/2008-August/022556.html

If I can get my nanddump deblocking patch completed, the following should
work as a use case:

    flash_eraseall -q <device-out>
    nanddump -o -b -s <offset> -l <size> <device-in> | nandwrite -q -p -s
<offset> <device-out>

Regards,

Grant

      parent reply	other threads:[~2008-09-02 16:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-02  9:04 [PATCH] [MTD-UTILS] nandwrite: read from stdin support Tommi Airikka
2008-09-02 10:54 ` Artem Bityutskiy
2008-09-02 16:21 ` Grant Erickson [this message]

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=C4E2B621.1167B%gerickson@nuovations.com \
    --to=gerickson@nuovations.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=tommi.airikka@ericsson.com \
    /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