Skip to content
Snippets Groups Projects
  1. May 12, 2011
  2. Apr 27, 2011
  3. Nov 28, 2010
  4. Oct 12, 2010
  5. Jun 21, 2010
  6. May 03, 2010
  7. Jan 17, 2010
    • Dirk Behme's avatar
      Make getenv_IPaddr() global · 6a45e384
      Dirk Behme authored
      
      There are boards out there that do not have network support in
      U-Boot (CONFIG_CMD_NET not set), but they do so in Linux. This
      makes it desirable to be able to port network configuration (like
      the IP address) to the Linux kernel.
      
      We should not make the passing of the IP configuration to Linux
      dependent on U-Boot features / settings.
      
      For this, make getenv_IPaddr() global. This fixes build error
      
      u-boot/lib_xxx/board.c:360: undefined reference to `getenv_IPaddr'
      
      on various architectures.
      
      Signed-off-by: default avatarDirk Behme <dirk.behme@googlemail.com>
      Acked-by: default avatarBen Warren <biggerbadderben@gmail.com>
      6a45e384
  8. Dec 14, 2009
  9. Nov 24, 2009
  10. Aug 25, 2009
    • Alessandro Rubini's avatar
      net: defragment IP packets · 5cfaa4e5
      Alessandro Rubini authored
      
      The defragmenting code is enabled by CONFIG_IP_DEFRAG; the code is
      useful for TFTP and NFS transfers.  The user can specify the maximum
      defragmented payload as CONFIG_NET_MAXDEFRAG (default 16k).
      Since NFS has a bigger per-packet overhead than TFTP, the static
      reassembly buffer can hold CONFIG_NET_MAXDEFRAG + the NFS overhead.
      
      The packet buffer is used as an array of "hole" structures, acting as
      a double-linked list. Each new fragment can split a hole in two,
      reduce a hole or fill a hole. No support is there for a fragment
      overlapping two diffrent holes (i.e., thre new fragment is across an
      already-received fragment).
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      5cfaa4e5
  11. Aug 08, 2009
    • Robin Getz's avatar
      minor debug cleanups in ./net · 0ebf04c6
      Robin Getz authored
      
       Minor ./net cleanups - no functional changes
        - change #ifdef DEBUG printf(); #endif to just debug()
        - changed __FUNCTION__ to __func__
        - got rid of extra whitespace between function and opening brace
        - removed unnecessary braces on if statements
      
       gcc dead code elimination should make this functionally/size equivalent
       when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3).
      
      Signed-off-by: default avatarRobin Getz <rgetz@blackfin.uclinux.org>
      
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      0ebf04c6
  12. Jul 23, 2009
  13. May 15, 2009
  14. Apr 20, 2009
    • Michael Zaidman's avatar
      NetLoop initialization bug · 3c172c4f
      Michael Zaidman authored
      
      The patch fixes the bug of partial initialization of global network
      parameters.
      
      Upon u-boot's start up the first ping command causes a failure of the
      consequent TFTP command. It happens in the recently added mechanism of
      the NetLoop initialization where initialization of global network
      parameters is separated in the NetInitLoop routine which is called per
      env_id change. Thus, ping request will initialize the network parameters
      necessary for ping operation only, afterwards the env_changed_id will be
      set to the env_id that will prevent all following initialization requests
      from other protocols.
      The problem is that the initialized by ping subset of network parameters
      is not sufficient for other protocols and particularly for TFTP which
      requires the NetServerIp also.
      
      Signed-off-by: default avatarMichael Zaidman <michael.zaidman@gmail.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      3c172c4f
  15. Mar 20, 2009
  16. Feb 23, 2009
  17. Jan 29, 2009
  18. Dec 06, 2008
  19. Dec 05, 2008
  20. Oct 18, 2008
  21. Jul 13, 2008
  22. Jul 10, 2008
  23. Jun 05, 2008
  24. May 20, 2008
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      53677ef1
  25. Apr 29, 2008
    • Guennadi Liakhovetski's avatar
      net: make ARP timeout configurable · 40cb90ee
      Guennadi Liakhovetski authored
      
      Currently the timeout waiting for an ARP reply is hard set to 5 seconds.
      On i.MX31ADS due to a hardware "strangeness" up to four first IP packets
      to the boards get lost, which typically are ARP replies. By configuring
      the timeout to a lower value we significantly improve the first network
      transfer time on this board. The timeout is specified in milliseconds,
      later internally it is converted to deciseconds, because it has to be
      converted to hardware ticks, and CFG_HZ ranges from 900 to 27000000 on
      different boards.
      
      Signed-off-by: default avatarGuennadi Liakhovetski <lg@denx.de>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      40cb90ee
  26. Jan 04, 2008
  27. Nov 18, 2007
  28. Sep 11, 2007
Loading