Skip to content

curl: set tftp default blocksize to maximum

Dmitry Petrov requested to merge curl-blksize into kirkstone

curl: set tftp default blocksize to maximum

Download speed from TFTP via curl is significantly slower in dunfell/kirkstone comparing jethro/rocko releases. The reason is that the deafult TFTP block size is only 512 bytes.

Jethro/rocko has a patch for curl that increases the block size to maximum value (65464). Port this patch to kirkstone.

The same behavior can be achieved by passing additional arguments to fng-install.sh, for example:

./fng-install.sh --curl-extra-arg="--tftp-blksize" --curl-extra-arg="65464"

But this is not described anywhere in the documentation and it may not be obvious. You will also have to type extra characters when running the script.

Merge request reports