20 Sep, 2013

1 commit


04 Sep, 2013

1 commit


28 Aug, 2013

1 commit


21 Aug, 2013

2 commits

  • 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: Ying Zhang
    Acked-by: York Sun

    Ying Zhang
     
  • 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: Ying Zhang
    Acked-by: York Sun

    Ying Zhang
     

20 Aug, 2013

1 commit

  • 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: Joel Fernandes
    Signed-off-by: Ying Zhang

    Joel Fernandes
     

15 Aug, 2013

1 commit


24 Jul, 2013

1 commit


19 Jun, 2013

1 commit


04 Jun, 2013

1 commit


16 May, 2013

1 commit


05 May, 2013

2 commits


22 Apr, 2013

1 commit

  • 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: Stefan Roese
    Cc: Stefano Babic
    Cc: Marek Vasut
    Cc: Fabio Estevam

    Stefan Roese
     

25 Mar, 2013

1 commit


13 Mar, 2013

2 commits

  • 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: Albert ARIBAUD

    Albert ARIBAUD
     
  • 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: Albert ARIBAUD

    Albert ARIBAUD
     

19 Feb, 2013

1 commit

  • In case of usbeth booting just call net_load_image("usb_ether").
    This patch also adds CONFIG_SPL_USBETH_SUPPORT and
    CONFIG_SPL_MUSB_NEW_SUPPORT config options to enable linking of SPL
    against USB gagdet support and new MUSB driver resp.

    Signed-off-by: Ilya Yanok

    Ilya Yanok
     

03 Feb, 2013

1 commit


22 Jan, 2013

1 commit

  • The '#' used as comments in the files cause the preprocessor
    trouble, so change to /* */.

    The mkimage command which uses this preprocessor output
    was moved to arch/arm/imx-common/Makefile

    .gitignore was updated to ignore .cfgtmp files.

    Signed-off-by: Troy Kisky

    Troy Kisky
     

17 Jan, 2013

1 commit


10 Dec, 2012

1 commit


27 Nov, 2012

1 commit


10 Nov, 2012

1 commit


26 Oct, 2012

3 commits


22 Oct, 2012

1 commit

  • 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: Marek Vasut
    Cc: Joe Hershberger
    Cc: Mike Frysinger
    Acked-by: Joe Hershberger
    Tested-by: Joe Hershberger

    Marek Vasut
     

16 Oct, 2012

1 commit

  • 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: Tom Warren

    Tom Warren
     

02 Oct, 2012

1 commit

  • This patch adds support for networking in SPL. Some devices are
    capable of loading SPL via network so it makes sense to load the
    main U-Boot binary via network too. This patch tries to use
    existing network code as much as possible. Unfortunately, it depends
    on environment which in turn depends on other code so SPL size
    is increased significantly. No effort was done to decouple network
    code and environment so far.

    Signed-off-by: Ilya Yanok
    Acked-by: Joe Hershberger
    Signed-off-by: Tom Rini

    Ilya Yanok
     

28 Sep, 2012

1 commit

  • 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: Tom Rini

    Tom Rini
     

19 Sep, 2012

1 commit

  • 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: Tyler Olmstead
    Acked-by: Tom Rini

    Tyler Olmstead
     

01 Sep, 2012

2 commits

  • This fixes the SPL build to link with the SPL version of libgcc if
    USE_PRIVATE_LIBGCC is set to "yes". Previously it was linking with
    the libgcc from the normal u-boot build because it gets set in
    PLATFORM_LIBS and passed down the to the SPL build.

    Signed-off-by: Allen Martin
    Acked-by: Stephen Warren
    Tested-by: Thierry Reding
    Signed-off-by: Tom Warren

    Allen Martin
     
  • In preparation for splitting out the armv4t code from tegra20, move
    the tegra20 SoC code to arch/arm/cpu/tegra20-common. This code will
    be compiled armv4t for the arm7tdmi and armv7 for the cortex A9.

    Signed-off-by: Allen Martin
    Acked-by: Stephen Warren
    Tested-by: Thierry Reding
    Signed-off-by: Tom Warren

    Allen Martin
     

18 Aug, 2012

1 commit

  • Commit 8b5a02640adf77301f943e8754992c50df004e8a ("Makefile: cosmetic:
    optimize usage of LIBS-y") broke the build of boards that have a board
    vendor "common" directory, by introducing a space between "LIBS-" and
    "y".

    Signed-off-by: Scott Wood
    Signed-off-by: Daniel Schwierzeck
    Acked-by: Kim Phillips

    Scott Wood
     

11 Aug, 2012

1 commit


30 Mar, 2012

2 commits

  • Most link scripts differ only in the directory containing the start.o
    file. Make this a #define to remove this last difference.

    (Note that if start.o were disallowed outside the CPU start directory then
    we wouldn't even need this. But that is a separate discussion.)

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The Makefile for a CPU is in arch/($ARCH)/cpu/$(CPU). We want to support
    having an .lds file in arch/$(ARCH)/cpu without requiring an additional
    Makefile there. This change makes it clear that we expect a Makefile in
    the same directory as the link script except in this case.

    Signed-off-by: Simon Glass

    Simon Glass
     

16 Jan, 2012

1 commit

  • This patch is added to support SPL feature on AM335X
    platform. In this patch, MMC1 is configured as boot
    device for SPL and support for other devices will be
    added in the next patch series.

    Signed-off-by: Chandan Nath
    Signed-off-by: Tom Rini
    Acked-by: Igor Grinberg

    Chandan Nath
     

16 Nov, 2011

1 commit

  • This patch adds the minimal support for OMAP5. The platform and machine
    specific headers and sources updated for OMAP5430.

    OMAP5430 is Texas Instrument's SOC based on ARM Cortex-A15 SMP architecture.
    It's a dual core SOC with GIC used for interrupt handling and SCU for cache
    coherency.

    Also moved some part of code from the basic platform support that can be made
    common for OMAP4/5. Rest is kept out seperately. The same approach is followed
    for clocks and emif support in the subsequent patches.

    Signed-off-by: sricharan
    Signed-off-by: Sandeep Paulraj

    Sricharan