1. 13 6月, 2020 2 次提交
  2. 19 5月, 2020 2 次提交
  3. 28 4月, 2020 1 次提交
  4. 10 3月, 2020 1 次提交
  5. 25 1月, 2020 2 次提交
  6. 18 1月, 2020 2 次提交
  7. 09 12月, 2019 1 次提交
  8. 12 8月, 2019 1 次提交
  9. 02 2月, 2019 1 次提交
  10. 26 1月, 2019 1 次提交
  11. 25 1月, 2019 1 次提交
  12. 17 1月, 2019 1 次提交
  13. 27 7月, 2018 1 次提交
  14. 22 9月, 2017 1 次提交
  15. 16 8月, 2017 1 次提交
  16. 08 8月, 2017 1 次提交
    • V
      net: tftp: silence a subscript above array bounds compile time warning · 0c17b1b7
      Vladimir Zapolskiy 提交于
      For strncpy() select a minimal string length of destination and source
      strings, here DEFAULT_NAME_LEN is preferable to MAX_LEN.
      
      Due to the NUL-terminated contents of default_string the change is
      a noop, however it removes a compilation warning if SH2/3/4 platform
      specific strncpy() function is used:
      
        In file included from include/linux/string.h:21:0,
                         from include/common.h:28,
                         from net/tftp.c:9:
      
        net/tftp.c: In function 'tftp_start':
        arch/sh/include/asm/string.h:52:42: warning: array subscript is above array bounds [-Warray-bounds]
           : "0" (__dest), "1" (__src), "r" (__src+__n)
      Signed-off-by: NVladimir Zapolskiy <vz@mleia.com>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      0c17b1b7
  17. 27 5月, 2016 1 次提交
    • A
      efi_loader: Add network access support · 0efe1bcf
      Alexander Graf 提交于
      We can now successfully boot EFI applications from disk, but users
      may want to also run them from a PXE setup.
      
      This patch implements rudimentary network support, allowing a payload
      to send and receive network packets.
      
      With this patch, I was able to successfully run grub2 with network
      access inside of QEMU's -M xlnx-ep108.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      0efe1bcf
  18. 29 10月, 2015 1 次提交
    • A
      net: TFTP: variables cleanup and addition · f5fb7346
      Albert ARIBAUD \(3ADEV\) 提交于
      TFTP source and destination port variable names are
      'tftpsrcp' and 'tftpdstp' in the code, but 'tftpsrcport'
      and 'tftpdstport' in the README file. Fix the README.
      
      Add environment variable 'tftptimeoutcountmax'. As per the
      comments about the global variable tftp_timeout_count_max,
      make sure tftptimeoutcountmax is nonnegative.
      
      Introduce configuration option CONFIG_NET_TFTP_VARS,
      which controls whether environment variables tftpblocksize,
      tftptimeout, and tftptimoueoutcountmax are read by the TFTP
      client code. CONFIG_NET_TFTP_VARS defaults to y but can be
      set to n by targets with to tight size contraints.
      
      Make bf527-ezkit set CONFIG_NET_TFTP_VARS to n to keep the
      target size below limit.
      f5fb7346
  19. 09 9月, 2015 1 次提交
  20. 07 9月, 2015 1 次提交
  21. 22 8月, 2015 1 次提交
  22. 13 8月, 2015 1 次提交
  23. 19 4月, 2015 7 次提交
  24. 23 10月, 2014 1 次提交
  25. 23 11月, 2013 2 次提交
    • A
      net: tftpsrv: Get correct client MAC address · 8e52533d
      Andrew Ruder 提交于
      NetServerEther was not being cleared in the tftp server code, so the
      destination MAC address would be whatever the last destination MAC
      address was.
      
      Scenario:
      U-Boot:
      	dhcp
      	tftpsrv
      Host:
      	Send device WRQ
      Device:
      	Responds with ACK to dhcp server mac address with
      	host ip address
      
      By clearing NetServerEther, we force a lookup of the host MAC address
      to go with the associated host IP.
      Signed-off-by: NAndrew Ruder <andrew.ruder@elecsyscorp.com>
      8e52533d
    • R
      net: tftp: Make sure timeout will not effect wrap offset · f754f5dc
      rockly 提交于
      When the block 0 store to the memory of client and timeout at this
      moment. Because of no ACK packet, the server will send block 0 again,
      if this client reconnect to the server at this time,
      TftpBlockWrapOffset will become larger than it should be.
      Signed-off-by: NRockly <rocklygnome@gmail.com>
      Patch: 264417
      f754f5dc
  26. 25 6月, 2013 1 次提交
    • K
      net/tftp: sparse fixes · 61fdd4f7
      Kim Phillips 提交于
      tftp.c:464:17: warning: cast to restricted __be16
      tftp.c:552:29: warning: cast to restricted __be16
      tftp.c:640:33: warning: cast to restricted __be16
      tftp.c:642:25: warning: cast to restricted __be16
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      61fdd4f7
  27. 16 12月, 2012 1 次提交
    • S
      net: Add tftp speed indication · 85b19802
      Simon Glass 提交于
      This prints a tftp speed indication after the download completes. This
      is the 3.6 MiB/s indicator below.
      
      Tegra2 (SeaBoard) # tftp ...
      Using asx0 device
      TFTP from server 172.22.72.144; our IP address is 172.22.73.81
      Filename '/tftpboot/uImage-user-seaboard-1'.
      Load address: 0x408000
      Loading: #################################################
               3.6 MiB/s
      done
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
      85b19802
  28. 12 7月, 2012 1 次提交
  29. 24 5月, 2012 1 次提交