[PATCH] sandbox: Reduce keyed autoboot delay

Simon Glass sjg at chromium.org
Sun Aug 1 01:03:37 CEST 2021


Hi Simon,

On 7/24/21 11:14 PM, Simon Glass wrote:
> The autoboot tests are a recent addition to U-Boot, providing much-needed
> coverage in this area.
>
> A side effect of the keyed autoboot test is that this feature is enabled
> in sandbox always. This changes the autoboot prompt and confuses the
> pytests. Some tests become slower, for example the vboot tests take about
> 27s now instead of 3s.
>
> We don't actually need this feature enabled to be able to run the tests.
> Add a switch to allow sandbox to turn it on and off as needed. Use this
> in the one test that needs it.
>
> Add a command-line flag in case this is desired in normal use.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Fixes: 25c8b9f298e ("test: add first autoboot unit tests")

Reviewed-by: Steffen Jaeckel <jaeckel-floss at eyet-services.de>

Cheers
Steffen

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list