| 04b43f32 | 25-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools/genboardscfg.py: ignore defconfigs starting with a dot
Kconfig in U-Boot creates a temporary file configs/.tmp_defconfig during processing "make <board>_defconfig". The temporary file might b
tools/genboardscfg.py: ignore defconfigs starting with a dot
Kconfig in U-Boot creates a temporary file configs/.tmp_defconfig during processing "make <board>_defconfig". The temporary file might be left over for some reasons.
Just in case, tools/genboardscfg.py should make sure to not read such garbage files.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 390f7035 | 22-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
buildman: run genboardscfg.py all the time
This commit makes sure boards.cfg is up to date before starting the build tests. tools/genboardscfg.py exits immediately printing "boards.cfg is up to dat
buildman: run genboardscfg.py all the time
This commit makes sure boards.cfg is up to date before starting the build tests. tools/genboardscfg.py exits immediately printing "boards.cfg is up to date. Nothing to do." when boards.cfg is already new.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 9c2d60c3 | 22-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools/genboardscfg.py: fix a bug of MAINTAINERS handling
This patch fixes a minor problem: If a block without "F: configs/*_defconfig" is followed by another block with "F: configs/*_defconfig",
tools/genboardscfg.py: fix a bug of MAINTAINERS handling
This patch fixes a minor problem: If a block without "F: configs/*_defconfig" is followed by another block with "F: configs/*_defconfig", the maintainers from the former block are squashed into the latter.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| 042a732c | 15-Aug-2014 |
Simon Glass <sjg@chromium.org> |
patman: Support the 'reverse' option for 'git log'
This option is currently not supported, but needs to be, for buildman to operate as expected.
Reported-by: York Sun <yorksun@freescale.com> Signed
patman: Support the 'reverse' option for 'git log'
This option is currently not supported, but needs to be, for buildman to operate as expected.
Reported-by: York Sun <yorksun@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 7bee1c91 | 25-Aug-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging |
| 7f6b8315 | 22-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
buildman: refactor help message
"buildman [options]" is displayed by default.
Append the rest of help messages to parser.usage instead of replacing it.
Besides, "-b <branch>" is not mandatory sinc
buildman: refactor help message
"buildman [options]" is displayed by default.
Append the rest of help messages to parser.usage instead of replacing it.
Besides, "-b <branch>" is not mandatory since commit fea5858e. Drop it from the usage.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| e0a4d06a | 21-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
patman: refactor help message
"patman [options]" is displayed by default.
Append the rest of help messages to parser.usage instead of replacing it.
Signed-off-by: Masahiro Yamada <yamada.m@jp.pana
patman: refactor help message
"patman [options]" is displayed by default.
Append the rest of help messages to parser.usage instead of replacing it.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| fd18a89e | 20-Aug-2014 |
Roger Meier <roger@bufferoverflow.ch> |
Makefile: remove generated boards.cfg within make distclean
Signed-off-by: Roger Meier <roger@bufferoverflow.ch> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Tested-by: Masahiro Yamada <
Makefile: remove generated boards.cfg within make distclean
Signed-off-by: Roger Meier <roger@bufferoverflow.ch> Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Tested-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org>
show more ...
|
| 5b12b7a1 | 07-Aug-2014 |
Roger Meier <roger@bufferoverflow.ch> |
tools/genboardscfg.py: no exception if columns undetectable
The existing terminalsize detection raised an exception on build server. Just removes the exception. This also deactivates the progress in
tools/genboardscfg.py: no exception if columns undetectable
The existing terminalsize detection raised an exception on build server. Just removes the exception. This also deactivates the progress indicator.
Remove a trainling whitespace.
Signed-off-by: Roger Meier <roger@bufferoverflow.ch> CC: Masahiro Yamada <yamada.m@jp.panasonic.com> CC: Tom Rini <trini@ti.com>
show more ...
|
| ca418dd7 | 06-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools/genboardscfg.py: Do not output SPLCPU field
Prior to Kconfig, the CPU field of boards.cfg could optionally have ":SPLCPU", like "armv7:arm720t". (Actually this syntax was only used for Tegra p
tools/genboardscfg.py: Do not output SPLCPU field
Prior to Kconfig, the CPU field of boards.cfg could optionally have ":SPLCPU", like "armv7:arm720t". (Actually this syntax was only used for Tegra platform.)
Now it is not necessary at all because CPU is defined by CONFIG_SYS_CPU in Kconfig.
For Tegra platform, the Kconfig option is described as follows:
config SYS_CPU string default "arm720t" if SPL_BUILD default "armv7" if !SPL_BUILD
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| 31e2141d | 15-Aug-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools, scripts: refactor error-out statements of Python scripts
In Python, sys.exit() function can also take an object other than an integer.
If an integer is given to the argument, Python exits wi
tools, scripts: refactor error-out statements of Python scripts
In Python, sys.exit() function can also take an object other than an integer.
If an integer is given to the argument, Python exits with the return code of it. If a non-integer argument is given, Python outputs it to stderr and exits with the return code of 1.
That means,
print >> sys.stderr, "Blah Blah" sys.exit(1)
is equivalent to
sys.exit("Blah Blah")
The latter is a useful shorthand.
Note: Some error messages in Buildman and Patman were output to stdout. But they should go to stderr. They are also fixed by this commit. This is a nice side effect.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 31cbe80c | 09-Aug-2014 |
Luka Perkov <luka@openwrt.org> |
mkimage: fix compilation issues on OpenBSD
Signed-off-by: Luka Perkov <luka@openwrt.org> |
| 686dca0f | 11-Aug-2014 |
Heiko Schocher <hs@denx.de> |
tools, fit_info: increase buffer for command name
currently the buffer for command name is 50 bytes only. If using fit_info with long absolute paths, this is not enough, so raise it to 256 (as it is
tools, fit_info: increase buffer for command name
currently the buffer for command name is 50 bytes only. If using fit_info with long absolute paths, this is not enough, so raise it to 256 (as it is in fit_check_sign)
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 04a710a5 | 11-Aug-2014 |
Heiko Schocher <hs@denx.de> |
tools: fix typo in tools/image-host.c
fix a typo in error printf. If FIT_CONFS_PATH is not found print FIT_CONFS_PATH not FIT_IMAGES_PATH.
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Simon Glass
tools: fix typo in tools/image-host.c
fix a typo in error printf. If FIT_CONFS_PATH is not found print FIT_CONFS_PATH not FIT_IMAGES_PATH.
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| e49f14af | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
patman: Only use git's --no-decorate when available
Older versions of git (e.g. Ubuntu 10.04) do not support this flag. By default they do not decorate. So only enable this flag when supported.
Sug
patman: Only use git's --no-decorate when available
Older versions of git (e.g. Ubuntu 10.04) do not support this flag. By default they do not decorate. So only enable this flag when supported.
Suggested-by: Tom Rini <trini@ti.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| cda2a611 | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
patman: Move the 'git log' command into a function
Move the code that builds a 'git log' command into a function so we can more easily adjust it.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 3b74ba5f | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Allow selection of the number of commits to build
It is useful to be able to build only some of the commits in a branch. Add support for the -c option to allow this. It was previously pars
buildman: Allow selection of the number of commits to build
It is useful to be able to build only some of the commits in a branch. Add support for the -c option to allow this. It was previously parsed by buildman but not implemented.
Suggested-by: York Sun <yorksun@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: York Sun <yorksun@freescale.com>
show more ...
|
| 6131beab | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Introduce an 'and' operator for board selection
Currently buildman allows a list of boards to build to be specified on the command line. The list can include specific board names, architec
buildman: Introduce an 'and' operator for board selection
Currently buildman allows a list of boards to build to be specified on the command line. The list can include specific board names, architecture, SOC and so on.
At present the list of boards is dealt with in an 'OR' fashion, and there is no way to specify something like 'arm & freescale', meaning boards with ARM architecture but only those made by Freescale. This would exclude the PowerPC boards made by Freescale.
Support an '&' operator on the command line to permit this. Ensure that arguments can be specified in a single string to permit easy shell quoting.
Suggested-by: York Sun <yorksun@freescale.com> Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: York Sun <yorksun@freescale.com>
show more ...
|
| e9569478 | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add a few more toolchain examples to the README
The current README is a bit sparse in this area, so add a few more examples.
Suggested-by: Tom Rini <trini@ti.com> Signed-off-by: Simon Gla
buildman: Add a few more toolchain examples to the README
The current README is a bit sparse in this area, so add a few more examples.
Suggested-by: Tom Rini <trini@ti.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 28370c1b | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add a message indicating there are no errors
If buildman finds no problems it prints nothing. This can be a bit confusing, so add a message that all is well.
Signed-off-by: Simon Glass <s
buildman: Add a message indicating there are no errors
If buildman finds no problems it prints nothing. This can be a bit confusing, so add a message that all is well.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 0f7c9dda | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to specify the buildman config file
Add a new --config-file option (-G) to specify a different configuration file from the default ~/.buildman.
Reported-by: Tom Rini <trini@
buildman: Add an option to specify the buildman config file
Add a new --config-file option (-G) to specify a different configuration file from the default ~/.buildman.
Reported-by: Tom Rini <trini@ti.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| d3269ed3 | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Remove unused non-incremental build method code
The non-incremental build method is no longer used, so remove it.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| e5a0e5d8 | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add verbose option to display errors as they happen
Normally buildman operates in two passes - one to do the build and another to summarise the errors. Add a verbose option (-v) to display
buildman: Add verbose option to display errors as they happen
Normally buildman operates in two passes - one to do the build and another to summarise the errors. Add a verbose option (-v) to display build problems as they happen. With -e also given, this will display errors too.
When building the current source tree (rather than a list of commits in a branch), both -v and -e are enabled automatically.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| b2ea7ab2 | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Refactor output options
We need the output options to be available in several places. It's a pain to pass them into each function. Make them properties of the builder and add a single func
buildman: Refactor output options
We need the output options to be available in several places. It's a pain to pass them into each function. Make them properties of the builder and add a single function to set them up. At the same time, add a function which produces summary output using these options.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| c1de5014 | 09-Aug-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Sort command line options
These options have got slightly out of order. Fix them.
Signed-off-by: Simon Glass <sjg@chromium.org> |