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

2014-09-17 Thread Scott Wood
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

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

2014-09-15 Thread Lukasz Majewski
Hi Heiko, Hello Stephen, add Lukasz to Cc ... Am 12.09.2014 16:53, schrieb Stephen Warren: On 09/12/2014 12:27 AM, Heiko Schocher wrote: when uplaoding a file, at least from a nand partition, the complete mtd nand partition size is transferred. This leads in a wrong md5sum as the

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

2014-09-15 Thread Heiko Schocher
Hello Lukasz, Am 15.09.2014 11:45, schrieb Lukasz Majewski: Hi Heiko, Hello Stephen, add Lukasz to Cc ... Am 12.09.2014 16:53, schrieb Stephen Warren: On 09/12/2014 12:27 AM, Heiko Schocher wrote: when uplaoding a file, at least from a nand partition, the complete mtd nand partition size

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

2014-09-15 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 15.09.2014 11:45, schrieb Lukasz Majewski: Hi Heiko, Hello Stephen, add Lukasz to Cc ... Am 12.09.2014 16:53, schrieb Stephen Warren: On 09/12/2014 12:27 AM, Heiko Schocher wrote: when uplaoding a file, at least from a nand partition, the

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

2014-09-14 Thread Heiko Schocher
Hello Stephen, add Lukasz to Cc ... Am 12.09.2014 16:53, schrieb Stephen Warren: On 09/12/2014 12:27 AM, Heiko Schocher wrote: when uplaoding a file, at least from a nand partition, the complete mtd nand partition size is transferred. This leads in a wrong md5sum as the filesize is different

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

2014-09-12 Thread Heiko Schocher
when uplaoding a file, at least from a nand partition, the complete mtd nand partition size is transferred. This leads in a wrong md5sum as the filesize is different between the downloaded file and the uploaded file. Limit the uploaded filesize to the downloaded fixes this. Signed-off-by: Heiko

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

2014-09-12 Thread Stephen Warren
On 09/12/2014 12:27 AM, Heiko Schocher wrote: when uplaoding a file, at least from a nand partition, the complete mtd nand partition size is transferred. This leads in a wrong md5sum as the filesize is different between the downloaded file and the uploaded file. Limit the uploaded filesize to