do_tftpb

The interface has the following parameters.
  • Synopsis:
    int do_tftpb(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
  • Description: The interface is used to run the tftpboot command, and boot the image via network using TFTP protocol.
  • Parameter:
    • cmdtp: The command information for the tftpboot command.
    • flag: The command flags.
    • argc: The number of arguments.
    • agrv: The list of arguments.
  • Return:
    • Success: 0.
    • Failure: 1.