[U-Boot] tftp reliability
Chris Packham
judge.packham at gmail.com
Tue Sep 19 04:04:25 UTC 2017
On Tue, Sep 19, 2017 at 8:26 AM, Ran Shalit <ranshalit at 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
More information about the U-Boot
mailing list