[Article] Strange Workaround for TFTP Timeout in U-Boot Bootloader

For folks booting VisionFive 2 with U-Boot TFTP:

U-Boot might show frequent TFTP Timeouts. This article talks about our fix for the TFTP Timeouts:

(1) First we throttled our TFTP Server to send packets slower. (Which made it worse)

(2) Next we reduced the TFTP Timeout Duration in our server. (Nope doesn’t work)

(3) But when we send every TFTP Data Packet twice, the problem mysteriously disappears!

(4) Apache NuttX RTOS now boots over the network in 20 seconds. (Previously 4 minutes)

(5) We verified this with 2 TFTP Servers: Linux and macOS

Details here: Strange Workaround for TFTP Timeout in U-Boot Bootloader (Star64 JH7110 RISC-V SBC)


@lupyuen I have no idea if this would be applicable or not (it is for TCP and not UDP), but it is related to u-boot and data throughput so it might be connected, maybe.

1 Like

@mzs That’s interesting, thanks for the tip! :slight_smile:

1 Like