Skip to content

TFTP server

Detlev Zundel u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6README: remove spurious line+0 -00 replies
2/6NET: pass source IP address to packet handlers+0 -01 reply
3/6TFTP: rename "server" to "remote"+0 -02 replies
3/6TFTP: rename "server" to "remote"+0 -01 reply
3/6TFTP: rename "server" to "remote"+0 -01 reply
3/6TFTP: rename "server" to "remote"+0 -02 replies
3/6TFTP: rename "server" to "remote"+0 -00 replies
3/6TFTP: rename "server" to "remote"+0 -00 replies
4/6TFTP: rename STATE_RRQ to STATE_SEND_RRQ+0 -00 replies
5/6TFTP: net/tftp.c: add server mode receive+0 -01 reply
5/6TFTP: net/tftp.c: add server mode receive+0 -00 replies
6/6TFTP: add tftpsrv command+0 -00 replies

Reviews trailers per patch

10 of 12 patches have a Reviewed-by or Acked-by.

PatchDetlev Zundel
1/6A-b
2/6A-b
3/6A-b
3/6A-b
3/6A-b
3/6A-b
3/6A-b
3/6A-b
4/6A-b
5/6
5/6
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/6] TFTP server

Hi Luca,

Quoted 15 lines

Hi,
here's the tftpsrv patch series, with checkpatch warnings fixed. Only patches 2 and 3 are actually changed. Patch 1 is unchanged and patches 4-6 have been simply rebased.

There are still a few checkpatch issues (!), though, that I think can be ignored and I'm not going to fix unless there's a specific request.

Here they are:

Review

Quoted 3 lines

WARNING: consider using kstrto* in preference to simple_strtol #125: FILE: net/tftp.c:619:

(quoted diff) +1 -0
+		TftpRemotePort = simple_strtol(ep, NULL, 10);

Which is Linux-only

Quoted 4 lines
Quoted 3 lines

WARNING: do not add new typedefs
#61: FILE: include/net.h:367:
+typedef enum { BOOTP, RARP, ARP, TFTP, DHCP, PING, DNS, NFS, CDP, NETCONS, SNTP,

Is a typedef *enum* considered bad in U-Boot?

For new code yes. We (well at least I) much rather prefer to see what type a variable is without looking up the typedef for it.

Cheers
Detlev

Signature · 9 lines
F?r jemanden, der in eine Religion geboren wurde, in der das Ringen um eine
einzige Seele ein Stafettenlauf ?ber viele Jahrhunderte sein kann [..], hat
das Tempo des Christentums etwas Schwindelerregendes.   Wenn der Hinduismus
friedlich dahinflie?t wie der Ganges,  dann ist das  Christentum Toronto in
der Rushhour.                        -- Yann Martel
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de