c55a50f5 | 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Move state information into a new module
At present the control module has state information in it, since it is the primary user of this. But it is a bit odd to have entries and other module
binman: Move state information into a new module
At present the control module has state information in it, since it is the primary user of this. But it is a bit odd to have entries and other modules importing control to obtain this information.
It seems better to have a dedicated state module, which control can use as well. Create a new module using code from control and update other modules to use it.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
6c234bfb | 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Add an entry method for getting the default filename
Various entry implementations provide a way to obtain the default filename for an entry. But at present there is no base-class implementa
binman: Add an entry method for getting the default filename
Various entry implementations provide a way to obtain the default filename for an entry. But at present there is no base-class implementation for this function. Add one so that the API is defined.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
6434961b | 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Add methods for adding and updating properties
Add a few more functions which allow creating and modifying property values. If only we could do this so easily in the real world.
Signed-off-by
dtoc: Add methods for adding and updating properties
Add a few more functions which allow creating and modifying property values. If only we could do this so easily in the real world.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
fa80c25c | 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
dtoc: Allow syncing of the device tree back to a file
At present we require the caller to manually update the device tree using individual calls to libfdt functions. This is not ideal. It would be b
dtoc: Allow syncing of the device tree back to a file
At present we require the caller to manually update the device tree using individual calls to libfdt functions. This is not ideal. It would be better if we could make changes using the Python structure and then call a Sync() function to write them back.
Add this feature to the Fdt class. Update binman and the tests to match.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
0bfa7b09 | 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Support building a selection of images
Sometimes it is useful to build only a subset of the images provided by the binman configuration. Add a -i option for this. It can be given multiple ti
binman: Support building a selection of images
Sometimes it is useful to build only a subset of the images provided by the binman configuration. Add a -i option for this. It can be given multiple times to build several images. If the option is not given, all images are built.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
a326b495 | 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Tidy up the vblock entry
At present if there are two vblock entries an image their contents are written to the same file in the output directory. This prevents checking the contents of each
binman: Tidy up the vblock entry
At present if there are two vblock entries an image their contents are written to the same file in the output directory. This prevents checking the contents of each separately.
Fix this by adding part of the entry path to the filename, and add some missing comments.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
35b384cb | 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Add x86 support for starting TPL
Sometimes we want to include TPL for x86 platforms, such as when we want to select between different SPL images (e.g. for Chrome OS verified boot). Add suppo
binman: Add x86 support for starting TPL
Sometimes we want to include TPL for x86 platforms, such as when we want to select between different SPL images (e.g. for Chrome OS verified boot). Add support for this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
0b489364 | 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Generate an error when text is not provided
When the value of a text entry is not provided an execption is generated talking about a None type. This is confusing. Add a more explanatory erro
binman: Generate an error when text is not provided
When the value of a text entry is not provided an execption is generated talking about a None type. This is confusing. Add a more explanatory error and a test for this case.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|