1. 21 3月, 2009 1 次提交
    • T
      Fix all linker script to handle all rodata sections · f62fb999
      Trent Piepho 提交于
      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: NTrent Piepho <xyzzy@speakeasy.org>
      f62fb999
  2. 14 12月, 2008 1 次提交
  3. 24 10月, 2008 1 次提交
  4. 19 10月, 2008 1 次提交
  5. 05 9月, 2008 1 次提交
    • R
      ppc44x: Unification of virtex5 pp440 boards · e07f4a80
      Ricardo Ribalda Delgado 提交于
      This patch provides an unificated way of handling xilinx v5 ppc440 boards.
      
      It unificates 3 different things:
      
      1) Source code
      A new board called ppc440-generic has been created. This board includes
      a generic tlb initialization (Maps the whole memory into virtual) and
      defines board_pre_init, checkboard, initdram and get_sys_info weakly,
      so, they can be replaced by specific functions.
      
      If a new board needs to redefine any of the previous functions
      (specific initialization) it can create a new directory with the
      specific initializations needed. (see the example ml507 board).
      
      2) Configuration file
      Common configurations are located under configs/xilinx-ppc440.h, this
      header file interpretes the xparameters file generated by EDK and
      configurates u-boot in correspondence. Example: if there is a Temac,
      allows CMD_CONFIG_NET
      Specific configuration are located under specific configuration file.
      (see the example ml507 board)
      
      3) Makefile
      Some work has been done in order to not duplicate work in the Main
      Makefile. Please see the attached code.
      
      In order to support new boards they can be implemented in the next way:
      
      a) Simple Generic Board  (90% of the time)
      Using EDK generates a new xparameters.h file, replace
      ppc440-generic/xparameters.h  and run make xilinx-ppc440-generic_config
      && make
      
      b) Simple Boards with special u-boot parameters (9 % of the time)
      Create a new file under configs for it (use ml507.h as example) and
      change your paramaters. Create a new Makefile paragraph and compile
      
      c) Complex boards (1% of the time)
      Create a new folder for the board, like the ml507
      
      Finally, it adds support for the Avnet FX30T Evaluation board, following
      the new generic structure:
      
      Cheap board by Avnet for evaluating the Virtex5 FX technology.
      
      This patch adds support for:
       - UartLite
       - 16MB Flash
       - 64MB RAM
      
      Prior using U-boot in this board, read carefully the ERRATA by Avnet
      to solve some memory initialization issues.
      Signed-off-by: NRicardo Ribalda Delgado <ricardo.ribalda@uam.es>
      Signed-off-by: NStefan Roese <sr@denx.de>
      e07f4a80
  6. 30 7月, 2008 1 次提交
  7. 21 5月, 2008 1 次提交
    • W
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk 提交于
      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: NWolfgang Denk <wd@denx.de>
      53677ef1
  8. 18 4月, 2008 1 次提交
  9. 17 1月, 2008 1 次提交
  10. 13 1月, 2008 1 次提交
    • W
      Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections · 64134f01
      Wolfgang Denk 提交于
      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: NWolfgang Denk <wd@denx.de>
      64134f01
  11. 10 8月, 2007 1 次提交
  12. 15 6月, 2007 1 次提交
  13. 07 9月, 2006 1 次提交
    • S
      Add support for AMCC Sequoia PPC440EPx eval board · 887e2ec9
      Stefan Roese 提交于
      - Add support for PPC440EPx & PPC440GRx
      - Add support for PPC440EP(x)/GR(x) NAND controller
        in cpu/ppc4xx directory
      - Add NAND boot functionality for Sequoia board,
        please see doc/README.nand-boot-ppc440 for details
      - This Sequoia NAND image doesn't support environment
        in NAND for now. This will be added in a short while.
      Patch by Stefan Roese, 07 Sep 2006
      887e2ec9
  14. 12 12月, 2005 1 次提交
  15. 31 8月, 2005 1 次提交
  16. 28 6月, 2003 1 次提交
    • W
      * Code cleanup: · 8bde7f77
      wdenk 提交于
        - 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
  17. 26 6月, 2003 1 次提交
    • W
      * Header file cleanup for ARM · b783edae
      wdenk 提交于
      * Patch by Murray Jensen, 24 Jun 2003:
        - make sure to use only U-boot provided header files
        - fix problems with ".rodata.str1.4" section as used by GCC-3.x
      b783edae
  18. 05 8月, 2001 1 次提交
  19. 29 4月, 2001 1 次提交