Skip to content
Snippets Groups Projects
  1. Nov 27, 2010
    • Wolfgang Denk's avatar
      86xx: Cleanup for partial linking and --gc-sections · 4e2894be
      Wolfgang Denk authored
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      4e2894be
    • Wolfgang Denk's avatar
      83xx: Cleanup for partial linking and --gc-sections · ff2311ab
      Wolfgang Denk authored
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Haiying Wang <r54964@freescale.com>
      ff2311ab
    • Stefan Roese's avatar
      ppc4xx/NAND: Reduce size of NAND SPL image · c5d02825
      Stefan Roese authored
      
      This is needed for the canyonlands_nand build target. Without it
      the resulting image won't fit into 4k.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Acked-by: default avatarScott Wood <scottwood@freescale.com>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      c5d02825
    • Wolfgang Denk's avatar
      ppc4xx: Cleanup for partial linking and --gc-sections · ee8028b7
      Wolfgang Denk authored
      
      This commit adapts 4xx boards for partial linking with --gc-sections.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Tirumala Marri <tmarri@apm.com>
      Cc: David Updegraff <dave@cray.com>
      Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: Larry Johnson <lrj@acm.org>
      Cc: Peter De Schrijver <p2@mind.be>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      Cc: Daniel Poirot <dan.poirot@windriver.com>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      ee8028b7
    • Wolfgang Denk's avatar
      POWERPC: enable --gc-sections and -ffunction-sections -fdata-sections · c08e5cf7
      Wolfgang Denk authored
      
      The switch from archive libraries to partial linking has introduced a
      number of problems, that are non-trivial to solve.  For example, it is
      no longer possible to include individual object files in the linker
      script as we did before for example in the case of boards with
      embedded environment to fill up the gap caused by the need to align
      the environment on flash erase block boundaries.
      
      The best (but unfortunately not easiest) approach to address this
      problem is to enable -ffunction-sections (and -fdata-sections) so
      we can again (and even in much finer granularity) place certain code
      where we want it.  When doing this step, it seems only consequent to
      also add --gc-sections which has the added benefit of reducing the
      memory footprint of the U-Boot image (both in flash and in RAM).
      
      Unfortunately, this requires changes to a lot of linker scripts.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Andy Fleming <afleming@gmail.com>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      c08e5cf7
    • Scott Wood's avatar
      83xx: Fix NAND_SPL link address · f1c574d4
      Scott Wood authored
      
      Apply the same fix for 83xx as was done for 85xx in commit
      96196a1f.
      
      Without this, NAND SPLs are built with the text base intended for the main
      image, resulting in a broken, very large u-boot-nand.bin.
      
      The block of defines for NAND boot is moved closer to where
      CONFIG_SYS_TEXT_BASE is defined.  We can't directly use
      CONFIG_SYS_NAND_U_BOOT_DST in the definition of CONFIG_SYS_TEXT_BASE because
      autoconf.mk will include the literal text "CONFIG_SYS_NAND_U_BOOT_DST",
      but at least keep them close and point out that they're supposed to be
      the same.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      f1c574d4
  2. Nov 26, 2010
  3. Nov 24, 2010
  4. Nov 20, 2010
  5. Nov 19, 2010
Loading