1. 30 Jul, 2014 2 commits
    • Masahiro Yamada's avatar
      Add board MAINTAINERS files · 93d4334f
      Masahiro Yamada authored
      We have switched to Kconfig and the boards.cfg file is going to
      be removed. We have to retrieve the board status and maintainers
      information from it.
      
      The MAINTAINERS format as in Linux Kernel would be nice
      because we can crib the scripts/get_maintainer.pl script.
      
      After some discussion, we chose to put a MAINTAINERS file under each
      board directory, not the top-level one because we want to collect
      relevant information for a board into a single place.
      
      TODO:
      Modify get_maintainer.pl to scan multiple MAINTAINERS files.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: default avatarTom Rini <trini@ti.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      93d4334f
    • Masahiro Yamada's avatar
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada authored
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      dd84058d
  2. 31 Oct, 2013 1 commit
  3. 24 Jul, 2013 1 commit
  4. 30 Jan, 2013 2 commits
    • Gabor Juhos's avatar
      MIPS: dbau1x00: remove custom u-boot.lds script · f42d796b
      Gabor Juhos authored
      Remove the board specific linker script. It is not
      needed anymore, the unified MIPS linker script can
      be used instead.
      
      All dbau1x00 targets are producing identical binary
      images after the change than before.
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      f42d796b
    • 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
  5. 22 Oct, 2012 2 commits
    • 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
  6. 09 May, 2011 1 commit
  7. 05 Feb, 2011 1 commit
  8. 17 Nov, 2010 1 commit
    • 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
  9. 18 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk authored
      The change is currently needed to be able to remove the board
      configuration scripting from the top level Makefile and replace it by
      a simple, table driven script.
      
      Moving this configuration setting into the "CONFIG_*" name space is
      also desirable because it is needed if we ever should move forward to
      a Kconfig driven configuration system.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      14d0a02a
  10. 04 Sep, 2010 1 commit
  11. 13 Apr, 2010 1 commit
  12. 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
  13. 18 Nov, 2008 1 commit
  14. 18 Oct, 2008 1 commit
  15. 12 Jun, 2008 1 commit
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      MPC8641HPCN.
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
      9973e3c6
  16. 05 Jun, 2008 1 commit
  17. 29 May, 2008 1 commit
  18. 18 Apr, 2008 1 commit
  19. 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
  20. 17 Nov, 2007 2 commits
  21. 21 Oct, 2007 3 commits
  22. 08 Oct, 2006 1 commit
  23. 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
  24. 11 Apr, 2006 1 commit
    • Heiko Schocher's avatar
      * Fix dbau1x00 Board · ad88297e
      Heiko Schocher authored
        - Fix dbau1x00 boards broken by dbau1550 patch
          PLL:s were not set for boards other than 1550.
          Flash CFI caused card to hang due to undefined CFG_FLASH_BANKS_LIST.
          Default boot is now bootp for cards other than 1550.
        Patch by Thomas Lange Aug 10 2005
      ad88297e
  25. 31 Aug, 2005 1 commit
  26. 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
  27. 22 Jan, 2005 1 commit
  28. 09 Jan, 2005 1 commit
    • wdenk's avatar
      * Patch by Leif Lindholm, 23 Sep 2004: · ff36fd85
      wdenk authored
        add support for the AMD db1550 board
      
      * Patch by Travis Sawyer, 15 Sep 2004:
        Add CONFIG_SERIAL_MULTI support for ppc4xx,
        update README.serial_multi
      ff36fd85
  29. 11 Oct, 2004 2 commits
  30. 09 Jun, 2004 1 commit
  31. 04 Jan, 2004 1 commit
  32. 02 Jan, 2004 1 commit
    • wdenk's avatar
      * Patch by Andr Schwarz, 8 Dec 2003: · 63f34912
      wdenk authored
        fixes for Davicom DM9102A Ethernet Chip (#define CONFIG_TULIP_FIX_DAVICOM):
        - TX and RX deskriptors must be quad-word aligned
        - does not work with only one TX deskriptor
        - standard reset method does not work
      
      * Patch by Masami Komiya, 08 Dec 2003:
        add RTL8139 ethernet driver
      
      * Patches by Ed Okerson, 07 Dec 2003:
        - fix ethernet for the AU1x00 processors in little-endian mode.
        - extend memsetup.S for the AU1x00 processors in BE and LE modes
      63f34912
  33. 07 Dec, 2003 1 commit
    • wdenk's avatar
      * Patches by David Mller, 14 Nov 2003: · a2663ea4
      wdenk authored
        - board/mpl/common/common_util.c
          * implement support for BZIP2 compressed images
          * various cleanups (printf -> puts, ...)
        - board/mpl/common/flash.c
          * report correct errors to upper layers
          * check the erase fail and VPP low bits in status reg
        - board/mpl/vcma9/cmd_vcma9.c
        - board/mpl/vcma9/flash.c
          * various cleanups (printf -> puts, ...)
        - common/cmd_usb.c
          * fix typo in comment
        - cpu/arm920t/usb_ohci.c
          * support for S3C2410 is missing in #if line
        - drivers/cs8900.c
          * reinit some registers in case of error (cable missing, ...)
        - fs/fat/fat.c
          * support for USB/MMC devices is missing in #if line
        - include/configs/MIP405.h
        - include/configs/PIP405.h
          * enable BZIP2 support
          * enlarge malloc space to 1MiB because of BZIP2 support
        - include/configs/VCMA9.h
          * enable BZIP2 support
          * enlarge malloc space to 1MiB because of BZIP2 support
          * enable USB support
        - lib_arm/armlinux.c
          * change calling convention of ARM Linux kernel as
            described on http://www.arm.linux.org.uk/developer/booting.php
      
      * Patch by Thomas Lange, 14 Nov 2003:
        Split dbau1x00 into dbau1000, dbau1100 and dbau1500 configs to
        support all these AMD boards.
      
      * Patch by Thomas Lange, 14 Nov 2003:
        Workaround for mips au1x00 physical memory accesses (the au1x00
        uses a 36 bit bus internally and cannot access physical memory
        directly. Use the uncached SDRAM address instead of the physical
        one.)
      a2663ea4