Skip to content
Snippets Groups Projects
  1. Nov 17, 2010
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  2. Oct 12, 2010
  3. Dec 14, 2009
  4. 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
  5. Jul 23, 2009
    • Robin Getz's avatar
      Add DNS support · 1a32bf41
      Robin Getz authored
      On 04 Oct 2008 Pieter posted a dns implementation for U-Boot.
      
      http://www.mail-archive.com/u-boot-users@lists.sourceforge.net/msg10216.html
      
      
      >
      > DNS can be enabled by setting CFG_CMD_DNS. After performing a query,
      > the serverip environment var is updated.
      >
      > Probably there are some cosmetic issues with the patch. Unfortunatly I
      > do not have the time to correct these. So if anybody else likes DNS
      > support in U-Boot and has the time, feel free to patch it in the main tree.
      
      Here it is again - slightly modified & smaller:
        - update to 2009-06 (Pieter's patch was for U-Boot 1.2.0)
        - README.dns is added
        - syntax is changed (now takes a third option, the env var to store
          the result in)
        - add a random port() function in net.c
        - sort Makefile in ./net/Makefile
        - dns just returns unless a env var is given
        - run through checkpatch, and clean up style issues
        - remove packet from stack
        - cleaned up some comments
        - failure returns much faster (if server responds, don't wait for
          timeout)
        - use built in functions (memcpy) rather than byte copy.
      
      Signed-off-by: default avatarRobin Getz <rgetz@blackfin.uclinux.org>
      Signed-off-by: default avatarPieter Voorthuijsen <pieter.voorthuijsen@prodrive.nl>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      1a32bf41
  6. Feb 10, 2009
  7. Nov 15, 2007
  8. Oct 08, 2006
  9. Sep 01, 2006
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  10. Apr 01, 2005
    • Wolfgang Denk's avatar
      * Patch by Masami Komiya, 30 Mar 2005: · ea287deb
      Wolfgang Denk authored
        add SNTP support and expand time server and time offset fields of
        DHCP support. See doc/README.SNTP
      
      * Patch by Steven Scholz, 13 Dec 2004:
        Fix bug in at91rm920 ethernet driver
      ea287deb
  11. Feb 24, 2004
  12. 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
  13. Feb 24, 2002
  14. Jul 05, 2001
  15. Apr 28, 2001
  16. Dec 14, 2000
  17. Jul 10, 2000
Loading