1. 27 May, 2016 1 commit
    • Alexander Graf's avatar
      efi_loader: Add network access support · 0efe1bcf
      Alexander Graf authored
      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: 's avatarAlexander Graf <agraf@suse.de>
      0efe1bcf
  2. 28 Oct, 2015 1 commit
    • Albert ARIBAUD \(3ADEV\)'s avatar
      net: TFTP: variables cleanup and addition · f5fb7346
      Albert ARIBAUD \(3ADEV\) authored
      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
  3. 09 Sep, 2015 1 commit
  4. 07 Sep, 2015 1 commit
  5. 21 Aug, 2015 1 commit
  6. 12 Aug, 2015 1 commit
  7. 18 Apr, 2015 7 commits
  8. 23 Oct, 2014 1 commit
  9. 22 Nov, 2013 2 commits
    • Andrew Ruder's avatar
      net: tftpsrv: Get correct client MAC address · 8e52533d
      Andrew Ruder authored
      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: 's avatarAndrew Ruder <andrew.ruder@elecsyscorp.com>
      8e52533d
    • rockly's avatar
      net: tftp: Make sure timeout will not effect wrap offset · f754f5dc
      rockly authored
      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: 's avatarRockly <rocklygnome@gmail.com>
      Patch: 264417
      f754f5dc
  10. 25 Jun, 2013 1 commit
    • Kim Phillips's avatar
      net/tftp: sparse fixes · 61fdd4f7
      Kim Phillips authored
      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: 's avatarKim Phillips <kim.phillips@freescale.com>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      61fdd4f7
  11. 15 Dec, 2012 1 commit
    • Simon Glass's avatar
      net: Add tftp speed indication · 85b19802
      Simon Glass authored
      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: 's avatarSimon Glass <sjg@chromium.org>
      Acked-by: 's avatarIgor Grinberg <grinberg@compulab.co.il>
      85b19802
  12. 11 Jul, 2012 1 commit
  13. 23 May, 2012 3 commits
  14. 15 May, 2012 2 commits
  15. 06 Dec, 2011 1 commit
  16. 27 Oct, 2011 3 commits
  17. 26 Oct, 2011 4 commits
  18. 05 Oct, 2011 1 commit
    • Mike Frysinger's avatar
      net: drop !NET_MULTI code · e2a53458
      Mike Frysinger authored
      This is long over due.  All but two net drivers have been converted, but
      those have now been dropped.
      
      The only thing left to do is actually delete all references to NET_MULTI
      and code that is compiled when that is not defined.  So here we scrub the
      core code.
      Signed-off-by: 's avatarMike Frysinger <vapier@gentoo.org>
      e2a53458
  19. 19 May, 2011 7 commits