We flash our builds over tftp with the ethernet directly connected to the development machine. So the gateway is also the tftp-server. Flashing is pretty fast and takes a couple of minutes maximum for a 200MB image.
Now when we try to flash over the internet from a remote server it literally takes a couple of hours. Flashing is incredibly slow. We tried to increase the tftpblocksize (default 512 bytes) by setting the tftpblocksize variable in u-boot but then flashing doesn’t work anymore. The tftp-server does support bigger blocksizes (tested with a different machine and the atftp client).
Is there a way to significantly speed up the tftp flashing process? Or is the added latency the reason for the really slow communication?