27 Feb, 2014

4 commits


26 Feb, 2014

2 commits


25 Feb, 2014

2 commits

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

1 commit


22 Feb, 2014

6 commits

  • New hardware version cannot recognize the SD-Card
    because the SYS_NRESWARM, set as GPIO, does not
    guarantee the required reset time.
    Change the pin function back to enable the
    SYS_NRESWARM signal driven by the SOC.

    Signed-off-by: Stefano Babic

    Stefano Babic
     
  • Schematic indicates GPIO5_7 is to be used for VTT regulator control
    rather than GPIO0_21 so modify enable_vtt_regulator to reflect this.
    Without this some boards will experience DDR3 corruption and fail to
    boot.

    Signed-off-by: Dave Gerlach
    [trini: Rework patch against mainline]
    Signed-off-by: Tom Rini

    Dave Gerlach
     
  • 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
     

21 Feb, 2014

5 commits


20 Feb, 2014

9 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
     
  • - 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
     
  • Unlike Linux Kernel, U-Boot historically had *.dts files under
    board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.

    I think arch/$(ARCH)/dts dicretory is a better location
    to store both *.dts and *.dtsi files.

    For example, before this commit, board/xilinx/dts directory
    had both Microblaze dts (microblaze-generic.dts) and
    ARM dts (zynq-*.dts), which are totally unrelated.

    This commit moves *.dts to arch/$(ARCH)/dts/ directories,
    allowing us to describe nicely mutiple DTBs generation in the next commit.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • We had switched to Kbuild, so we do not need to
    delete sandburst board files at every build.

    U-Boot conventional build system did not check the
    update of command line option, -DBUILDUSER.

    Kbuild can handle it nicely and re-builds object files
    when command line options are changed.
    (The file ".*.cmd" stores the information how the file
    was generated at the previous build.)

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • This commit refactors cleaning targets such as
    clean, clobber, mrpropper, distclean
    with scripts/Makefile.clean.

    By using scripts/Makefile.clean, we can recursively descend
    into subdirectories and delete generated files there.

    We do not need add a big list of generated files
    to the "clean" target.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Now we are ready to switch over to real Kbuild.

    This commit disables temporary scripts:
    scripts/{Makefile.build.tmp, Makefile.host.tmp}
    and enables real Kbuild scripts:
    scripts/{Makefile.build,Makefile.host,Makefile.lib}.

    This switch is triggered by the line in scripts/Kbuild.include
    -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
    +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj

    We need to adjust some build scripts for U-Boot.
    But smaller amount of modification is preferable.

    Additionally, we need to fix compiler flags which are
    locally added or removed.

    In Kbuild, it is not allowed to change CFLAGS locally.
    Instead, ccflags-y, asflags-y, cppflags-y,
    CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
    are prepared for that purpose.

    Signed-off-by: Masahiro Yamada
    Tested-by: Gerhard Sittig

    Masahiro Yamada
     
  • We are going to switch over to Kbuild in upcoming commits.

    Each makefile must have non-empty obj- or obj-y
    to generate built-in.o on Kbuild.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • This commit changes the working directory
    where the build process occurs.

    Before this commit, build process occurred under the source
    tree for both in-tree and out-of-tree build.

    That's why we needed to add $(obj) prefix to all generated
    files in makefiles like follows:
    $(obj)u-boot.bin: $(obj)u-boot

    Here, $(obj) is empty for in-tree build, whereas it points
    to the output directory for out-of-tree build.

    And our old build system changes the current working directory
    with "make -C " syntax when descending into the
    sub-directories.

    On the other hand, Kbuild uses a different idea
    to handle out-of-tree build and directory descending.

    The build process of Kbuild always occurs under the output tree.
    When "O=dir/to/store/output/files" is given, the build system
    changes the current working directory to that directory and
    restarts the make.

    Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj="
    syntax for descending into sub-directories.
    (We can write it like "make $(obj)=" with a shorthand.)
    This means the current working directory is always the top
    of the output directory.

    Signed-off-by: Masahiro Yamada
    Tested-by: Gerhard Sittig

    Masahiro Yamada
     
  • Some Samsung boards have their own tools under board/samsung//tools/.
    This commit refactor more makefiles with "hostprogs-y".

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

19 Feb, 2014

9 commits