[U-Boot] [PATCH] test: dfu: script: wrong md5sum on nand partitions

Scott Wood scottwood at freescale.com
Wed Sep 17 22:48:05 CEST 2014


On Mon, 2014-09-15 at 13:55 +0200, Lukasz Majewski wrote:
> Hi Heiko,
> 
> > Hello Lukasz,
> > 
> > Am 15.09.2014 11:45, schrieb Lukasz Majewski:
> > > The legacy dat_<file_size>.img (e.g. dat_960.img) would be
> > > truncated if needed in the script.
> > >
> > > This is a quick solution.
> > 
> > Yes ... I do not prefer this solution. Why not cutting the readden
> > file to the length we transferred? 
> 
> I think that the truncation of the received file is acceptable.
> If we were about to test partition write, then we could prepare images
> with the size equal to the partition size.

Keep in mind that the exact partition size can vary, even for the same
board, due to bad blocks.

-Scott




More information about the U-Boot mailing list