| 7497a6a1 | 16-Feb-2016 |
Kevin Smith <kevin.smith@elecsyscorp.com> |
tools: kwboot: Add xmodem timeout option
Add command-line specification of xmodem timeout. If the binary header needs to take a while to do something (e.g. DDR ECC scrubbing), the xmodem transfer c
tools: kwboot: Add xmodem timeout option
Add command-line specification of xmodem timeout. If the binary header needs to take a while to do something (e.g. DDR ECC scrubbing), the xmodem transfer can time out. Add a configurable xmodem block timeout to allow transfers with slow binary headers to succeed.
Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
show more ...
|
| 5b15a259 | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
mkimage: Don't close the file if it wasn't opened
The error path for fit_import_data() is incorrect if the second open() call fails.
Reported-by: Coverity (CID: 138489) Signed-off-by: Simon Glass <
mkimage: Don't close the file if it wasn't opened
The error path for fit_import_data() is incorrect if the second open() call fails.
Reported-by: Coverity (CID: 138489) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| 3bd3a54a | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
mkimage: Ensure file is closed in fdt_property_file()
The file that is opened is not closed in all cases. Fix it.
Reported-by: Coverity (CID: 138490) Signed-off-by: Simon Glass <sjg@chromium.org> R
mkimage: Ensure file is closed in fdt_property_file()
The file that is opened is not closed in all cases. Fix it.
Reported-by: Coverity (CID: 138490) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| 7b0bbd88 | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
mkimage: Fix missing free() and close() in fit_build()
Make sure that both the error path and normal return free the buffer and close the file.
Reported-by: Coverity (CID: 138491) Signed-off-by: Si
mkimage: Fix missing free() and close() in fit_build()
Make sure that both the error path and normal return free the buffer and close the file.
Reported-by: Coverity (CID: 138491) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| 21c2975a | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
mkimage: Fix missing free() in fit_extract_data()
The 'buf' variable is not freed. Fix it.
Reported-by: Coverity (CID: 138492) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <t
mkimage: Fix missing free() in fit_extract_data()
The 'buf' variable is not freed. Fix it.
Reported-by: Coverity (CID: 138492) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| b97d71e2 | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
mkimage: Fix error path in fit_extract_data()
The 'fdt' variable is not unmapped in all error cases. Fix this.
Reported-by: Coverity (CID: 138493)
Signed-off-by: Simon Glass <sjg@chromium.org> Rev
mkimage: Fix error path in fit_extract_data()
The 'fdt' variable is not unmapped in all error cases. Fix this.
Reported-by: Coverity (CID: 138493)
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| 6e0ffce6 | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
mkimage: Add a missing free() to fit_import_data()
The space allocated to fdt is not freed on error. Fix it.
Reported-by: Coverity (CID: 138494)
Signed-off-by: Simon Glass <sjg@chromium.org> Revie
mkimage: Add a missing free() to fit_import_data()
The space allocated to fdt is not freed on error. Fix it.
Reported-by: Coverity (CID: 138494)
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| f980ca34 | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
mkimage: Correct file being closed twice in fit_extract_data()
The code flows through to the end of the function, so we don't need another close() before this. Remove it.
Reported-by: Coverity (CID
mkimage: Correct file being closed twice in fit_extract_data()
The code flows through to the end of the function, so we don't need another close() before this. Remove it.
Reported-by: Coverity (CID: 138503)
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| 508b028a | 16-Mar-2016 |
Simon Glass <sjg@chromium.org> |
mkimage: Correct file being closed twice in fit_import_data()
The code flows through to the end of the function, so we don't need another close() before this. Remove it.
Reported-by: Coverity (CID:
mkimage: Correct file being closed twice in fit_import_data()
The code flows through to the end of the function, so we don't need another close() before this. Remove it.
Reported-by: Coverity (CID: 138504)
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| c81d0d21 | 13-Mar-2016 |
Simon Glass <sjg@chromium.org> |
buildman: Clarify the use of -V
This option outputs to the log file, not to the terminal. Clarify that in the help, and add a mention of it in the README.
Signed-off-by: Simon Glass <sjg@chromium.o
buildman: Clarify the use of -V
This option outputs to the log file, not to the terminal. Clarify that in the help, and add a mention of it in the README.
Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Stephen Warren <swarren@wwwdotorg.org> Reviewed-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| 17bce66c | 13-Mar-2016 |
Simon Glass <sjg@chromium.org> |
buildman: Add a way to specific a full toolchain prefix
At present buildman allows you to specify the directory containing the toolchain, but not the actual toolchain prefix. If there are multiple t
buildman: Add a way to specific a full toolchain prefix
At present buildman allows you to specify the directory containing the toolchain, but not the actual toolchain prefix. If there are multiple toolchains in a single directory, this can be inconvenient.
Add a new 'toolchain-prefix' setting to the settings file, which allows the full prefix (or path to the C compiler) to be specified.
Update the documentation to match.
Suggested-by: Stephen Warren <swarren@wwwdotorg.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Stephen Warren <swarren@nvidia.com>
show more ...
|