Skip to content
Snippets Groups Projects
  1. Jun 15, 2009
  2. May 15, 2009
  3. Apr 27, 2009
  4. 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
  5. Mar 20, 2009
  6. Feb 23, 2009
  7. Feb 17, 2009
  8. Feb 10, 2009
  9. Jan 29, 2009
  10. Dec 06, 2008
  11. Dec 05, 2008
    • Peter Tyser's avatar
      net: Fix TftpStart() ip:filename bug · 6a86bb6c
      Peter Tyser authored
      
      The TftpStart() function modifies the 'BootFile'
      string when 'BootFile' contains both an IP address
      and filename (eg 1.2.3.4:/path/file). This causes
      subsequent calls to TftpStart to incorrectly parse
      the TFTP filename and server IP address to use.
      For example:
      
      => tftp 0x100000 10.52.0.62:/home/ptyser/non_existant
      Speed: 100, half duplex
      Using eTSEC1 device
      TFTP from server 10.52.0.62; our IP address is 10.52.253.79
                       ^^^^^^^^^^ CORRECT
      Filename '/home/ptyser/non_existant'.
                ^^^^^^^^^^^^^^^^^^^^^^^^^ CORRECT
      Load address: 0x100000
      Loading: *
      TFTP error: 'File not found' (1)
      Starting again
      
      eTSEC2: No link.
      Speed: 100, half duplex
      Using eTSEC1 device
      TFTP from server 10.52.0.33; our IP address is 10.52.253.79
                       ^^^^^^^^^^ WRONG
      Filename '10.52.0.62'.
                ^^^^^^^^^^ WRONG
      Load address: 0x100000
      Loading: *
      TFTP error: 'File not found' (1)
      Starting again
      
      TftpStart() was modified to not modify the 'BootFile' string.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      6a86bb6c
    • Peter Tyser's avatar
      net: Add additional IP fragmentation check · d32c5be5
      Peter Tyser authored
      
      Ignore IP packets which have the "more fragments" flag bit
      set.  This flag indicates the IP packet is fragmented and
      must be ignored by U-Boot.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      d32c5be5
    • Peter Tyser's avatar
      net: Define IP flag field values · e0c07b86
      Peter Tyser authored
      
      These defines were pulled from the "Add simple
      IP/UDP fragmentation support" patch from Frank
      Haverkamp <haver@vnet.ibm.com>.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      e0c07b86
  12. Nov 10, 2008
  13. Oct 18, 2008
  14. Sep 03, 2008
Loading