From: Scott Wood Date: Wed, 17 Sep 2014 15:48:05 -0500 Subject: [U-Boot] [PATCH] test: dfu: script: wrong md5sum on nand partitions In-Reply-To: <20140915135521.5b204300@amdc2363> References: <1410503250-13761-1-git-send-email-hs@denx.de> <541308F6.9010807@wwwdotorg.org> <541679F8.8010109@denx.de> <20140915114546.4db6f2fc@amdc2363> <5416C406.9030907@denx.de> <20140915135521.5b204300@amdc2363> Message-ID: <1410986885.24184.536.camel@snotra.buserror.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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_.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