1. 12 Jun, 2009 1 commit
  2. 20 Mar, 2009 1 commit
    • Trent Piepho's avatar
      Fix all linker script to handle all rodata sections · f62fb999
      Trent Piepho authored
      A recent gcc added a new unaligned rodata section called '.rodata.str1.1',
      which needs to be added the the linker script.  Instead of just adding this
      one section, we use a wildcard ".rodata*" to get all rodata linker section
      gcc has now and might add in the future.
      
      However, '*(.rodata*)' by itself will result in sub-optimal section
      ordering.  The sections will be sorted by object file, which causes extra
      padding between the unaligned rodata.str.1.1 of one object file and the
      aligned rodata of the next object file.  This is easy to fix by using the
      SORT_BY_ALIGNMENT command.
      
      This patch has not be tested one most of the boards modified.  Some boards
      have a linker script that looks something like this:
      
      *(.text)
      . = ALIGN(16);
      *(.rodata)
      *(.rodata.str1.4)
      *(.eh_frame)
      
      I change this to:
      
      *(.text)
      . = ALIGN(16);
      *(.eh_frame)
      *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
      
      This means the start of rodata will no longer be 16 bytes aligned.
      However, the boundary between text and rodata/eh_frame is still aligned to
      16 bytes, which is what I think the real purpose of the ALIGN call is.
      Signed-off-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
      f62fb999
  3. 18 Nov, 2008 1 commit
  4. 18 Oct, 2008 1 commit
  5. 10 Sep, 2008 1 commit
  6. 02 Jul, 2008 1 commit
  7. 20 May, 2008 1 commit
    • 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
  8. 12 Jan, 2008 1 commit
    • Wolfgang Denk's avatar
      Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections · 64134f01
      Wolfgang Denk authored
      With recent toolchain versions, some boards would not build because
      or errors like this one (here for ocotea board when building with
      ELDK 4.2 beta):
      ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab]
      
      For many boards, the .bss section is big enough that it wraps around
      at the end of the address space (0xFFFFFFFF), so the problem will not
      be visible unless you use a 64 bit tool chain for development. On
      some boards however, changes to the code size (due to different
      optimizations) we bail out with section overlaps like above.
      
      The fix is to add the NOLOAD attribute to the .bss and .sbss
      sections, telling the linker that .bss does not consume any space in
      the image.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      64134f01
  9. 08 Oct, 2006 1 commit
  10. 01 Sep, 2006 1 commit
    • 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
  11. 31 Mar, 2006 1 commit
  12. 31 Aug, 2005 1 commit
  13. 02 Apr, 2005 1 commit
    • wdenk's avatar
      Prepare for SoC rework of ARM code: · 400558b5
      wdenk authored
      - rename CONFIG_BOOTBINFUNC into  CONFIG_INIT_CRITICAL
      - rename memsetup into lowlevel_init (function name and source files)
      400558b5
  14. 10 Oct, 2004 1 commit
  15. 08 Feb, 2004 1 commit
    • wdenk's avatar
      Patch by Anders Larsen, 09 Jan 2004: · f6e20fc6
      wdenk authored
      ARM memory layout fixes: the abort-stack is now set up in the
      correct RAM area, and the BSS is zeroed out as it should be.
      
      Furthermore, the magic variables 'armboot_end' and 'armboot_end_data'
      of the linker scripts are replaced by '__bss_start' and '_end',
      resp., which is a further step to eliminate unnecessary differences
      between the implementation of the CPU architectures.
      f6e20fc6
  16. 20 Jan, 2004 1 commit
    • wdenk's avatar
      * The PS/2 mux on the BMS2003 board needs 450 ms after power on · c837dcb1
      wdenk authored
        before we can access it; add delay in case we are faster (with no
        CF card inserted)
      
      * Cleanup of some init functions
      
      * Make sure SCC Ethernet is always stopped by the time we boot Linux
        to avoid Linux crashes by early packets coming in.
      
      * Accelerate flash accesses on LWMON board by using buffered writes
      c837dcb1
  17. 18 Sep, 2003 1 commit
    • wdenk's avatar
      * Patches by Anders Larsen, 17 Sep 2003: · 5f535fe1
      wdenk authored
        - fix spelling errors
        - set GD_FLG_DEVINIT flag only after device function pointers
          are valid
        - Allow CFG_ALT_MEMTEST on systems where address zero isn't
          writeable
        - enable 3.rd UART (ST-UART) on PXA(XScale) CPUs
        - trigger watchdog while waiting in serial driver
      5f535fe1
  18. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
      8bde7f77
  19. 15 Jun, 2003 1 commit
    • wdenk's avatar
      * Fix CONFIG_NET_MULTI support in include/net.h · 71f95118
      wdenk authored
      * Patches by Kyle Harris, 13 Mar 2003:
        - Add FAT partition support
        - Add command support for FAT
        - Add command support for MMC
        ----
        - Add Intel PXA support for video
        - Add Intel PXA support for MMC
        ----
        - Enable MMC and FAT for lubbock board
        - Other misc changes for lubbock board
      71f95118
  20. 30 May, 2003 1 commit
  21. 23 May, 2003 1 commit
  22. 14 Mar, 2003 1 commit
    • wdenk's avatar
      * Avoid flicker on the TRAB's VFD by synchronizing the enable with · 06d01dbe
      wdenk authored
        the HSYNC/VSYNC. Requires new CPLD code (Version 101 for Rev. 100
        boards, version 153 for Rev. 200 boards).
      
      * Patch by Vladimir Gurevich, 12 Mar 2003:
        Fix relocation problem of statically initialized string pointers
        in common/cmd_pci.c
      
      * Patch by Kai-Uwe Blöm, 12 Mar 2003:
        Cleanup & bug fixes for JFFS2 code:
        - the memory mangement was broken. It caused havoc on malloc by
          writing beyond the block boundaries.
        - the length calculation for files was wrong, sometimes resulting
          in short file reads.
        - data copying now optionally takes fragment version numbers into
          account, to avoid copying from older data.
        See doc/README.JFFS2 for details.
      06d01dbe
  23. 06 Mar, 2003 2 commits
    • wdenk's avatar
      * Patches by Robert Schwebel, 06 Mar 2003: · 47cd00fa
      wdenk authored
        - fix bug in BOOTP code (must use NetCopyIP)
        - update of CSB226 port
        - clear BSS segment on XScale
        - added support for i2c_init_board() function
        - update to the Innokom plattform
      
      * Extend support for redundand environments for configurations where
        environment size < sector size
      47cd00fa
    • wdenk's avatar
      * Patch by Rune Torgersen, 13 Feb 2003: · db2f721f
      wdenk authored
        Add support for Motorola MPC8266ADS board
      
      * Patch by Kyle Harris, 19 Feb 2003:
        patches for the Intel lubbock board:
        memsetup.S - general cleanup (based on Robert's csb226 code)
        flash.c - overhaul, actually works now
        lubbock.c - fix init funcs to return proper value
      
      * Patch by Kenneth Johansson, 26 Feb 2003:
        - Fixed off by one in RFTA calculation.
        - No need to abort when LDF is lower than we can program it's only
          minimum timing so clamp it to what we can do.
        - Takes function pointer to function for reading the spd_nvram. Usefull
          for faking data or hardcode a module without the nvram.
        - fix other user for above change
        - fix some comments.
      
      * Patches by Brian Waite, 26 Feb 2003:
        - fix port for evb64260 board
        - fix PCI for evb64260 board
        - fix PCI scan
      
      * Patch by Reinhard Meyer, 1 Mar 2003:
        Add support for EMK TOP860 Module
      
      * Patch by Yuli Barcohen, 02 Mar 2003:
        Add SPD EEPROM support for MPC8260ADS board
      db2f721f
  24. 03 Nov, 2002 1 commit
  25. 26 Oct, 2002 2 commits
  26. 11 Oct, 2002 1 commit
  27. 10 Sep, 2002 1 commit
  28. 14 Aug, 2002 1 commit