Skip to content
Snippets Groups Projects
  1. Mar 20, 2009
  2. Feb 23, 2009
  3. Feb 17, 2009
  4. Feb 10, 2009
  5. Jan 29, 2009
  6. Dec 06, 2008
  7. 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
  8. Nov 10, 2008
  9. Oct 18, 2008
  10. Sep 03, 2008
Loading