27 Feb, 2014

2 commits


26 Feb, 2014

2 commits

  • With this, fixup a trivial build error of get_effective_memsize needing
    to be updated in the new board/freescale/p1010rdb/spl.c

    Signed-off-by: Tom Rini

    Tom Rini
     
  • Same as the previous commit.
    Move sanity check to prepare1 target to avoid nasty troubles.

    Before this commit, LDSCRIPT existence was not checked
    when it was specified by CONFIG_SYS_LDSCRIPT.
    Now LDSCRIPT existence is checked for all boards.

    $(wildcard $(LDSCRIPT)) must point to the linker scripts
    with absolute path.
    Otherwise, make will terminate with a false error
    on out-of-tree build.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

25 Feb, 2014

6 commits

  • u-boot binary size for Freescale mpc8536DS platforms is 512KB.
    This has been reached to upper limit of the platforms and causig
    linker error. So increase the u-boot binary size to 768KB.

    Signed-off-by: Haijun Zhang
    Reviewed-by: York Sun

    Haijun.Zhang
     
  • In the previous patches, we introduced the SPL/TPL fraamework.
    For SD/SPI flash booting way, we introduce the SPL to enable a loader stub. The
    SPL was loaded by the code from the internal on-chip ROM. The SPL initializes
    the DDR according to the SPD and loads the final uboot image into DDR, then
    jump to the DDR to begin execution.

    For NAND booting way, the nand SPL has size limitation on some board(e.g.
    P1010RDB), it can not be more than 8KB, we can call it "minimal SPL", So the
    dynamic DDR driver doesn't fit into this minimum SPL. We added the TPL that is
    loaded by the the minimal SPL. The TPL initializes the DDR according to the SPD
    and loads the final uboot image into DDR,then jump to the DDR to begin execution.

    This patch enabled SPL/TPL for P1010RDB to support starting from NAND/SD/SPI
    flash with SPL framework and initializing the DDR according to SPD in the SPL/TPL.
    Because the minimal SPL load the TPL to L2 SRAM and the jump to the L2 SRAM to
    execute, so the section .resetvec is no longer needed.

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     
  • There was no enough memory for malloc in SPL booting from spi flash, so
    relayout the memory in SPL: reduce the memory for global data from 16K
    Bytes to 4K Bytes, save the space for malloc.

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     
  • There was no enough stack in SPL, so the buffer needed in SPL is to malloc
    from memory pool and to repalce the temporary variable.

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     
  • 1. The SPL's length of SDCARD boot has not enough,expand the SPL's
    length to 128K.
    2. deleted unused symbol: CONFIG_SYS_RUN_INDDR

    Signed-off-by: Ying Zhang
    Reviewed-by: York Sun

    Ying Zhang
     
  • T2081 QDS is a high-performance computing evaluation, development and
    test platform supporting the T2081 QorIQ Power Architecture processor.

    T2081QDS board Overview
    -----------------------
    - T2081 SoC integrating four 64-bit dual-threads e6500 cores up to 1.8GHz
    - 2MB shared L2 and 512KB L3 CoreNet platform cache (CPC)
    - CoreNet fabric supporting coherent and noncoherent transactions with
    prioritization and bandwidth allocation
    - 32-/64-bit DDR3/DDR3LP SDRAM memory controller with ECC and interleaving
    - Ethernet interfaces:
    - Two on-board 10M/100M/1G bps RGMII ports
    - Two 10Gbps XFI with on-board SFP+ cage
    - 1Gbps/2.5Gbps SGMII Riser card
    - 10Gbps XAUI Riser card
    - Accelerator:
    - DPAA components consist of FMan, BMan, QMan, PME, DCE and SEC
    - SerDes:
    - 8 lanes up to 10.3125GHz
    - Supports SGMII, HiGig, XFI, XAUI and Aurora debug,
    - IFC:
    - 512MB NOR Flash, 2GB NAND Flash, PromJet debug port and Qixis FPGA
    - eSPI:
    - Three SPI flash (16MB N25Q128A + 16MB EN25S64 + 512KB SST25WF040)
    - USB:
    - Two USB2.0 ports with internal PHY (one Type-A + one micro Type mini-AB)
    - PCIe:
    - Four PCI Express controllers (two PCIe 2.0 and two PCIe 3.0 with SR-IOV)
    - eSDHC:
    - Supports various SD/SDHC/SDXC/eMMC devices with adapter cards and
    voltage translators
    - I2C:
    - Four I2C controllers.
    - UART:
    - Dual 4-pins UART serial ports

    Signed-off-by: Shengzhou Liu
    Reviewed-by: York Sun

    Shengzhou Liu
     

24 Feb, 2014

2 commits


23 Feb, 2014

2 commits


22 Feb, 2014

15 commits

  • Rework rpi_b's bootcmd (and sub-commands) to match Tegra's bootcmd as
    much as possible. This will aid in a future patch which will create a
    common header e.g. config_distro_bootcmd.h.

    While at it, enable booting from extlinux.conf using the sysboot command.

    The iteration and componentization currently makes a little more sense
    for Tegra than RPi, but I'd still like to keep the two as similar as
    possible. USB and networking support is coming to the RPi in due course,
    and it'll all make more sense then anyway.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • Commit 6789e84ecaa8f45d053084e08c381284a04abff7 (i2c, omap24xx:
    convert driver to new mutlibus/mutliadapter framework) intended to
    make I2C driver compatible with latest changes. It unfortunately has
    had a impact on size on SPL as well. For example on SDP4430,
    32032 bytes before/MLO
    35416 bytes after/MLO

    With this mentioned commit, MLO stops booting on SDP4430 as only 32K
    is accessible for non-secure (bootloader) s/w on GP devices and the size
    increase to 56K fails boot.

    On the latest u-boot commit e7be18225fbea76d1f0034b224f0d1e60f07cfcf,
    MLO is now at size 35592 bytes, However, I2C is not necessary for SPL
    to function as we use SR_I2C for controlling the PMIC.
    Disabling I2C reduces MLO to 32224 bytes which allows
    OMAP4 GP platform to boot up.

    Since this is common for all OMAP4 platforms, remove the need for I2C
    for SPL builds in the common config.

    Signed-off-by: Nishanth Menon
    Reviewed-by: Sricharan R

    Nishanth Menon
     
  • Signed-off-by: Tom Rini

    Tom Rini
     
  • Signed-off-by: Tom Rini

    Tom Rini
     
  • Signed-off-by: Tom Rini

    Tom Rini
     
  • With CONFIG_SYS_BOOTMAPSZ defined, recent Linux kernel booting
    results in this error:

    Booting using the fdt blob at 0x81f00000
    Loading Kernel Image ... OK
    ERROR: Failed to allocate 0x1189d bytes below 0x80004000.
    device tree - allocation error
    FDT creation failed! hanging...### ERROR ### Please RESET the board ###

    Removing this define solves this issue.

    Signed-off-by: Stefan Roese
    Cc: Nikita Kiryanov
    Cc: Igor Grinberg
    Cc: Tom Rini

    Stefan Roese
     
  • Patch allows to load a script at the startup from MMC.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Patch contains the same fixes as commit
    4b9b2c300a23ca4a85811918dc92e822a9571a87
    (missing CONFIG_OMAP3_GPIO_2) and commit
    f9095aac793aa8917ab9b915c5d449e6dc8d3d30 (missing CONFIG_SPL_NAND_SOFTECC).
    Same issues are relevant for the mcx board, too.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Patch f33b9bd3
    [arm: omap3: Enable clocks for peripherals only if they are used]
    breaks SPL booting on tao3530. Since some gpio input's are
    read to detect the board revision. But with this patch above, the
    clocks to the GPIO subsystems are not enabled per default any more.
    The GPIO banks need to be configured specifically now.

    Signed-off-by: Stefan Roese
    Cc: Tom Rini
    Cc: Michael Trimarchi
    Reviewed-by: Stefano Babic

    Stefan Roese
     
  • Adds support for Bernecker & Rainer Industrieelektronik GmbH KWB
    Motherboard, using TI's AM3352 SoC.

    Most of code is derived from TI's AM335x_EVM

    Signed-off-by: Hannes Petermaier
    Cc: trini@ti.com

    Hannes Petermaier
     
  • Adds support for Bernecker & Rainer Industrieelektronik GmbH T-Series
    Motherboard, using TI's AM3352 SoC.

    Most of code is derived from TI's AM335x_EVM

    Signed-off-by: Hannes Petermaier

    Hannes Petermaier
     
  • This patch add support for the Silica Pengwyn board [1]
    The board is based on a TI AM3354 CPU [2]
    All jumpers removed it will boot from the SDcard, the console is on
    UART1 accessible via the FDTI -> USB. The on board NAND flash is
    supported and can act as boot medium, depending on jumper settings.
    USB Host, USB Device and Ethernet are also provided but untested.

    [1]
    http://www.silica.com/product/silica-pengwyn-board.html
    [2]
    http://www.ti.com/product/am3354

    Signed-off-by: Lothar Felten
    [trini: Move CONFIG_BOARD_LATE_INIT into am335x_evm.h, drop unused
    spi0_pin_mux from Pengwyn support]
    Signed-off-by: Tom Rini

    Lothar Felten
     
  • This function has been around for powerpc. It is used for systems with
    memory more than CONFIG_MAX_MEM_MAPPED. In case of non-contiguous memory,
    this feature can limit U-boot to one block without going over the limit.

    Signed-off-by: York Sun
    Acked-by: Albert ARIBAUD

    York Sun
     
  • Freescale LayerScape SoCs support controller interleaving on 256 byte size.
    This interleaving is mandoratory.

    Signed-off-by: York Sun

    York Sun
     
  • Initially it was believed the DDR controller on Freescale ARM would have
    big endian. But some platform will have little endian.

    Signed-off-by: York Sun

    York Sun
     

21 Feb, 2014

6 commits


20 Feb, 2014

5 commits

  • Conflicts:
    Makefile
    drivers/net/npe/Makefile

    These two conflicts arise from commit 0b2d3f20
    ("ARM: NET: Remove the IXP NPE ethernet driver") and are
    resolved by deleting the drivers/net/npe/Makefile file
    and removing the CONFIG_IXP4XX_NPE line from Makefile.

    Albert ARIBAUD
     
  • Having CONFIG_SYS_I2C_BASE requires DW I2C driver to explicitly include
    which other platforms may not have at all.

    It's always good to have a driver platform-independent.

    Signed-off-by: Alexey Brodkin

    Cc: Tom Rini
    Cc: Heiko Schocher
    Cc: Stefan Roese
    Cc: Vipin Kumar
    Cc: Armando Visconti

    Alexey Brodkin
     
  • Adds support for set-speed on the OMAP24xx I2C Adapter.

    Changes to omap24_i2c_write(...) for polling ARDY Bit from IRQ-Status.
    Otherwise on a subsequent call the transfer of last byte from the
    predecessor is aborted and therefore lost. For exmaple when
    i2c_write(...) is followed by a i2c_setspeed(...) (which has to
    deactivate and activate master for changing psc,...).

    Minor cosmetical changes.

    Signed-off-by: Hannes Petermaier
    Cc: Heiko Schocher

    Hannes Petermaier
     
  • Initialize the second i2c controller.

    Signed-off-by: Michael Burr
    Signed-off-by: Michal Simek

    Michael Burr
     
  • - When CONFIG_DISPLAY_CPUINFO is not enabled,
    print_cpuinfo() should be defined as an empty function
    in a header, include/common.h

    - Remove #ifdef CONFIG_DISPLAY_CPUINFO .. #endif
    from caller, common/board_f.c and arch/arm/lib/board.c

    - Remove redundant prototypes in arch/arm/lib/board.c,
    arch/arm/include/asm/arch-am33x/sys_proto.h and
    board/nokia/rx51/rx51.h, keeping the one in include/common.h

    - Add #ifdef CONFIG_DISPLAY_CPUINFO to the func definition
    where it is missing

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada