22 Nov, 2013

2 commits

  • A common use-case is to build all boards for a particular SoC. This can
    be achieved by:

    ./tools/buildman/buildman -b mainline_dev tegra20

    However, when the SoC is a member of a family of SoCs, and each SoC has
    a different name, it would be even more useful to build all boards for
    every SoC in that family. This currently isn't possible since buildman's
    board selection command-line arguments are compared to board definitions
    using pure string equality.

    To enable this, compare using a regex match instead. This matches
    MAKEALL's handling of command-line arguments. This enables:

    (all Tegra)
    ./tools/buildman/buildman -b mainline_dev tegra

    (all Tegra)
    ./tools/buildman/buildman -b mainline_dev '^tegra.*$'

    (all Tegra20, Tegra30 boards, but not Tegra114)
    ./tools/buildman/buildman -b mainline_dev 'tegra[23]'

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

    Stephen Warren
     
  • This is a trivial fix for c'n'p error.

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

    Andreas Bießmann
     

15 Oct, 2013

3 commits


11 Oct, 2013

1 commit

  • When a toolchain invocation fails, an exception is thrown but not caught
    which then aborts the entire toolchain detection process. To solve this,
    request that exceptions not be thrown, since the toolchain init code
    already error-checks the command result. This solves e.g.:

    - found '/usr/bin/winegcc'
    Traceback (most recent call last):
    ...
    Exception: Error running '/usr/bin/winegcc --version'

    Change-Id: I579c72ab3b021e38b14132893c3375ea257c74f0
    Signed-off-by: Stephen Warren
    Acked-by: Simon Glass
    Signed-off-by: Simon Glass
    (formatted to 80cols)

    Stephen Warren
     

02 Oct, 2013

2 commits

  • There are a few make options such as BUILD_TAG which can be provided when
    building U-Boot. Provide a way for buildman to pass these flags to make
    also.

    The flags should be in a [make-flags] section and arranged by target name
    (the 'target' column in boards.cfg. See the README for more details.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Commit 27af930e9a5c91365ca639ada580b338eabe4989 changed the boards.cfg format
    but missed to change the parsing in buildman. A follow-on commit
    03c1bb242548e4e9d267d784861ccd69a1887aa0 fixed this but missed fixing the
    tests.

    This patch updates the tests to fit the new Board constructor.

    ./tools/buildman/buildman -t

    Signed-off-by: Simon Glass

    Simon Glass
     

20 Sep, 2013

1 commit

  • Commit 27af930e9a5c91365ca639ada580b338eabe4989 changed the boards.cfg format
    but missed to change the parsing in buildman.

    This patch changes c'tor of Board class to the new sequence, but omits
    maintainer field.

    Signed-off-by: Andreas Bießmann

    Andreas Bießmann
     

12 Sep, 2013

1 commit


24 Jul, 2013

1 commit


15 May, 2013

1 commit


10 May, 2013

1 commit

  • Conflicting tags can prevent buildman from building two series which exist
    one after the other in a branch. There is no reason not to allow this sort
    of workflow with buildman, so ignore conflicting tags in buildman.

    Change-Id: I2231d04d8684fe0f8fe77f8ea107e5899a3da5e8
    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     

05 Apr, 2013

1 commit

  • This tool handles building U-Boot to check that you have not broken it
    with your patch series. It can build each individual commit and report
    which boards fail on which commits, and which errors come up. It also
    shows differences in image sizes due to particular commits.

    Buildman aims to make full use of multi-processor machines.

    Documentation and caveats are in tools/buildman/README.

    Signed-off-by: Simon Glass

    Simon Glass