| 0740127f | 02-Dec-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Don't remove entire output directory when testing
When running tests the output directory is often wiped. This is only safe if a branch is being built. The output directory may contain oth
buildman: Don't remove entire output directory when testing
When running tests the output directory is often wiped. This is only safe if a branch is being built. The output directory may contain other things besides the buildman test output.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 5971ab5c | 02-Dec-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Add an option to flatten output directory trees
When building current source for a single board, buildman puts the output in <output_dir>/current/current/<board>. Add an option to make it
buildman: Add an option to flatten output directory trees
When building current source for a single board, buildman puts the output in <output_dir>/current/current/<board>. Add an option to make it use <output_dir>/<board> instead. This removes the unnecessary directories in that case, controlled by the --no-subdirs/-N option.
Suggested-by: Tom Rini <trini@ti.com> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 2a9e2c6a | 02-Dec-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Try to guess the upstream commit
Buildman normally obtains the upstream commit by asking git. Provided that the branch was created with 'git checkout -b <branch> <some_upstream>' then this
buildman: Try to guess the upstream commit
Buildman normally obtains the upstream commit by asking git. Provided that the branch was created with 'git checkout -b <branch> <some_upstream>' then this normally works.
When there is no upstream, we can try to guess one, by looking up through the commits until we find a branch. Add a function to try this and print a warning if buildman ends up relying on it.
Also update the documentation to match.
Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| 1a915675 | 02-Dec-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Don't prune output space for 'current source' build
This is not needed since we always do a full (non-incremental) build. Also it might be dangerous since it will try to delete everything
buildman: Don't prune output space for 'current source' build
This is not needed since we always do a full (non-incremental) build. Also it might be dangerous since it will try to delete everything below the base directory.
Fix this potentially nasty bug.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 05c96b18 | 02-Dec-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Put build in 'current', not 'current/current'
Buildman currently puts current-source builds in a current/current subdirectory, but there is no need for the extra depth.
Suggested-by: Albe
buildman: Put build in 'current', not 'current/current'
Buildman currently puts current-source builds in a current/current subdirectory, but there is no need for the extra depth.
Suggested-by: Albert Aribaud <albert.u.boot@aribaud.net> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| f411b8f2 | 24-Oct-2014 |
Andreas Bießmann <andreas.devel@googlemail.com> |
tools/kwbimage.c: fix parser error handling
The two error checks for image_boot_mode_id and image_nand_ecc_mode_id where wrong and would never fail, fix that!
This was detected by Apple's clang com
tools/kwbimage.c: fix parser error handling
The two error checks for image_boot_mode_id and image_nand_ecc_mode_id where wrong and would never fail, fix that!
This was detected by Apple's clang compiler: ---8<--- HOSTCC tools/kwbimage.o tools/kwbimage.c:553:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (el->bootfrom < 0) { ~~~~~~~~~~~~ ^ ~ tools/kwbimage.c:571:23: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (el->nandeccmode < 0) { ~~~~~~~~~~~~~~~ ^ ~ 2 warnings generated. --->8---
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com> Acked-By: Jeroen Hofstee <jeroen@myspectrum.nl>
show more ...
|
| 31eca697 | 16-Dec-2014 |
Simon Glass <sjg@chromium.org> |
x86: ifdtool: Add support for early microcode access
Some Intel CPUs use an 'FSP' binary blob which provides an inflexible means of starting up the CPU. One result is that microcode updates can only
x86: ifdtool: Add support for early microcode access
Some Intel CPUs use an 'FSP' binary blob which provides an inflexible means of starting up the CPU. One result is that microcode updates can only be done before RAM is available and therefore parsing of the device tree is impracticle.
Worse, the addess of the microcode update must be stored in ROM since a pointer to its start address and size is passed to the 'FSP' blob. It is not possible to perform any calculations to obtain the address and size.
To work around this, ifdtool is enhanced to work out the address and size of the first microcode update it finds in the supplied device tree. It then writes these into the correct place in the ROM. U-Boot can then start up the FSP correctly.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 65851fce | 15-Dec-2014 |
Simon Glass <sjg@chromium.org> |
x86: ifdtool: Use a structure for the file/address list
Rather than two independent arrays, use a single array of a suitable structure. Also add a 'type' member since we will shortly add additional
x86: ifdtool: Use a structure for the file/address list
Rather than two independent arrays, use a single array of a suitable structure. Also add a 'type' member since we will shortly add additional types.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| fa8d3b00 | 15-Dec-2014 |
Simon Glass <sjg@chromium.org> |
x86: ifdtool: Display filename when file errors are reported
When a file is missing it helps to know which file. Update the error message to print this information.
Signed-off-by: Simon Glass <sjg@
x86: ifdtool: Display filename when file errors are reported
When a file is missing it helps to know which file. Update the error message to print this information.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
show more ...
|
| 7dfb172d | 14-Dec-2014 |
Simon Glass <sjg@chromium.org> |
x86: ifdtool: Separate out filenames for -D and -i
To allow these options to be specified together, separate them out.
Change-Id: Ib93f11cd51eb3302127f4c82936ff2b44c88d5a2 Signed-off-by: Simon Glas
x86: ifdtool: Separate out filenames for -D and -i
To allow these options to be specified together, separate them out.
Change-Id: Ib93f11cd51eb3302127f4c82936ff2b44c88d5a2 Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 1d8104fe | 16-Oct-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Don't default to -e when building current source
We probably don't need to enable this option by default. It is useful to display only failure boards (not errors) and it is easy to add -e
buildman: Don't default to -e when building current source
We probably don't need to enable this option by default. It is useful to display only failure boards (not errors) and it is easy to add -e if it is required. Also update the docs.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Albert Aribaud <albert.u.boot@aribaud.net>
show more ...
|
| f66153be | 16-Oct-2014 |
Simon Glass <sjg@chromium.org> |
buildman: Fix repeating board list with -l
Ensure that we don't print duplicate board names when -l is used.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Albert Aribaud <albert.u.boot
buildman: Fix repeating board list with -l
Ensure that we don't print duplicate board names when -l is used.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Albert Aribaud <albert.u.boot@aribaud.net>
show more ...
|
| 0b5b409a | 15-Oct-2014 |
Simon Glass <sjg@chromium.org> |
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.or
patman: Use the full commit hash for 'git checkout'
Even with the initial 8 characeters of the hash we will sometimes get a collision. Use the full hash.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|