18 Feb, 2015

1 commit


17 Feb, 2015

1 commit

  • Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated
    lists for imagetool which is the base for some host tools (mkimage, dumpimage,
    et al.). Unfortunately some host tool chains do not support the used type of
    linker scripts. Therefore this commit broke these host-tools for them, namely
    FreeBSD and Darwin (OS/X).

    This commit tries to fix this. In order to have a clean distinction between host
    and embedded code space we need to introduce our own linker generated list
    instead of re-using the available linker_lists.h provided functionality. So we
    copy the implementation used in linux kernel script/mod/file2alias.c which has
    the very same problem (cause it is a host tool). This code also comes with an
    abstraction for Mach-O binary format used in Darwin systems.

    Signed-off-by: Andreas Bießmann
    Cc: Guilherme Maciel Ferreira

    Andreas Bießmann
     

10 Feb, 2015

1 commit


07 Feb, 2015

1 commit


06 Feb, 2015

1 commit


03 Feb, 2015

1 commit


30 Jan, 2015

1 commit

  • For boards which use multiple I2C devices, or for SOCs which support
    multiple boards, we might want to convert these to driver model at different
    times. At present this is difficult because we need to either use
    CONFIG_DM_I2C for a board or not.

    Add a compatibility layer which implements the old API, thus allowing a
    board to move to driver model for I2C without requiring that everything it
    uses is moved in the same commit.

    Signed-off-by: Simon Glass

    Simon Glass
     

29 Jan, 2015

1 commit

  • When build for Atmel related boards which support SPL,
    it will generate boot.bin, also clean when it when do
    "make clean" operation.

    Signed-off-by: Bo Shen
    Acked-by: Masahiro Yamada

    Bo Shen
     

12 Jan, 2015

1 commit


30 Dec, 2014

1 commit


19 Dec, 2014

3 commits


14 Dec, 2014

1 commit

  • Refactor u-boot.rom build rules by utilizing quiet_cmd_ and cmd_
    macros. Also make writing mrc.bin and pci option rom to u-boot.rom
    optional and remove mrc.bin from its dependent file list as not
    every x86 board port needs mrc binary blob.

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

    Bin Meng
     

12 Dec, 2014

2 commits

  • In SD boot, the magic number of u-boot image will be checked.
    For LS102xA, u-boot.bin doesn't have the magic number. So use
    u-boot.img which includes the magic number instead of u-boot.bin
    when producing u-boot-with-spl-pbl.bin.

    Signed-off-by: Alison Wang
    Reviewed-by: York Sun

    Alison Wang
     
  • For LS102xA, the size of spl/u-boot-spl.bin is variable.
    This patch adds the support to deal with the variable
    u-boot size in pblimage tool. It will be padded to 64
    byte boundary.

    Use pblimage_check_params() to add the specific operations
    for ARM, such as PBI CRC and END command and the calculation
    of pbl_cmd_initaddr.

    Signed-off-by: Alison Wang
    Reviewed-by: York Sun

    Alison Wang
     

09 Dec, 2014

1 commit


08 Dec, 2014

2 commits


25 Nov, 2014

3 commits


23 Nov, 2014

1 commit


21 Nov, 2014

1 commit

  • On x86 machines U-Boot needs to be added to a large ROM image which is
    then flashed onto the target board. The ROM has a particular format so it
    makes sense for U-Boot to build this image automatically. Unfortunately
    it relies on binary blobs so we cannot require this for the default
    build as yet.

    Create a u-boot.rom output file for this purpose.

    Signed-off-by: Simon Glass

    Simon Glass
     

11 Nov, 2014

2 commits


10 Nov, 2014

1 commit


08 Nov, 2014

4 commits

  • This commit imports some updates in misc scripts from Linux 3.18-rc1.

    [1] commit cbb4d3e6510b99522719c5ef0 by Horia Geanta
    scripts/kernel-doc: handle object-like macros

    [2] commit 164f0d2efaaef83 by Michal Marek
    kbuild: Fix handling of backslashes in *.cmd files

    [3] commit 270a00963cd367214e by Randy Dunlap
    scripts/kernel-doc: recognize __meminit

    [4] commit a4954fd7724c0f55361eb5 by Masahiro Yamada
    kbuild: remove obj-n and lib-n handling

    [5] commit 5b2389b45d1a9c12b9f by Masahiro Yamada
    kbuild: simplify build, clean, modbuiltin shorthands

    Signed-off-by: Horia Geanta
    Signed-off-by: Michal Marek
    Signed-off-by: Randy Dunlap
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Since Linux 3.15, relative path feature and related fixes,
    cleanups have been merged to the top Makefile.

    The relative path feature looks stable enough, so let's import it
    to U-Boot along with various cleanups.

    Commits imported from Linux (some need adjustment) are:

    [1] commit 7e1c04779efd by Michal Marek
    kbuild: Use relative path for $(objtree)

    [2] commit 890676c65d69 by Michal Marek
    kbuild: Use relative path when building in the source tree

    [3] commit 9da0763bdd82 by Michal Marek
    kbuild: Use relative path when building in a subdir of the source tree

    [4] commit c2e28dc975ea by Michal Marek
    kbuild: Print the name of the build directory

    [5] commit 066b7ed95580 by Michal Marek
    kbuild: Do not print the build directory with make -s

    [6] commit 3f1d9a6cec01 by Michal Marek
    kbuild: make -s should be used with kernelrelease/kernelversion/image_name

    [7] commit 7ff525712acf by Masahiro Yamada
    kbuild: fake the "Entering directory ..." message more simply

    [8] commit 745a254322c8 by Masahiro Yamada
    kbuild: use $(Q) for sub-make target

    [9] commit aa55c8e2f7a3 by Masahiro Yamada
    kbuild: handle C=... and M=... after entering into build directory

    [10] commit ab7474ea5361 by Borislav Petkov
    Kbuild: Ignore GREP_OPTIONS env variable

    To use relative path feature, tools/Makefile and scripts/Makefile.autoconf
    must be tweaked.

    Signed-off-by: Michal Marek
    Signed-off-by: Borislav Petkov
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Now we stick to Linux Kernel's build system, so squash
    "clobber" to "clean" target.

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     
  • Commit 0f605c1501f6 (Start the deprecation process for generic board)
    added a run-time warning message. Let's be noisier for non-generic
    boards to inform the dead line of the conversion.

    This commit intentionally outputs a warning message to stdout.
    We still have many unconverted boards. If we print the message
    to stderr, MAKEALL and buildman will report tons of broken boards
    and really important information will be buried.

    Signed-off-by: Masahiro Yamada
    Acked-by: Marek Vasut
    Acked-by: Simon Glass
    Cc: Tom Rini

    Masahiro Yamada
     

05 Nov, 2014

1 commit


24 Oct, 2014

1 commit


23 Oct, 2014

3 commits

  • Add target to build it automatically upon "make" / MAKEALL. This can/should
    be set by board / cpu specific headers if a special U-Boot image is
    required for this SoC / board.

    E.g. used by Marvell Armada XP to automatically build the u-boot.kwb
    target.

    Signed-off-by: Stefan Roese
    Cc: Masahiro Yamada

    Stefan Roese
     
  • This basic support for the Marvell Armada XP is base on the existing kirkwood
    support. Which has been generatized by moving some common files into
    common marvell locations.

    This is in preparation for the upcoming Armada XP MV78460 support.

    Signed-off-by: Stefan Roese
    Tested-by: Luka Perkov

    Stefan Roese
     
  • By moving some kirkwood files into a Marvell common directory, those files
    can be used by other Marvell platforms as well. The name mvebu is taken
    from the Linux kernel source tree. It has been chosen there to represent
    the SoC's from the Marvell EBU (Engineering Business Unit). Those SoC's
    currently are:

    Armada 370/375/XP, Dove, mv78xx0, Kirkwood, Orion5x

    This will be used by the upcoming Armada XP (MV78460) platform support.

    Signed-off-by: Stefan Roese
    Tested-by: Luka Perkov
    Acked-by: Prafulla Wadaskar

    Stefan Roese
     

14 Oct, 2014

1 commit


13 Oct, 2014

1 commit


07 Oct, 2014

1 commit


25 Sep, 2014

1 commit

  • [1] Move driver/core/, driver/input/ and drivers/input/ entries
    from the top Makefile to drivers/Makefile

    [2] Remove the conditional by CONFIG_DM in drivers/core/Makefile
    because the whole drivers/core directory is already selected
    by CONFIG_DM in the upper level

    [3] Likewise for CONFIG_DM_DEMO in drivers/demo/Makefile

    [4] Simplify common/Makefile - both CONFIG_DDR_SPD and
    CONFIG_SPD_EEPROM are boolean macros so they can directly
    select objects

    Signed-off-by: Masahiro Yamada
    Acked-by: Marek Vasut

    Masahiro Yamada