[U-Boot] [PATCH] Pad data length for nand write
Derek Ou
derek at siconix.com
Tue Feb 17 19:37:49 CET 2009
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 at siconix.com>
>>
> could you document what this is actually for ?
> -mike
>
More information about the U-Boot
mailing list