Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04 |
|
#
3ae192c2 |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
binman: Add a test for Intel reference code
Unfortunately the test was not included in the original implementation. Add one.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass
binman: Add a test for Intel reference code
Unfortunately the test was not included in the original implementation. Add one.
Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
3d5ced9e |
| 10-Oct-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'dm-9oct18' of git://git.denx.de/u-boot-dm
Test improvements to tidy up output and drop duplicate tests Sandbox SPL/TPL support Various dm-related improvements
|
#
741f2d62 |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
binman: Move to three-digit test-file numbers
We now have 99 tests. Before adding any more, rename everything to three digits. This helps to preserve the ordering of tests and makes it easier to fin
binman: Move to three-digit test-file numbers
We now have 99 tests. Before adding any more, rename everything to three digits. This helps to preserve the ordering of tests and makes it easier to find things.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
11ae93ee |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
binman: Run tests concurrently
At present the tests run one after the other using a single CPU. This is not very efficient. Bring in the concurrencytest module and run the tests concurrently, using
binman: Run tests concurrently
At present the tests run one after the other using a single CPU. This is not very efficient. Bring in the concurrencytest module and run the tests concurrently, using one process for each CPU by default. A -P option allows this to be overridden, which is necessary for code-coverage to function correctly.
This requires fixing a few tests which are currently not fully independent.
At some point we might consider doing this across all pytests in U-Boot. There is a pytest version that supports specifying the number of processes to use, but it did not work for me.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
86af511d |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
binman: Separate out testSplBssPad()
At present this test runs binman twice, which means that the temporary files from the first run do not get cleaned up. Split this into two tests to fix this prob
binman: Separate out testSplBssPad()
At present this test runs binman twice, which means that the temporary files from the first run do not get cleaned up. Split this into two tests to fix this problem.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
e0e6275f |
| 01-Oct-2018 |
Simon Glass <sjg@chromium.org> |
binman: Fix up removal of temporary directories
At present 'make check' leaves some temporary directories around. Part of this is because we call tools.PrepareOutputDir() twice in some cases, withou
binman: Fix up removal of temporary directories
At present 'make check' leaves some temporary directories around. Part of this is because we call tools.PrepareOutputDir() twice in some cases, without calling tools.FinaliseOutputDir() in between.
Fix this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
d24c1d0f |
| 30-Sep-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
#
163ed6c3 |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Allow writing a map file when something goes wrong
When we get a problem like overlapping regions it is sometimes hard to figure what what is going on. At present we don't write the map file
binman: Allow writing a map file when something goes wrong
When we get a problem like overlapping regions it is sometimes hard to figure what what is going on. At present we don't write the map file in this case. However the file does provide useful information.
Catch any packing errors and write a map file (if enabled with -m) to aid debugging.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
fe1ae3ec |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Support ELF files for U-Boot and SPL
For sandbox we want to put ELF files in the image since that is what we need to execute. Add support for this.
Signed-off-by: Simon Glass <sjg@chromium.
binman: Support ELF files for U-Boot and SPL
For sandbox we want to put ELF files in the image since that is what we need to execute. Add support for this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
f8f8df6e |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Correct fmap output on x86
Normally x86 platforms use the end-at-4gb option. This currently produces an FMAP with positions which have a large offset. The use of end-at-4gb is a useful conve
binman: Correct fmap output on x86
Normally x86 platforms use the end-at-4gb option. This currently produces an FMAP with positions which have a large offset. The use of end-at-4gb is a useful convenience within binman, but we don't really want to export a map with these offsets.
Fix this by subtracting the 'skip at start' parameter.
Also put the code which convers names to fmap format, for clarity.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
f0253635 |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Support x86 microcode in TPL
When TPL is used on x86 we may want to program the microcode (at least for the first CPU) early in boot. Add support for this by refactoring the existing code to
binman: Support x86 microcode in TPL
When TPL is used on x86 we may want to program the microcode (at least for the first CPU) early in boot. Add support for this by refactoring the existing code to be more generic.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
e0e5df93 |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Support hashing entries
Sometimesi it us useful to be able to verify the content of entries with a hash. Add an easy way to do this in binman. The hash information can be retrieved from the
binman: Support hashing entries
Sometimesi it us useful to be able to verify the content of entries with a hash. Add an easy way to do this in binman. The hash information can be retrieved from the device tree at run time.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
ba64a0bb |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Support expanding entries
It is useful to have entries which can grow automatically to fill available space. Add support for this.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
0a98b28b |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Support adding files
In some cases it is useful to add a group of files to the image and be able to access them at run-time. Of course it is possible to generate the binman config file with
binman: Support adding files
In some cases it is useful to add a group of files to the image and be able to access them at run-time. Of course it is possible to generate the binman config file with a set of blobs each with a filename. But for convenience, add an entry type which can do this.
Add required support (for adding nodes and string properties) into the state module.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
83d73c2f |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Support compressed entries
Add support for compressing blob entries. This can help reduce image sizes for many types of data. It requires that the firmware be able to decompress the data at
binman: Support compressed entries
Add support for compressing blob entries. This can help reduce image sizes for many types of data. It requires that the firmware be able to decompress the data at run-time.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
d29a5831 |
| 29-Sep-2018 |
Tom Rini <trini@konsulko.com> |
Merge tag 'mpc85xx-for-v2018.11-rc1' of git://git.denx.de/u-boot-mpc85xx
Use device tree for mpc85xx with binman. Enabled for T2080QDS.
|
#
6ed45ba0 |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Support updating all device tree files
Binman currently supports updating the main device tree with things like the position of each entry. Extend this support to SPL and TPL as well, since
binman: Support updating all device tree files
Binman currently supports updating the main device tree with things like the position of each entry. Extend this support to SPL and TPL as well, since they may need (a subset of) this information.
Also adjust DTB output files to have a .out extension since this seems clearer than having a .dtb extension with 'out' in the name somwhere.
Also add a few missing comments and update the DT setup code to use ReadFile and WriteFile().
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
93d17413 |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Allow control of whether a fake DT is used
We use a fake device tree in tests most of the time since tests don't normally care about the actual data. For example, for U-Boot proper we use U_
binman: Allow control of whether a fake DT is used
We use a fake device tree in tests most of the time since tests don't normally care about the actual data. For example, for U-Boot proper we use U_BOOT_DTB_DATA which is just a four-character string. This makes testing the image output against an expected value very easy.
However in some cases, such as when the test wants to check that the DT output containing particular nodes, we do actually need the real DT. Add support for this, along with a command-line option to select 'test mode'.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
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 ...
|
#
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 ...
|
#
d178eab8 |
| 14-Sep-2018 |
Simon Glass <sjg@chromium.org> |
binman: Allow 'fill' entry to have a size of 0
The check for this should be for None, not 0. Fix it and add a test.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
9d368f32 |
| 03-Sep-2018 |
Jagdish Gediya <jagdish.gediya@nxp.com> |
binman: Add support for PowerPC mpc85xx 'bootpg + resetvec' entry
This entry contains the PowerPC mpc85xx boot page and resetvec sections.
Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Rev
binman: Add support for PowerPC mpc85xx 'bootpg + resetvec' entry
This entry contains the PowerPC mpc85xx boot page and resetvec sections.
Signed-off-by: Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
show more ...
|