19 Feb, 2014

1 commit


08 Feb, 2014

1 commit

  • We use the switch CONFIG_SUPPORT_EMMC_BOOT today to enable some
    additional features of the eMMC boot partitions. Add support for being
    told that we have booted from one of these partitions to the spl
    framework and implement this on TI OMAP/related.

    Cc: Pantelis Antoniou
    Signed-off-by: Tom Rini
    Signed-off-by: Pantelis Antoniou

    Tom Rini
     

25 Jan, 2014

2 commits


24 Jul, 2013

1 commit


10 May, 2013

1 commit

  • The boot parameters are read from individual variables
    assigned for each of them. This been corrected and now
    they are stored as a part of the global data 'gd'
    structure. So read them from 'gd' instead.

    Signed-off-by: Sricharan R
    [trini: Add igep0033 hunk]
    Signed-off-by: Tom Rini

    SRICHARAN R
     

11 Mar, 2013

1 commit


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

5 commits

  • Signed-off-by: Tom Rini

    Tom Rini
     
  • On some system (e.g. powerpc), the load-address and entry-point is
    located at address 0. So the current approach to load the image
    (payload) including the header to the address "load-address - 64"
    can't work here.

    This patch adds an flag to skip this copying including header to
    the SPL framework. By setting SPL_COPY_PAYLOAD_ONLY, only the
    playload will be copied. This will be used by the SPL NOR flash
    driver on powerpc.

    Signed-off-by: Stefan Roese
    Signed-off-by: Tom Rini

    Stefan Roese
     
  • SPL NOR flash booting support is quite simple. Only copying of the
    images is needed.

    On MPC5xxx we need to make sure to only use the standard memcpy()
    implementation and not the MPC5xxx specific one. As the MPC5xxx
    version has some complexity which is not needed for this SPL
    booting.

    Signed-off-by: Stefan Roese
    Signed-off-by: Tom Rini

    Stefan Roese
     
  • In SPL (CONFIG_SPL_FRAMEWORK) board_init_f must setup the stack pointer,
    clear the BSS and call board_init_r. We mark this as weak as some
    platforms may need to perform additional initalization at this point.
    We provide a gd that we know will be in a usable location, once the BSS
    has been cleared to help with this as well. Finally, we no longer call
    relocate_code so remove that from the armv7 version.

    Next, both board_init_f and jump_to_image_linux are going to be
    inherently arch-specific, so move these versions to arch/arm/lib/spl.c

    Signed-off-by: Tom Rini

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