Skip to content
Snippets Groups Projects
  1. Oct 15, 2011
  2. Sep 13, 2011
  3. Sep 04, 2011
  4. Sep 03, 2011
  5. Aug 03, 2011
  6. Jul 17, 2011
  7. Jul 16, 2011
  8. Jul 04, 2011
  9. Jun 21, 2011
  10. May 18, 2011
  11. Apr 29, 2011
    • Scott Wood's avatar
      Handle most LDSCRIPT setting centrally · 83b7e2a7
      Scott Wood authored
      
      Currently, some linker scripts are found by common code in config.mk.
      Some are found using CONFIG_SYS_LDSCRIPT, but the code for that is
      sometimes in arch config.mk and sometimes in board config.mk.  Some
      are found using an arch-specific rule for looking in CPUDIR, etc.
      
      Further, the powerpc config.mk rule relied on CONFIG_NAND_SPL
      when it really wanted CONFIG_NAND_U_BOOT -- which covered up the fact
      that not all NAND_U_BOOT builds actually wanted CPUDIR/u-boot-nand.lds.
      
      Replace all of this -- except for a handful of boards that are actually
      selecting a linker script in a unique way -- with centralized ldscript
      finding.
      
      If board code specifies LDSCRIPT, that will be used.
      Otherwise, if CONFIG_SYS_LDSCRIPT is specified, that will be used.
      
      If neither of these are specified, then the central config.mk will
      check for the existence of the following, in order:
      
      $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT)
      $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT)
      $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
      $(TOPDIR)/$(CPUDIR)/u-boot.lds
      
      Some boards (sc3, cm5200, munices) provided their own u-boot.lds that
      were dead code, because they were overridden by a CPUDIR u-boot.lds under
      the old powerpc rules.  These boards' own u-boot.lds have bitrotted and
      no longer work -- these lds files have been removed.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      Tested-by: default avatarGraeme Russ <graeme.russ@gmail.com>
      83b7e2a7
  12. Mar 27, 2011
  13. Dec 07, 2010
  14. Nov 17, 2010
    • 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
  15. Oct 19, 2010
    • Andreas Bießmann's avatar
      at91rm9200ek: convert to at91 · 99fa97e9
      Andreas Bießmann authored
      
      This patch removes some functionality from at91rm9200ek board but the
      remaining functionality does now work with newer at91 code and
      arm-relocation.
      
      Currently missing features are:
       - dataflash booting (due to missing HW for testing)
       - MMC/SD-Card
       - first stage bootloader support is completely removed (not needed for
         NOR)
      
      Cause this board was (some days ago) reference for all at91rm9200 based
      boards this should be a good starting point to convert all remaining
      at91rm9200 borads to at91 code. Aside from that this is a good base to
      get some drivers between at91sam/at91rm/avr32 merged.
      
      Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
      Signed-off-by: default avatarReinhard Meyer <u-boot@emk-elektronik.de>
      99fa97e9
  16. Oct 18, 2010
    • 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
  17. Sep 03, 2010
    • Haavard Skinnemoen's avatar
      avr32: Add simple paging support · 1f36f73f
      Haavard Skinnemoen authored
      
      Use the MMU hardware to set up 1:1 mappings between physical and virtual
      addresses. This allows us to bypass the cache when accessing the flash
      without having to do any physical-to-virtual address mapping in the CFI
      driver.
      
      The virtual memory mappings are defined at compile time through a sorted
      array of virtual memory range objects. When a TLB miss exception
      happens, the exception handler does a binary search through the array
      until it finds a matching entry and loads it into the TLB. The u-boot
      image itself is covered by a fixed TLB entry which is never replaced.
      
      This makes the 'saveenv' command work again on ATNGW100 and other boards
      using the CFI driver, hopefully without breaking any rules.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      1f36f73f
    • Haavard Skinnemoen's avatar
      avr32: Use uncached() macro to get an address for SDRAM init · 9cec2fc2
      Haavard Skinnemoen authored
      
      The paging system which is required to set up caching properties has not
      yet been initialized when the SDRAM is initialized. So when the
      map_physmem() function is converted to return the physical address
      unchanged, the SDRAM initialization will break on some boards.
      
      The avr32-specific uncached() macro will return an address which will
      always cause uncached accessed to be made. Since this happens in the
      board code, using avr32-specific features should be ok, and will allow
      the SDRAM initialization to keep working.
      
      Signed-off-by: default avatarHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
      9cec2fc2
  18. Jul 12, 2010
  19. Jun 30, 2010
  20. Jun 29, 2010
  21. Mar 07, 2010
  22. Feb 12, 2010
  23. Feb 01, 2010
  24. Dec 07, 2009
  25. Sep 01, 2009
  26. Jul 12, 2009
  27. Jul 06, 2009
  28. Jun 21, 2009
Loading