On Wed, Sep 24, 2025 at 09:41:41AM +0200, Benjamin Hahn wrote: > Add the option to load the bootscript with the tftp command (static IP) > instead of the dhcp command (dynamic IP). For this a new function > tftpb_run similar to dhcp_run, is needed. The selection of which command > to use can be done with the ip_dyn environment variable, which can be > set to yes or no. The ip_dyn variable was chosen as it is already in use > on the imx platforms. > Also edit the bootstd doc. > > Signed-off-by: Benjamin Hahn <[email protected]>
OK, so this fails to build on qemu_arm64_lwip (and a few other lwip targets) because tftpb_run was defined just for the legacy stack and not lwIP too. But, and this is a question for Jerome too, why isn't dhcp_run already in the common network file and instead written again in net/lwip/dhcp.c? And for both of you, can we perhaps have a common function or functions? The lwIP one does handle tftp it looks like. Thanks! -- Tom
signature.asc
Description: PGP signature

