Ti,
I boot u-boot on my custom Keystone 2 board and I'm noticing that 'tftp' commands freeze often during transfers and I am forced to reset the board.
My board has an AM5K2E chip, and it is based off the K2E EVM board, but with changes to the ethernet peripheral:
- The PHY addresses for the EMACs start at 8 instead of 0, but a change to the board/ti/ks2_evm/board_k2e.c file seemed to fix that.
- The SGMII Serdes clock runs at 125 instead of 156.25, so we had to edit the driver/net/keystone_serdes.c registers for that.
Now, ethernet and tftp work, but tftp fails in the middle of transfers often. It is more likely to freeze during a long transfer. The other issue is that sometimes (maybe 1/10 times) the tftp command doesn't occur at all, prints nothing, does no transfer, and goes back to shell after a timeout period.
The freezing issue is more frustrating, but perhaps they are symptoms of the same problem.
How do I stop tftp from ever freezing again?
You should know, I built u-boot from a branch of keystone-linux/u-boot called upstream/k2e_net (not master) because of the legacy ethernet driver support.