public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Derek Ou <derek@siconix.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Pad data length for nand write
Date: Tue, 17 Feb 2009 11:37:49 -0700	[thread overview]
Message-ID: <499B03FD.7050207@siconix.com> (raw)
In-Reply-To: <200902171255.53149.vapier@gentoo.org>

Sorry that my patch went out twice.  I ran into smtp authentication issue
with git-send-email.  Also, what is the right way to add more comments
to a patch?  Should I edit the patch generated by git-format-patch or I
should just add commit title, blank line and the full commit message when
I git commit my change locally.

Anyway, here is the purpose of the patch.
Until v1.3.4, "nand write.jffs2" supports non page-aligned data write and
pad data automatically to page alignment.  As a result, we can use the
following scripts to automate downloading a file and writing it to flash.
"tftp file.bin" and "nand write.jffs2 add_# off_# $(filesize)"
But in the later releases, this feature was no longer supported.  So my
patch restores this feature to nand write command.

Derek
Mike Frysinger wrote:
> On Tuesday 17 February 2009 12:15:06 Derek Ou wrote:
>   
>> Signed-off-by: Derek Ou <dou@siconix.com>
>>     
> could you document what this is actually for ?
> -mike
>   

  reply	other threads:[~2009-02-17 18:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 17:15 [U-Boot] [PATCH] Pad data length for nand write Derek Ou
2009-02-17 17:15 ` Derek Ou
2009-02-17 18:51   ` Scott Wood
2009-02-17 20:54     ` Derek Ou
2009-02-17 21:16       ` Scott Wood
2009-02-17 21:37         ` Derek Ou
2009-02-17 17:55 ` Mike Frysinger
2009-02-17 18:37   ` Derek Ou [this message]
2009-02-17 18:41     ` Scott Wood
2009-02-17 20:22     ` Wolfgang Denk

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=499B03FD.7050207@siconix.com \
    --to=derek@siconix.com \
    --cc=u-boot@lists.denx.de \
    /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