Skip to content
Snippets Groups Projects
  1. May 27, 2016
    • 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: default avatarAlexander Graf <agraf@suse.de>
      0efe1bcf
  2. Oct 28, 2015
    • 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. Sep 09, 2015
  4. Sep 07, 2015
  5. Aug 21, 2015
  6. Aug 12, 2015
  7. Apr 18, 2015
  8. Oct 23, 2014
  9. Nov 22, 2013
    • 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: default 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: default avatarRockly <rocklygnome@gmail.com>
      Patch: 264417
      f754f5dc
  10. Jun 25, 2013
    • 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: default avatarKim Phillips <kim.phillips@freescale.com>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      61fdd4f7
  11. Dec 15, 2012
    • 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: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
      85b19802
  12. Jul 11, 2012
  13. May 23, 2012
  14. May 15, 2012
  15. Dec 06, 2011
  16. Oct 27, 2011
  17. Oct 26, 2011
  18. Oct 05, 2011
    • 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: default avatarMike Frysinger <vapier@gentoo.org>
      e2a53458
  19. May 19, 2011
Loading