06 Oct, 2016

1 commit


03 Oct, 2016

1 commit


27 Sep, 2016

1 commit


22 Sep, 2016

2 commits

  • Prior to the previous patch, a freshly created .u-boot.cfg.cmd may not
    correctly represent all dependencies for u-boot.cfg. The previous change
    only solved this issue for fresh builds; when performing an incremental
    build, the deficient .u-boot.cfg.cmd is already present, so u-boot.cfg
    is not rebuilt, and hence .u-boot.cfg.cmd is not rebuilt with the correct
    content.

    Solve this by explicitly detecting when the dependency file .u-boot.cfg.d
    has not been integrated into .u-boot.cfg.cmd, and force u-boot.cfg to be
    rebuilt in this case by deleting it first. This is possible since
    if_changed_dep will always delete .u-boot.cfg.d when it executes
    successfully, so its presence means either that the previous build was
    made by a source tree that contained a Makefile that didn't include the
    previous patch, or that the build failed part way through executing
    if_changed_dep for u-boot.cfg. Forcing a rebuild of u-boot.cfg is required
    in the former case, and will cause no additional work in the latter case,
    since the file would be rebuilt anyway for the same reason it was being
    rebuilt by the previous build.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • cmd_cpp_cfg generates a dependency output, but because it's invoked using
    if_changed rather than if_changed_dep, that dependency file is ignored.
    This results in Kbuild not knowing about which files u-boot.cfg depends
    on, so it may not be rebuilt when required.

    A practical result of this is that u-boot.cfg may continue to reference
    CONFIG_ options that no longer exist in the source tree, and this can
    cause the adhoc config options check to fail.

    This change modifies Makefile to use if_changed_dep, which in turn causes
    all dependencies to be known to the next make invocation.

    Signed-off-by: Stephen Warren

    Stephen Warren
     

17 Sep, 2016

1 commit


15 Sep, 2016

1 commit

  • This general MMDC driver adds basic support for Freescale MMDC
    (Multi Mode DDR Controller). Currently MMDC is integrated on ARMv8
    LS1012A SoC for DDR3L, there will be a update to this driver to
    support more flexible configuration if new features (DDR4, multiple
    controllers/chip selections, etc) are implimented in future.

    Meantime, reuse common MMDC driver for LS1012ARDB/LS1012AQDS/
    LS1012AFRDM.

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

    Shengzhou Liu
     

12 Sep, 2016

1 commit


23 Aug, 2016

1 commit


21 Aug, 2016

1 commit


20 Aug, 2016

1 commit

  • This adds a bunch of unit tests for the "fdt apply" command.

    They've all been run successfully in the sandbox. However, as you still
    require an out-of-tree dtc with overlay support, this is disabled by
    default.

    Acked-by: Simon Glass
    Acked-by: Pantelis Antoniou
    Signed-off-by: Maxime Ripard

    Maxime Ripard
     

16 Aug, 2016

1 commit

  • The Xtensa processor architecture is a configurable, extensible,
    and synthesizable 32-bit RISC processor core provided by Cadence.

    This is the first part of the basic architecture port with changes to
    common files. The 'arch/xtensa' directory, and boards and additional
    drivers will be in separate commits.

    Signed-off-by: Chris Zankel
    Signed-off-by: Max Filippov
    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini

    Chris Zankel
     

06 Aug, 2016

1 commit


28 Jul, 2016

1 commit

  • Many SoCs allow power to be applied to or removed from portions of the SoC
    (power domains). This may be used to save power. This API provides the
    means to control such power management hardware.

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

    Stephen Warren
     

26 Jul, 2016

1 commit


15 Jul, 2016

4 commits


12 Jul, 2016

1 commit


02 Jul, 2016

1 commit


25 Jun, 2016

2 commits

  • If the final targets depend on both "dtbs" and "dts/dt.dtb",
    and -j option is given to the command line, multiple threads
    descend into the dts/ directory, which causes build error.

    Signed-off-by: Masahiro Yamada
    Tested-by: Andreas Dannenberg

    Masahiro Yamada
     
  • The output reported may be locale-dependent, which results in
    unreproducible builds.

    $ LANG=C ld --version | head -n 1
    GNU ld (GNU Binutils for Debian) 2.26

    $ LANG=it_CH.UTF-8 ld --version | head -n 1
    ld di GNU (GNU Binutils for Debian) 2.26

    Forcing LC_ALL=C ensures the output is consistant regardless of the
    build environment.

    Thanks to HW42 for debugging the issue:

    https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160606/005722.html

    For more information about reproducible builds:

    https://reproducible-builds.org/

    Signed-off-by: Vagrant Cascadian
    Reviewed-by: Tom Rini

    Vagrant Cascadian
     

20 Jun, 2016

1 commit


07 Jun, 2016

1 commit


28 May, 2016

1 commit


23 May, 2016

1 commit

  • For boards that support ACPI, there are dsdt.aml, dsdt.asl.tmp and
    dsdt.c in the board directory after a successful build. These are
    intermediate files generated by IASL, and should be removed during
    a 'make clean'.

    Signed-off-by: Bin Meng
    Reviewed-by: Simon Glass

    Bin Meng
     

16 May, 2016

1 commit


03 May, 2016

1 commit

  • The getopt(3) optstring '-' is a GNU extension which is not available on BSD
    systems like OS X.

    Remove this dependency by implementing argument parsing in another way. This
    will also change the lately introduced '-b' switch behaviour.

    Signed-off-by: Andreas Bießmann
    Reviewed-by: Simon Glass

    Andreas Bießmann
     

26 Apr, 2016

1 commit


21 Apr, 2016

1 commit


12 Apr, 2016

1 commit


10 Apr, 2016

1 commit


23 Mar, 2016

1 commit

  • The license command isn't usually built and has a few problems:
    - The rules to generate license.h haven't worked in a long time,
    re-write these based on the bmp_logo.h rules.
    - 'tok' is unused and the license text size has increased
    - bin2header.c wasn't grabbing unistd.h to know the prototype for
    read().

    Cc: Masahiro Yamada
    Signed-off-by: Tom Rini

    Tom Rini
     

17 Mar, 2016

1 commit

  • Intel has invented yet another binary blob which firmware is required to
    run. This is run after SDRAM is ready. It is linked to load at a particular
    address, typically 0, but is a relocatable ELF so can be moved if required.

    Add support for this in the build system. The file should be placed in the
    board directory, and called refcode.elf.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     

15 Mar, 2016

1 commit

  • When building a FIT, more than one device tree can be included. The board
    can select (at run-time) the one that it wants.

    Add a Kconfig option to allow the list of devices trees (supported by the
    board) to be specified.

    When using SPL_LOAD_FIT, build u-boot.img in FIT format instead of the
    legacy image format. Include all the listed device tree files in this FIT.

    Signed-off-by: Simon Glass

    Simon Glass
     

14 Mar, 2016

1 commit


01 Mar, 2016

1 commit


16 Feb, 2016

2 commits