On Tue, Sep 19, 2017 at 8:26 AM, Ran Shalit <ransha...@gmail.com> wrote: > Hello, > > Does tftp checks the integrity of the file with checksum or any other > similar method ? If not - how can it assure the reliability of the > file that was transferred ?
In short it doesn't. Beyond a simple block id and ack there is nothing that ensures what was sent is what was received. You need to rely on something else to verify the data. Fortunately u-boot supports some options for doing so. At $dayjob we use FIT[1] images for our firmware which can include multiple hashes and even signatures if desired. [1] - http://git.denx.de/?p=u-boot.git;a=tree;f=doc/uImage.FIT _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot