
31 Oct
2023
31 Oct
'23
2:06 p.m.
On Tue, Oct 31, 2023 at 06:22:29PM +0530, Love Kumar wrote:
Execute tftpput command for uploading files to a server and validate its size & CRC32.
Signed-off-by: Love Kumar love.kumar@amd.com
Changes in v2:
- Add marking for cmd_tftpput config
test/py/tests/test_net.py | 72 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+)
[snip]
- fnu = "_".join([datetime.datetime.now().strftime("%y%m%d%H%M%S"), fn])
[snip]
"tftpput $fileaddr $filesize $serverip:%s" % (fnu)
I think we need to have the filename to upload as be part of the board env as well, otherwise this is going to fill up the tftpserver over time. I use a 1MiB file and that times boards times number of iterations I end up doing means I'll start noticing in a few months that I've got less free space than I expected in that format.
--
Tom