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 |
|
#
cf7c6f53 |
| 03-Dec-2018 |
Tom Rini <trini@konsulko.com> |
Merge branch '2018-12-03-master-imports'
- Baltos platform updates - rtc m41t62 converted to DM. - PowerPC MPC8xx DM conversion - Verified boot updates
|
#
ed47097a |
| 14-Nov-2018 |
Philippe Reynes <philippe.reynes@softathome.com> |
test: vboot: clean its file
This update the its file used in vboot test to respect the new node style name defined in doc/uImage.FIT (for example: replace kernel@1 by kernel and fdt@1 by fdt-1)
Sig
test: vboot: clean its file
This update the its file used in vboot test to respect the new node style name defined in doc/uImage.FIT (for example: replace kernel@1 by kernel and fdt@1 by fdt-1)
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
e246b728 |
| 14-Nov-2018 |
Philippe Reynes <philippe.reynes@softathome.com> |
test: vboot: add padding pss for rsa signature
The padding pss is now supported for rsa signature. This add test with padding pss on vboot test.
Signed-off-by: Philippe Reynes <philippe.reynes@soft
test: vboot: add padding pss for rsa signature
The padding pss is now supported for rsa signature. This add test with padding pss on vboot test.
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
6b215022 |
| 26-Nov-2018 |
Tom Rini <trini@konsulko.com> |
Merge branch '2018-11-25-master-imports'
- Bring in the series from Simon for SPL logging support and bloblist
|
#
6d07d63d |
| 15-Nov-2018 |
Simon Glass <sjg@chromium.org> |
sandbox: Drop the deprecated 'sb' command
The old 'sb' command was deprecated in 2015 and replaced with 'host'. Remove the remaining users and the command, so that the name is available for other pu
sandbox: Drop the deprecated 'sb' command
The old 'sb' command was deprecated in 2015 and replaced with 'host'. Remove the remaining users and the command, so that the name is available for other purposes.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
1703fbef |
| 11-Jul-2018 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
Revision tags: v2018.07 |
|
#
72239fc8 |
| 09-Jun-2018 |
Teddy Reed <teddy.reed@gmail.com> |
vboot: Add FIT_SIGNATURE_MAX_SIZE protection
This adds a new config value FIT_SIGNATURE_MAX_SIZE, which controls the max size of a FIT header's totalsize field. The field is checked before signature
vboot: Add FIT_SIGNATURE_MAX_SIZE protection
This adds a new config value FIT_SIGNATURE_MAX_SIZE, which controls the max size of a FIT header's totalsize field. The field is checked before signature checks are applied to protect from reading past the intended FIT regions.
This field is not part of the vboot signature so it should be sanity checked. If the field is corrupted then the structure or string region reads may have unintended behavior, such as reading from device memory. A default value of 256MB is set and intended to support most max storage sizes.
Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Teddy Reed <teddy.reed@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
Revision tags: v2018.03, v2018.01, v2017.11 |
|
#
8793631e |
| 14-Sep-2017 |
Paul Burton <paul.burton@imgtec.com> |
test/py: vboot: Remove stderr redirect from openssl command
The openssl command specified in test_with_algo() ultimately ends up being run by RunAndLog::run(), which uses it to construct a Popen obj
test/py: vboot: Remove stderr redirect from openssl command
The openssl command specified in test_with_algo() ultimately ends up being run by RunAndLog::run(), which uses it to construct a Popen object with the default shell=False. The stderr redirect in the command is therefore simply passed to openssl as an argument. With at least openssl 1.1.0f this causes openssl, and therefore test_vboot, to fail with:
genpkey: Use -help for summary. Exit code: 1
Any stderr output ought to be captured & stored in the RunAndLog object's output field and returned from run() via run_and_log() to test_with_algo() which then ignores it anyway, so we can drop the shell-like redirection with no ill effects. With this fix test_vboot now passes for me.
Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
#
83d290c5 |
| 06-May-2018 |
Tom Rini <trini@konsulko.com> |
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel style
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us.
In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style.
This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one.
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
#
2d26bf6c |
| 18-Sep-2017 |
Stephen Warren <swarren@nvidia.com> |
test/py: add skip marker for reliance on tools
Some tests use external tools (executables) during their operation. Add a test.py mark to indicate this. This allows those tests to be skipped if the r
test/py: add skip marker for reliance on tools
Some tests use external tools (executables) during their operation. Add a test.py mark to indicate this. This allows those tests to be skipped if the required tool is not present.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
#
de4be9ec |
| 18-Sep-2016 |
Tom Rini <trini@konsulko.com> |
test/py/tests/test_vboot.py: Add check that we boot the image
Make sure that when we're telling bootm to boot an image, and we expect the image to boot we get the output from sandbox that we attempt
test/py/tests/test_vboot.py: Add check that we boot the image
Make sure that when we're telling bootm to boot an image, and we expect the image to boot we get the output from sandbox that we attempted to run Linux and that U-Boot completed its job.
Cc: Simon Glass <sjg@chromium.org> Cc: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
#
f6d34651 |
| 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Adjust run_command_list() to return a list of strings
Return one string for each command that was executed. This seems cleaner.
Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by:
test: Adjust run_command_list() to return a list of strings
Return one string for each command that was executed. This seems cleaner.
Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
#
27c087d5 |
| 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Add a function to restart U-Boot
Add a proper function for this rather than using internal functions. Use it in the single call site.
Also, do a restart at the end of the vboot test to reset
test: Add a function to restart U-Boot
Add a proper function for this rather than using internal functions. Use it in the single call site.
Also, do a restart at the end of the vboot test to reset to the normal device tree.
Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
#
851271a7 |
| 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: vboot: Put each test variant in its own section
Use 'cons.log.section' feature to split up the test output. This makes it easier to read.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Si
test: vboot: Put each test variant in its own section
Use 'cons.log.section' feature to split up the test output. This makes it easier to read.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
ac9a23cf |
| 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Rename sha to sha_algo and pass it around
Rename this argument and pass it to each function that needs it, instead of making it global.
Suggested-by: Stephen Warren <swarren@nvidia.com> Sugge
test: Rename sha to sha_algo and pass it around
Rename this argument and pass it to each function that needs it, instead of making it global.
Suggested-by: Stephen Warren <swarren@nvidia.com> Suggested-by: Teddy Reed <teddy.reed@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
ec70f8a9 |
| 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Drop the cmd() function
Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments.
Suggested-by: Stephen Warren <swarren@nv
test: Drop the cmd() function
Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
72f52268 |
| 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Fix typos in comments
Fix some typos in various files introduced with the vboot test conversion.
Reported-by: Teddy Reed <teddy.reed@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
|
#
bcbd0c8f |
| 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Fix typos and tidy up
Fix review comments that were missed at the time. Also explain why we need to regenerate the device tree for each test.
Reported-by: Teddy Reed <teddy.reed@gmail.com> Su
test: Fix typos and tidy up
Fix review comments that were missed at the time. Also explain why we need to regenerate the device tree for each test.
Reported-by: Teddy Reed <teddy.reed@gmail.com> Suggested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: f6349c3c (test: Add a README)
show more ...
|
#
04a4786c |
| 18-Jul-2016 |
Michal Simek <michal.simek@xilinx.com> |
test/py: vboot can be run only at Sandbox
Getting this error: Zynq> sb load hostfs - 100 /home/monstr/data/disk/u-boot/build-zynq_zc706/test.fit Unknown command 'sb' - try 'help'
because sb command
test/py: vboot can be run only at Sandbox
Getting this error: Zynq> sb load hostfs - 100 /home/monstr/data/disk/u-boot/build-zynq_zc706/test.fit Unknown command 'sb' - try 'help'
because sb command is present only for Sandbox obj-$(CONFIG_SANDBOX) += host.o
that's why mark this test to be run only at Sandbox
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
c9ba60c4 |
| 18-Jul-2016 |
Stephen Warren <swarren@nvidia.com> |
test/py: use absolute dts path in vboot test
Without this, the test fails if the test is run with a cwd other than the root of the U-Boot source tree.
Fixes: 8729d582595d ("test: Convert the vboot
test/py: use absolute dts path in vboot test
Without this, the test fails if the test is run with a cwd other than the root of the U-Boot source tree.
Fixes: 8729d582595d ("test: Convert the vboot test to test/py") Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
Revision tags: v2016.07 |
|
#
8729d582 |
| 03-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Convert the vboot test to test/py
Now that we have a suitable test framework we should move all tests into it. The vboot test is a suitable candidate. Rewrite it in Python and move the data fi
test: Convert the vboot test to test/py
Now that we have a suitable test framework we should move all tests into it. The vboot test is a suitable candidate. Rewrite it in Python and move the data files into an appropriate directory.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|