Skip to content
Snippets Groups Projects
  1. Oct 12, 2010
    • Peter Tyser's avatar
      examples/standalone: Use gcc's -fno-toplevel-reorder · c91d456c
      Peter Tyser authored
      
      Using -fno-toplevel-reorder causes gcc to not reorder functions.  This
      ensures that an application's entry point will be the first function in
      the application's source file.
      
      This change, along with commit 620bbba5
      should cause a standalone application's entry point to be at the base of
      the compiled binary.  Previously, the entry point could change depending
      on gcc version and flags.
      
      Note -fno-toplevel-reorder is only available in gcc version 4.2 or
      greater.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      c91d456c
  2. Jun 29, 2010
    • Peter Tyser's avatar
      examples/standalone: Remove relocation compile flags for PowerPC · 620bbba5
      Peter Tyser authored
      
      Previously, standalone applications were compiled with gcc flags that
      produced relocatable executables on the PowerPC architecture (eg with
      the -mrelocatable and -fPIC flags).  There's no reason for these
      applications to be fully relocatable at this time since no relocation
      fixups are performed on standalone applications.
      
      Additionally, removing the gcc relocation flags results in the entry
      point of applications residing at the base of the image.  When
      a standalone application was relocatable, the entry point was generally
      located at an offset into the image which was confusing and prone to
      errors.
      
      This change moves the entry point of PowerPC standalone applications
      from 0x40004 (usually) to 0x40000.
      
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      620bbba5
  3. Dec 02, 2009
    • Sanjeev Premi's avatar
      Fix build failure in examples/standalone · 604f7ce5
      Sanjeev Premi authored
      
      Some versions of 'make' do not handle trailing white-spaces
      properly. Trailing spaces in ELF causes a 'fake' source to
      be added to the variable COBJS; leading to build failure
      (listed below). The problem was found with GNU Make 3.80.
      
      Using text-function 'strip' as a workaround for the problem.
      
      make[1]: Entering directory `/home/sanjeev/u-boot/examples/standalone'
      arm-none-linux-gnueabi-gcc -g  -Os   -fno-common -ffixed-r8 -msoft-float
      -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanjeev/u-boot/include
      -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/2009q1-
      203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/include -pipe  -DCONFIG_
      ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv5
      -Wall -Wstrict-prototypes -fno-stack-protector -g  -Os   -fno-common -ff
      ixed-r8 -msoft-float   -D__KERNEL__ -DTEXT_BASE=0x80e80000 -I/home/sanje
      ev/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/co
      desourcery/2009q1-203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/includ
      e -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-inte
      rwork -march=armv5 -I.. -Bstatic -T u-boot.lds  -Ttext 0x80e80000 -o .c
      arm-none-linux-gnueabi-gcc: no input files
      make[1]: *** [.c] Error 1
      make[1]: Leaving directory `/home/sanjeev/u-boot/examples/standalone'
      make: *** [examples/standalone] Error 2
      premi #
      
      Signed-off-by: default avatarSanjeev Premi <premi@ti.com>
      
      Fixed typo (s/ElF/ELF/).
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      604f7ce5
  4. Oct 03, 2009
    • Mike Frysinger's avatar
      standalone: convert to kbuild style · c0072e6c
      Mike Frysinger authored
      
      Clean up the arch/cpu/board/config checks as well as redundant setting of
      srec/bin variables by using the kbuild VAR-$(...) style.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      c0072e6c
    • Mike Frysinger's avatar
      push LOAD_ADDR out to arch mk files · 8eb7e280
      Mike Frysinger authored
      
      Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in
      the standalone Makefile, push the setting up of LOAD_ADDR out to the arch
      config.mk (and rename to STANDALONE_LOAD_ADDR in the process).  This keeps
      the common code clean and lets the arch do whatever crazy crap it wants in
      its own area.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      8eb7e280
    • Mike Frysinger's avatar
      atmel_df_pow2: standalone to convert dataflashes to pow2 · 2c17527f
      Mike Frysinger authored
      
      Atmel DataFlashes by default operate with pages that are slightly bigger
      than normal binary sizes (i.e. many are 1056 byte pages rather than 1024
      bytes).  However, they also have a "power of 2" mode where the pages show
      up with the normal binary size.  The latter mode is required in order to
      boot with a Blackfin processor, so many people wish to convert their
      DataFlashes on their development systems to this mode.  This standalone
      application does just that.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      2c17527f
  5. Sep 15, 2009
  6. Sep 04, 2009
    • Mike Frysinger's avatar
      push LOAD_ADDR out to arch mk files · 262ae0a6
      Mike Frysinger authored
      
      Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in
      the standalone Makefile, push the setting up of LOAD_ADDR out to the arch
      config.mk (and rename to STANDALONE_LOAD_ADDR in the process).  This keeps
      the common code clean and lets the arch do whatever crazy crap it wants in
      its own area.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      262ae0a6
    • Mike Frysinger's avatar
      atmel_df_pow2: standalone to convert dataflashes to pow2 · 65f6f07b
      Mike Frysinger authored
      
      Atmel DataFlashes by default operate with pages that are slightly bigger
      than normal binary sizes (i.e. many are 1056 byte pages rather than 1024
      bytes).  However, they also have a "power of 2" mode where the pages show
      up with the normal binary size.  The latter mode is required in order to
      boot with a Blackfin processor, so many people wish to convert their
      DataFlashes on their development systems to this mode.  This standalone
      application does just that.
      
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      65f6f07b
  7. Aug 08, 2009
    • Michael Evans's avatar
      Fix examples for OMAP3 boards... · 61c68ae0
      Michael Evans authored
      
      The attached patch corrects an error in the examples/Makefile which
      causes the applications in the examples directory to hang on OMAP3
      based boards. The current Makefile sets -Ttext during linking to
      0x0c100000 which is outside of addressable SDRAM memory. The script
      corrects the existing ifeq...else...endif logic to look at the VENDOR
      tag rather than the CPU tag.
      
      The patch affects the following configs: omap3_beagle_config,
      omap3_overo_config, omap3_evm_config, omap3_pandora_config,
      omap3_zoom1_config and omap3_zoom2_config.
      
      Signed-off-by: default avatarMichael Evans <horse_dung@hotmail.com>
      
      Edited commit message.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      61c68ae0
  8. Jul 20, 2009
  9. Feb 23, 2009
  10. Jan 24, 2009
  11. Aug 31, 2008
  12. Apr 08, 2008
  13. Mar 04, 2008
  14. Mar 02, 2008
    • Woodruff, Richard's avatar
      Fix alignment error on ARM for modules · 118978c8
      Woodruff, Richard authored
      Fix alignment fault on ARM when running modules.  With out an explicit
      linker file gcc4.2.1 will half word align __bss_start's value.  The word
      dereference will crash hello_world.
      
      signed-off-by Richard Woodruff <r-woodruff2@ti.com>
      118978c8
  15. Feb 05, 2008
  16. May 13, 2007
  17. Mar 18, 2007
  18. Oct 24, 2006
  19. Oct 08, 2006
  20. 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
    • Detlev Zundel's avatar
  21. Jun 08, 2006
  22. Jun 02, 2006
  23. Apr 20, 2006
  24. Mar 12, 2006
    • Wolfgang Denk's avatar
      Add ADI Blackfin support · 0afe519a
      Wolfgang Denk authored
      - add support for Analog Devices Blackfin BF533 CPU
      - add support for the ADI BF533 Stamp uClinux board
      - add support for the ADI BF533 EZKit board
      Patches by Richard Klingler, June 11th 2005:
      0afe519a
  25. Jan 26, 2006
  26. May 16, 2005
  27. May 07, 2005
  28. Jan 09, 2005
  29. Oct 10, 2004
  30. Jul 10, 2004
    • Wolfgang Denk's avatar
      * Patch by Fred Klatt, 25 Jun 2004: · 8b07a110
      Wolfgang Denk authored
        Add support for WindRiver's SBC8560 board
      
      * Patch by Nicolas Lacressonniere, 24 Jun 2004
        Small Bugs fixes for "at91rm9200dk" board:
        - Timing modifications for SPI DataFlash access
        - Fix NAND flash detection bug
      
      * Patch by Nicolas Lacressonniere, 24 Jun 2004:
        Add Support for Flash AT49BV6416 for AT91RM9200DK board
      8b07a110
  31. May 19, 2004
  32. Apr 18, 2004
  33. Feb 12, 2004
    • Wolfgang Denk's avatar
      * Some code cleanup · bf9e3b38
      Wolfgang Denk authored
      * Patch by Josef Baumgartner, 10 Feb 2004:
        Fixes for Coldfire port
      
      * Patch by Brad Kemp, 11 Feb 2004:
        Fix CFI flash driver problems
      bf9e3b38
  34. Jan 03, 2004
Loading