Skip to content
Snippets Groups Projects
  1. Feb 12, 2013
  2. Jan 30, 2013
    • Gabor Juhos's avatar
      MIPS: add unified u-boot.lds file · cb5dbca8
      Gabor Juhos authored
      
      The patch adds an unified linker script file which
      can be used for all currently supported MIPS targets.
      
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Xiangfu Liu <xiangfu@openmobilefree.net>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      cb5dbca8
    • Gabor Juhos's avatar
      MIPS: remove OUTPUT_FORMAT from linker scripts · 9950b90d
      Gabor Juhos authored
      
      The OUTPUT_FORMAT command in linker scripts
      was always misused due to some endianess and
      toolchain problems.
      
      Use GCC flags to ensure proper output format,
      and get rid of the OUTPUT_FORMAT commands in
      the board specific u-boot.lds files.
      
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Xiangfu Liu <xiangfu@openmobilefree.net>
      9950b90d
  3. Oct 22, 2012
    • Marek Vasut's avatar
      common: Discard the __u_boot_cmd section · 8b493a52
      Marek Vasut authored
      
      The command declaration now uses the new LG-array method to generate
      list of commands. Thus the __u_boot_cmd section is now superseded and
      redundant and therefore can be removed. Also, remove externed symbols
      associated with this section from include/command.h .
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      8b493a52
    • Marek Vasut's avatar
      common: Add .u_boot_list into all linker files · 55675142
      Marek Vasut authored
      
      Add section for the linker-generated lists into all possible linker
      files, so that everyone can easily use these lists. This is mostly
      a mechanical adjustment.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      55675142
  4. Oct 16, 2012
    • Zhi-zhou Zhang's avatar
      MIPS: add board qemu-mips64 support · 32afad78
      Zhi-zhou Zhang authored
      
      Both big-endian and little-endian are tested with below commands:
      Rom version: (Default, Now we config it as rom version)
      qemu-system-mips64el -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic
      qemu-system-mips64 -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic
      Ram version:
      qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic
      qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic
      
      Signed-off-by: default avatarZhizhou Zhang <etou.zh@gmail.com>
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      32afad78
  5. May 09, 2011
  6. Sep 04, 2010
  7. Mar 20, 2009
    • 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
  8. Nov 18, 2008
  9. Jan 16, 2008
  10. Jan 12, 2008
    • 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
  11. Nov 17, 2007
  12. Oct 21, 2007
  13. Aug 31, 2005
  14. Oct 09, 2003
    • Wolfgang Denk's avatar
      * Patch by Steven Scholz, 10 Oct 2003 · 5da627a4
      Wolfgang Denk authored
        - Add support for Altera FPGA ACEX1K
      
      * Patches by Thomas Lange, 09 Oct 2003:
        - Endian swap ATA identity for all big endian CPUs, not just PPC
        - MIPS only: New option CONFIG_MEMSIZE_IN_BYTES for passing memsize
          args to linux
        - add support for dbau1x00 board (MIPS32)
      5da627a4
  15. Jun 27, 2003
    • Wolfgang Denk's avatar
      * Code cleanup: · 8bde7f77
      Wolfgang Denk 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
  16. Mar 27, 2003
  17. Mar 26, 2003
    • Wolfgang Denk's avatar
      * Patch by Rick Bronson, 16 Mar 2003: · dc7c9a1a
      Wolfgang Denk authored
        Add support for Atmel AT91RM9200DK w/NAND
      
      * Patches by Robert Schwebel, 19 Mar 2003:
        - use arm-linux-gcc as default compiler for ARM
        - fix i2c fixup code
        - fix missing baudrate setting
        - added $loadaddr / CFG_LOAD_ADDR support to loadb
        - moved "ignoring trailing characters" _before_ u-boot wants to
          print out diagnostics messages; removes bogus characters at the
          end of transmission
      
      * Patch by John Zhan, 18 Mar 2003:
        Add support for SinoVee Microsystems SC8xx boards
      
      * Patch by Rolf Offermanns, 21 Mar 2003:
        ported the dnp1110 related changes from the current armboot cvs to
        current u-boot cvs. smc91111 does not work. problem marked in
        smc91111.c, grep for "FIXME".
      
      * Patch by Brian Auld, 25 Mar 2003:
        Add support for STM flash chips on ebony board
      
       * Add PCI support for MPC8250 Boards (PM825 module)
      
       * Patch by Stefan Roese, 25 Mar 2003:
      dc7c9a1a
  18. Mar 06, 2003
    • Wolfgang Denk's avatar
      * Patches by David Mller, 31 Jan 2003: · 1cb8e980
      Wolfgang Denk authored
        - minimal setup for CardBus bridges
        - add EEPROM read/write support in the CS8900 driver
        - add support for the builtin I2C controller in the Samsung s3c24x0 chips
        - add support for  MPL's VCMA9 (Samsung s3c2410 based) board
      
      * Patch by Steven Scholz, 04 Feb 2003:
        add support for RTC DS1307
      
      * Patch by Reinhard Meyer, 5 Feb 2003:
        fix PLPRCR/SCCR init sequence on 8xx to allow for
        changes of EBDF by software
      
      * Patch by Vladimir Gurevich, 07 Feb 2003:
        "API-compatibility patch" for 4xx I2C driver
      1cb8e980
  19. Nov 03, 2002
  20. Oct 26, 2002
  21. Sep 24, 2002
  22. Aug 27, 2002
  23. Dec 28, 2000
  24. Dec 14, 2000
  25. Nov 12, 2000
Loading