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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot