05 Feb, 2018

1 commit


29 Jan, 2018

1 commit


17 Jan, 2018

1 commit

  • In some cases when "more" is told to page a given file it will prepend
    the output with:
    ::::::::::::::
    /PATH/TO/THE/FILE
    ::::::::::::::

    And when this happens the output will not match the expected length.
    Further, if we use a different pager we will instead fail the coverage
    tests as we will not have 100% coverage. Update the help test to remove
    the string in question.

    Reviewed-by: Simon Glass
    Signed-off-by: Tom Rini

    Tom Rini
     

23 Nov, 2017

2 commits

  • The tests were broken by two separate commits which adjusted the output
    when boards are listed. Fix this by adding back a PowerPC board and
    putting the name of each board in the test.

    Fixes: b9f7d881 (powerpc, 5xx: remove some "5xx" remains)
    Fixes: 8d7523c5 (buildman: Allow showing the list of boards with -n)

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Accessing the network slows down the test and limits the environment in
    which it can be run. Add an option to disable network tests.

    Signed-off-by: Simon Glass

    Simon Glass
     

30 Sep, 2017

1 commit

  • Corresponds to 375506d (File writing nit) from upstream
    (https://github.com/ulfalizer/Kconfiglib).

    Adds proper 'imply' support and fixes a few minor issues, one of which
    previously triggered the following weird warning:

    configs/taurus_defconfig: /tmp/tmpisI45S:6: warning: assignment to SPL_LDSCRIPT changes mode of containing choice from "arch/$(ARCH)/cpu/u-boot-spl.lds" to "y"

    The change in 8639f69 (genconfig.py: Print defconfig next to warnings)
    was reapplied.

    tools/moveconfig.py previously depended on a hack that merged 'select's
    with 'imply's. It was modified to look at the union of
    Symbol.get_selected_symbols() and Symbol.get_implied_symbols(), which
    should give the same behavior.

    tools/genboardscfg.py was verified to produce identical board.cfg's
    before and after the change.

    Signed-off-by: Ulf Magnusson

    Ulf Magnusson
     

12 Sep, 2017

1 commit

  • At present we sometimes see warnings of the form:

    /tmp/tmpMA89kB:36: warning: overriding the value of CMD_SPL.
    Old value: "y", new value: "y".

    This is not very useful as it does not show whch defconfig file it relates
    to. Update the tool to show this.

    Signed-off-by: Simon Glass

    Simon Glass
     

07 Jul, 2017

1 commit

  • AVR32 is gone. It's already more than two years for no support in Buildroot,
    even longer there is no support in GCC (last version is heavily patched 4.2.4).

    Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully).

    There is no good point to keep this support in U-Boot either.

    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini
    Reviewed-by: Heiko Schocher
    Signed-off-by: Andy Shevchenko

    Andy Shevchenko
     

16 Jun, 2017

1 commit


10 Jun, 2017

2 commits


09 Jun, 2017

1 commit


18 Apr, 2017

1 commit


15 Apr, 2017

1 commit

  • When writing out some of our results we may now have UTF-8 characters
    in there as well. Translate these to latin-1 and ignore any errors (as
    this is for diagnostic and given the githash anything else can be
    reconstructed by the user.

    Reviewed-by: Simon Glass
    Signed-off-by: Tom Rini

    Tom Rini
     

14 Apr, 2017

1 commit


10 Mar, 2017

1 commit

  • Currently upstream does not yet understand the imply keyword. For what
    we use kconfiglib.py for today, this is OK. We only need to be able to
    evaluate in order to make boards.cfg and none of those choices will
    depend on how imply evaluates out.

    Signed-off-by: Tom Rini

    Tom Rini
     

08 Feb, 2017

1 commit


29 Jan, 2017

1 commit


03 Dec, 2016

5 commits


06 Nov, 2016

1 commit


09 Oct, 2016

10 commits


19 Sep, 2016

1 commit


01 Aug, 2016

5 commits

  • For those who just want to build a board, it is useful to see a quick hint
    right at the start of the documentation. Add a few commands showing how to
    download toolchains and build a board.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The current code for setting up the toolchain config always writes the new
    paths to an item called 'toolchain'. This means that it will overwrite any
    existing toolchain item with the same name. In practice, this means that:

    buildman --fetch-arch all

    will fetch all toolchains, but only the path of the final one will be added
    to the config. This normally works out OK, since most toolchains are the
    same version (e.g. gcc 4.9) and will be found on the same path. But it is
    not correct and toolchains for archs which don't use the same version will
    not function as expected.

    Adjust the code to use a complete glob of the toolchain path.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     
  • It doesn't make sense to complain about missing toolchains when the
    --fetch-arch option is being used. The user is presumably aware that there
    is a toolchain problem and is actively correcting it by running with this
    option.

    Refactor the code to avoid printing this confusing message.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The function comment should say 'buildman'. Fix it.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     
  • Use colour to make it easier to see what is going on. Also print a message
    before downloading a new toolchain. Mention --fetch-arch in the message that
    is shown when there are no available toolchains, since this is the quickest
    way to resolve the problem.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass