Skip to content
Snippets Groups Projects
  1. Nov 25, 2013
  2. Nov 17, 2013
  3. Nov 01, 2013
  4. Oct 31, 2013
  5. Sep 20, 2013
  6. Aug 28, 2013
  7. Aug 20, 2013
    • Ying Zhang's avatar
      TPL : introduce the TPL based on the SPL · 3aa29de0
      Ying Zhang authored
      
      Due to the nand SPL on some board(e.g. P1022DS)has a size limit, it can
      not be more than 4K. So, the SPL cannot initialize the DDR with the SPD
      code. This patch introduces TPL to enable a loader stub that is loaded
      by the code from the SPL. It initializes the DDR with the SPD or other
      operations.
      
      The TPL's size is sizeable, the maximum size is decided by the memory's
      size that TPL runs. It initializes the DDR through SPD code, and copys
      final uboot image to DDR. So there are three stage uboot images:
      	* spl_boot, * tpl_boot, * final uboot image
      
      Signed-off-by: default avatarYing Zhang <b40530@freescale.com>
      Acked-by: default avatarYork Sun <yorksun@freescale.com>
      3aa29de0
    • Ying Zhang's avatar
      powerpc: mpc85xx: Support booting from SD Card with SPL · bb0dc108
      Ying Zhang authored
      
      The code from the internal on-chip ROM. It loads the final uboot image
      into DDR, then jump to it to begin execution.
      
      The SPL's size is sizeable, the maximum size must not exceed the size of L2
      SRAM. It initializes the DDR through SPD code, and copys final uboot image
      to DDR. So there are two stage uboot images:
      	* spl_boot, 96KB size. The env variables are copied to L2 SRAM, so that
      	ddr spd code can get the interleaving mode setting in env. It loads
      	final uboot image from offset 96KB.
      	* final uboot image, size is variable depends on the functions enabled.
      
      Signed-off-by: default avatarYing Zhang <b40530@freescale.com>
      Acked-by: default avatarYork Sun <yorksun@freescale.com>
      bb0dc108
  8. Aug 19, 2013
    • Joel Fernandes's avatar
      SPL: Makefile: Build a separate autoconf.mk for SPL · 39bc12dd
      Joel Fernandes authored
      
      SPL defines CONFIG_SPL_BUILD but this does not percolate to the
      autoconf.mk Makefile.  As a result the build breaks when
      CONFIG_SPL_BUILD is used in the board-specific include header file. With
      this, there is a possibility of having a CONFIG option defined in the
      header file but not defined in the Makefile causing all kinds of build
      failure and problems.
      
      It also messes things for up, for example, when one might want to
      undefine options to keep the SPL small and doesn't want to be stuck with
      the CONFIG options used for U-boot.  Lastly, this also avoids defining
      special CONFIG_SPL_ variables for cases where some options are required
      in U-boot but not in SPL.
      
      We add a spl-autoconf.mk rule that is generated for SPL with the
      CONFIG_SPL_BUILD flag and conditionally include it for SPL builds.
      
      Signed-off-by: default avatarJoel Fernandes <joelf@ti.com>
      Signed-off-by: default avatarYing Zhang <b40530@freescale.com>
      39bc12dd
  9. Aug 15, 2013
  10. Jul 24, 2013
  11. Jun 04, 2013
  12. May 16, 2013
  13. May 05, 2013
  14. Apr 22, 2013
    • Stefan Roese's avatar
      imx: Move some i.MX common functions into the imx-common directory · 8870e459
      Stefan Roese authored
      
      This patch moves the following functions into the imx-common
      directory:
      
      - mxs_wait_mask_set()
      - mxs_wait_mask_clr()
      - mxs_reset_block()
      
      These are currently used by i.MX28. But the upcoming GPMI NAND port
      for i.MX6 will also use these functions. So lets move them to a
      common location to re-use them.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      8870e459
  15. Mar 24, 2013
  16. Mar 12, 2013
    • Albert ARIBAUD's avatar
      Refactor linker-generated arrays · ef123c52
      Albert ARIBAUD authored
      
      Refactor linker-generated array code so that symbols
      which were previously linker-generated are now compiler-
      generated. This causes relocation records of type
      R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
      code which uses LGA able to run before relocation as
      well as after.
      
      Note: this affects more than ARM targets, as linker-
      lists span possibly all target architectures, notably
      PowerPC.
      
      Conflicts:
      	arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
      	arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
      	arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
      	board/ait/cam_enc_4xx/u-boot-spl.lds
      	board/davinci/da8xxevm/u-boot-spl-da850evm.lds
      	board/davinci/da8xxevm/u-boot-spl-hawk.lds
      	board/vpac270/u-boot-spl.lds
      
      Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      ef123c52
    • Albert ARIBAUD's avatar
      Remove linker lists (LGAs) from SPL linker scripts · 65cdd643
      Albert ARIBAUD authored
      
      Many SPL linker scripts needlessly include linker lists (aka LGAs).
      Remove them whenever possible; keep it only in the seven am335x_evm
      variants (am335x_evm, am335x_evm_uart[1-5], am335x_evm_spiboot),
      where there is actual content in output section .u_boot_list.
      
      This commit keeps all u-boot.bin and u-boot-spl.bin in ARM targets
      byte-identical.
      
      Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      65cdd643
  17. Feb 18, 2013
  18. Jan 22, 2013
  19. Jan 16, 2013
  20. Nov 26, 2012
  21. Oct 26, 2012
  22. Oct 25, 2012
  23. Oct 22, 2012
    • Marek Vasut's avatar
      common: Add symbol handling for generic lists into Makefile · 97b24d3d
      Marek Vasut authored
      
      This patch adds essential components for generation of the contents of
      the linker section that is used by the linker-generated array. All of
      the contents is held in a separate file, u-boot.lst, which is generated
      at runtime just before U-Boot is linked.
      
      The purpose of this code is to especially generate the appropriate
      boundary symbols around each subsection in the section carrying the
      linker-generated arrays. Obviously, the interim linker code for actual
      placement of the variables into the section is generated too. The
      generated file, u-boot.lst, is included into u-boot.lds via the linker
      INCLUDE directive in u-boot.lds .
      
      Adjustments are made in the Makefile and spl/Makefile so that the
      u-boot.lds and u-boot-spl.lds depend on their respective .lst files.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      Tested-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      97b24d3d
  24. Oct 15, 2012
    • Tom Warren's avatar
      Tegra20: Move some code files to common directories for upcoming Tegra30 patches. · 3064f322
      Tom Warren authored
      
      Move files that are going to be common between T20 and T30 into 'tegra-common'
      subdirs in AVP (arm720t), CPU (armv7), and shared (arch/arm/cpu/.) areas. Any
      files that are left behind in '/tegra20' will be copied to '/tegra30' subdirs
      and modified for that SoC. The 'common' files should need only minor changes.
      
      Include files (arch/arm/include/asm/arch-tegra/tegra20) will be done in a
      follow-on patch.
      
      Builds fine w/MAKEALL -s tegra20. Checkpatch.pl is clean.
      
      Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
      3064f322
  25. Oct 01, 2012
  26. Sep 27, 2012
    • Tom Rini's avatar
      SPL: Move the omap SPL framework to common/spl · 47f7bcae
      Tom Rini authored
      
      Add a new flag, CONFIG_SPL_FRAMEWORK to opt into the common/spl SPL
      framework, enable on all of the previously using boards.  We move the
      spl_ymodem.c portion to common/ and spl_mmc.c to drivers/mmc/.  We leave
      the NAND one in-place as we plan to replace it later in this series.
      
      We use common/spl to avoid linker problems with respect to merging
      constant strings in objects.   Otherwise all strings in common/ will be
      linked in and kept which grows SPL in size too much.
      
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      47f7bcae
  27. Sep 18, 2012
    • Tyler Olmstead's avatar
      spl: remove forced linking of commands into SPL · be7e41ef
      Tyler Olmstead authored
      
      Remove linker command line options from the SPL makefile
      that force the inclusion of unreferenced command code from
      linked object files. As commands are not used in the SPL,
      these options resulted in an unnecessary increase in the
      image size, in addition to introducing the possibility of
      tricky link errors in the case where the command code
      contained symbols that were not resolved by linking in the
      limited objects compiled in the SPL build.
      
      Signed-off-by: default avatarTyler Olmstead <tyler.j.olmstead@gmail.com>
      Acked-by: default avatarTom Rini <trini@ti.com>
      be7e41ef
  28. Sep 01, 2012
  29. Aug 17, 2012
Loading