19 Apr, 2013

4 commits


17 Apr, 2013

8 commits

  • When building host utilities, we include libfdt.h from the host, not from
    U-Boot. This in turn brings in libfdt_env.h from the host, which can mess
    up the types and cause a build failure, depending on the host environment.
    To fix this, force inclusion of U-Boot's libfdt_env.h so that the types
    are correct.

    Another way to fix this is to use -nostdinc and -idirafter to ensure that
    system includes are included after U-Boot ones. Unfortunately this means
    that U-Boot's errno.h gets included instead of the system one. This in
    turn requires a hack to errno.h to redirect things, so all in all the
    solution in this patch is probably cleaner.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Support to check whether the SD3.0 or not.

    Signed-off-by: Jaehoon Chung
    Signed-off-by: Kyungmin Park
    Tested-by: Rommel Custodio

    Jaehoon Chung
     
  • eMMC vesrion is supported up to v4.5.
    But bootloader isn't saw the exact eMMC version.
    After applied this patch,
    if use the mmcinfo command, then can see the exactly mmc version.

    Signed-off-by: Jaehoon Chung
    Signed-off-by: Kyungmin Park
    Acked-by: Rommel Custodio

    Jaehoon Chung
     
  • In common/cmd_nvedit.c, en env_print(), the wrong type is used for len.
    hexport_r() returns -1 on error (like OOM), which is converted to
    0xffffffff when put in an unsigned. Said value is obviously bigger then
    0, and as a result an uninitialized string is then displayed. Other
    usages of hexport_r() in the code correctly uses ssize_t to keep its
    return value.

    Signed-off-by: Maxime Larocque

    Maxime Larocque
     
  • Snow is missing a TMU node, and with TMU support this is not allowed, so it
    fails to boot. Add it.

    Signed-off-by: Simon Glass
    Signed-off-by: Minkyu Kang

    Simon Glass
     
  • The current code is causing errors like this on my toolchains:

    /usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.22/
    ld.bfd.real: failed to merge target specific data of file /usr/lib/gcc/
    armv7a-cros-linux-gnueabi/4.7.x-google/libgcc.a(_divdi3.o)

    Use do_div() to avoid this.

    Signed-off-by: Simon Glass
    Signed-off-by: Minkyu Kang

    Simon Glass
     
  • Exynos5250 supports secondary USB device boot mode. If the iROM fails
    to download u-boot from the primary boot device (such as SD or eMMC),
    it will try to retrieve from the secondary boot device (such as USB).

    Signed-off-by: Naveen Krishna Ch
    Signed-off-by: Simon Glass
    Signed-off-by: Vivek Gautam
    Acked-by: Simon Glass
    Signed-off-by: Minkyu Kang

    Vivek Gautam
     
  • Tom Rini
     

16 Apr, 2013

17 commits

  • Tom Rini
     
  • Since the ICH SPI controller uses PCI, we must ensure that PCI is available
    before it is inited.

    This fixes the current "ICH SPI: Cannot find device" message on boot.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Currently x86 has its own means of managing the global data and board data
    (bd_t), and this code resides in start.S. With generic board, we need to
    ensure that we leave this alone - i.e. don't clear it as we do on other
    archs.

    This fixes a problem where the memory init data is cleared which causes
    the video driver to operate very slowly.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The intention of the memory init code is that it should work the same with
    CONFIG_SYS_GENERIC_BOARD and without. This is tricky because dram_init()
    is called prior to relocation with generic board (matching other archs)
    and after relocation without generic board.

    Adjust the init sequence so that dram_init() is not called in the generic
    board case, which seems like the easiest fix for now. Also ensure that
    relocation addresses are still calculated.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Beaver is a Tegra30 board that is nearly 100% compatible w/Cardhu.
    Add a Beaver build so it can begin to be differentiated, if need be.

    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Tom Warren
     
  • As suggested by Stephen Warren, use tegra_get_chip() to return
    the pure CHIPID for a Tegra SoC (i.e. 0x20 for Tegra20, 0x30 for
    Tegra30, etc.) and rename tegra_get_chip_type() to reflect its true
    function, i.e. tegra_get_chip_sku(), which returns an ID like
    TEGRA_SOC_T25, TEGRA_SOC_T33, etc.

    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Tom Warren
     
  • A comparison of registers between our internal NV U-Boot and
    u-boot-tegra/next showed some discrepancies in the MSELECT
    clock divisor programming. T20 doesn't have a MSELECT clk src reg.

    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Tom Warren
     
  • T114 needs the SYSCTR0 counter initialized so the TSC can be
    read by the kernel. Do it in the bootloader since it's a write-once
    deal (secure/non-secure mode dependent).

    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Tom Warren
     
  • Without this change, kernel fails at calling function cache_clean_flush
    during kernel early boot.

    Aprocryphally, intended for T114 only, so I check for a T114 SoC.
    Works (i.e. dalmore 3.8 kernel now starts printing to console).

    Signed-off-by: Tom Warren

    Tom Warren
     
  • Boot script support brings TEC in line with other Tegra boards. To
    enable booting a Linux kernel with initial ramdisk, also include support
    for the new FIT image type.

    Signed-off-by: Thierry Reding
    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Thierry Reding
     
  • Boot script support brings Plutux in line with other Tegra boards. In
    order to enable booting a Linux kernel with initial ramdisk, also add
    support for the new FIT image type.

    Signed-off-by: Thierry Reding
    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Thierry Reding
     
  • Boot script support brings Medcom-Wide in line with other Tegra boards.
    In order to enable booting a Linux kernel with initial ramdisk, also add
    support for the new FIT image type.

    Signed-off-by: Thierry Reding
    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Thierry Reding
     
  • Move the nand-controller node to the tegra20-tamonten.dtsi so that it
    can be shared between all derived boards.

    Signed-off-by: Thierry Reding
    Signed-off-by: Tom Warren
    Reviewed-by: Stephen Warren

    Thierry Reding
     
  • A start vector fix was added by AneeshV for OMAP4 (commit 0d479b53),
    and caused the old monilithic Tegra builds to hang due to an undefined
    instruction trap. Previously, the code needed to run on both the
    AVP (ARM7TDI) and A9, and the AVP doesn't have a CP15 register.
    I corrected this in commit 6d6c0bae w/#ifndef CONFIG_TEGRA, but
    now that we use SPL, and boot the AVP w/o any ARMv7 code, I can
    revert my change, and make Aneesh's change apply to Tegra.

    Signed-off-by: Tom Warren

    Tom Warren
     
  • Some 3rd-party flash tools use the -v (verify) option of crc32 command.

    Signed-off-by: Tom Warren
    Acked-by: Simon Glass

    Tom Warren
     
  • Make U-Boot aware of the T33 SKU of Tegra30, and treat it identically
    to any other Tegra30.

    An alternative would be to simply remove the SKU checking from
    tegra_get_chip_type(); most use of the value most likely simply wants
    to know the current chip, not the specific SKU. Or, the function could
    be split into separate tegra_get_chip() and tegra_get_sku() for the
    cases where differentiation really is required.

    I wonder whether tegra_get_chip_type() should printf() whenever any
    unkown chip/SKU is found, although perhaps the function is called so
    early that the printf() wouldn't actually make it to the UART anyway.

    Signed-off-by: Stephen Warren
    Signed-off-by: Tom Warren
    Acked-by: Simon Glass

    Stephen Warren
     
  • The KVM and Xen hypervisors for the Cortex-A15 virtualization
    implementation need to be entered in HYP mode. Should the primary
    board firmware already enter HYP mode (Calxeda firmware does that),
    we should not deliberately drop back to SVC mode.
    Since U-boot does not use the MMU, running in HYP mode is just fine.

    Signed-off-by: Andre Przywara

    Andre Przywara
     

15 Apr, 2013

3 commits


14 Apr, 2013

8 commits