From mboxrd@z Thu Jan 1 00:00:00 1970 From: Derek Ou Date: Tue, 17 Feb 2009 11:37:49 -0700 Subject: [U-Boot] [PATCH] Pad data length for nand write In-Reply-To: <200902171255.53149.vapier@gentoo.org> References: <> <1234890907-934-1-git-send-email-dou@siconix.com> <200902171255.53149.vapier@gentoo.org> Message-ID: <499B03FD.7050207@siconix.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >> > could you document what this is actually for ? > -mike >