Skip to content
Snippets Groups Projects
  1. Mar 20, 2009
  2. 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
  3. Oct 18, 2008
  4. Sep 03, 2008
  5. Jul 09, 2008
    • Andrew Klossner's avatar
      Fix printf errors. · dc4b0b38
      Andrew Klossner authored
      
      The compiler will help find mismatches between printf formats and
      arguments if you let it.  This patch adds the necessary attributes to
      declarations in include/common.h, then begins to correct the resulting
      compiler warnings.  Some of these were bugs, e.g., "$d" instead of
      "%d" and incorrect arguments.  Others were just annoying, like
      int-long mismatches on a system where both are 32 bits.  It's worth
      fixing the annoying errors to catch the real ones.
      
      Signed-off-by: default avatarAndrew Klossner <andrew@cesa.opbu.xerox.com>
      dc4b0b38
  6. Feb 14, 2008
  7. Feb 04, 2008
  8. Nov 18, 2007
  9. Aug 31, 2007
    • Wolfgang Denk's avatar
      Fix TFTP OACK code for short packets. · 60174746
      Wolfgang Denk authored
      
      The old code had a loop limit overflow bug which caused a semi-
      infinite loop for small packets, because in "i<len-8", "i" was signed,
      but "len" was unsigned, and "len-8" became a huge number for small
      values of "len".
      
      This is a workaround which replaces broken commit 8f1bc284.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      60174746
  10. Aug 30, 2007
  11. Aug 29, 2007
  12. Aug 15, 2007
  13. Aug 14, 2007
  14. Jul 10, 2007
  15. Jul 09, 2007
  16. Jul 03, 2007
  17. Aug 14, 2006
  18. Oct 13, 2005
  19. Oct 11, 2005
  20. Sep 24, 2005
  21. Aug 25, 2005
  22. Aug 03, 2005
  23. Apr 15, 2004
  24. Mar 23, 2004
    • Wolfgang Denk's avatar
      * Patches by Thomas Viehweger, 16 Mar 2004: · 4b9206ed
      Wolfgang Denk authored
        - show PCI clock frequency on MPC8260 systems
        - add FCC_PSMR_RMII flag for HiP7 processors
        - in do_jffs2_fsload(), take load address from load_addr if not set
          explicit, update load_addr otherwise
        - replaced printf by putc/puts when no formatting is needed
          (smaller code size, faster execution)
      4b9206ed
  25. Feb 23, 2004
    • Wolfgang Denk's avatar
      * Patch by Laurent Mohin, 10 Feb 2004: · cd0a9de6
      Wolfgang Denk authored
        Fix buffer overflow in common/usb.c
      
      * Patch by Tolunay Orkun, 10 Feb 2004:
        Add support for Cogent CSB272 board
      
      * Code cleanup
      cd0a9de6
    • Wolfgang Denk's avatar
      * CVS add missing files · 3f85ce27
      Wolfgang Denk authored
      * Cleanup compiler warnings
      
      * Fix problem with side effects in macros in include/usb.h
      
      * Patch by David Benson, 13 Nov 2003:
        bug 841358 - fix TFTP download size limit
      
      * Fixing bug 850768:
        improper flush_cache() in load_serial()
      
      * Fixing bug 834943:
        MPC8540 - missing volatile declarations
      
      * Patch by Stephen Williams, 09 Feb 2004:
        Add support for Xilinx SystemACE chip:
        - New files common/cmd_ace.c and include/systemace.h
        - Hook systemace support into cmd_fat and the partition manager
      
      * Patch by Travis Sawyer, 09 Feb 2004:
        Add bi_opbfreq & bi_iic_fast to 440GX bd_info as needed for Linux
      3f85ce27
  26. Nov 17, 2003
    • Wolfgang Denk's avatar
      * Use "-fPIC" instead of "-mrelocatable" to prevent problems with · 5bb226e8
      Wolfgang Denk authored
        recent tools
      
      * Add checksum verification to 'imls' command
      
      * Add bd_info fields needed for 4xx Linux I2C driver
      
      * Patch by Martin Krause, 4 Nov. 2003:
        Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap)
      
      * Print used network interface when CONFIG_NET_MULTI is set
      5bb226e8
  27. Oct 06, 2003
    • Wolfgang Denk's avatar
      * Update TRAB auto update code · fbe4b5cb
      Wolfgang Denk authored
      * Make fatload set filesize environment variable
        fix potential buffer overlow problem
      
      * enable basic / medium / high-end configurations for PPChameleonEVB
        board; fix NAND code
      
      * enable TFTP client code to specify to the server the desired
        timeout value (see RFC-2349)
      fbe4b5cb
  28. Aug 17, 2003
    • Wolfgang Denk's avatar
      * Make Ethernet autonegotiation on INCA-IP work for all clock rates; · e0ac62d7
      Wolfgang Denk authored
        allow selection of clock frequency as "make" target
      
      * Implement memory autosizing code for IceCube boards
      
      * Configure network port on INCA-IP for autonegotiation
      
      * Fix overflow problem in network timeout code
      
      * Patch by Richard Woodruff, 8 Aug 2003:
        Allow crc32 to be used at address 0x000 (crc32_no_comp, too).
      e0ac62d7
  29. Jun 05, 2003
    • Wolfgang Denk's avatar
      * Add support for RMU board · 73a8b27c
      Wolfgang Denk authored
      * Add support for TQM862L at 100/50 MHz
      
      * Patch by Pantelis Antoniou, 02 Jun 2003:
        major reconstruction of networking code;
        add "ping" support (outgoing only!)
      73a8b27c
  30. Nov 03, 2002
Loading