1. 26 Feb, 2016 1 commit
    • Alexandre Messier's avatar
      net: bootp: Add environment variable for timeout period · 50768f5b
      Alexandre Messier authored
      There is currently one config option (CONFIG_NET_RETRY_COUNT) that
      is available to tune the retries of the network stack.
      Unfortunately, it is global to all protocols, and the value is
      interpreted differently in all of them.
      Add a new environment variable that directly sets the retry period for
      BOOTP timeouts. If this new value is not set, the period is still derived
      from the default number of retries, or from CONFIG_NET_RETRY_COUNT if
      defined. When both the new variable is set and CONFIG_NET_RETRY_COUNT
      is defined, the variable has precedence.
      Signed-off-by: default avatarAlexandre Messier <amessier@tycoint.com>
  2. 06 Feb, 2016 1 commit
  3. 28 Jan, 2016 8 commits
  4. 08 Jan, 2016 1 commit
    • Andre Przywara's avatar
      net: remove scary warning about EEPROM provided MAC address · 821fec0c
      Andre Przywara authored
      In many parts of the computing world having a unique MAC address
      sitting in some on-NIC storage is considered the normal case.
      Remove the warning to not scare the user unnecessarily.
      This applies to Highbank/Midway and ARM's Juno, for instance.
      Besides that this fixes the formatting on Midway, for instance,
      which currently looks like:
      Net:   xgmac0
      Warning: xgmac0 using MAC address from net device
      , xgmac1
      Warning: xgmac1 using MAC address from net device
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
  5. 07 Jan, 2016 3 commits
  6. 18 Dec, 2015 1 commit
  7. 20 Nov, 2015 1 commit
  8. 29 Oct, 2015 5 commits
  9. 28 Oct, 2015 11 commits
  10. 30 Sep, 2015 2 commits
  11. 09 Sep, 2015 3 commits
  12. 07 Sep, 2015 1 commit
  13. 21 Aug, 2015 2 commits
    • Michal Simek's avatar
      net: Return -EINTR when ctrl+c is pressed · 19a4fbaa
      Michal Simek authored
      Current behavior is that if CTRL+C is pressed command returns 0 that was
      successful which is not correct behavior.
      The easiest test case is "tftpboot 80000 uImage && echo yes"
      and press CTRL+C. Then the second command is called which is incorrect.
      Error log:
      zynq-uboot> tftpb 80000 uImage && echo yes
      Gem.e000b000:7 is connected to Gem.e000b000.  Reconnecting to
      Gem.e000b000 Waiting for PHY auto negotiation to complete....... done
      Using Gem.e000b000 device
      TFTP from server; our IP address is
      Filename 'uImage'.
      Load address: 0x80000
      Loading: ################
      This patch adds -EINTR return value when CTRL+C is pressed.
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
    • Pavel Machek's avatar
      tftp: adjust settings to be suitable for 100Mbit ethernet · 620776d7
      Pavel Machek authored
      Adjust timouts and retry counts to be suitable for loaded ethernet
      network. With 5 seconds timeout, 10 retries maximum, tftp is
      impossible even on local network with single full-speed TCP
      100msec timeout should be suitable for most networks tftp is used on,
      that is local ethernets. Timeout count really needs to be way higher,
      as lost packets are normal when TCP is running over the same network.
      Enforce 10msec minimum.
      Signed-off-by: default avatarPavel Machek <pavel@denx.de>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>