[U-Boot] [PATCH v2 00/16] image: Fix various test failures

Simon Glass sjg at chromium.org
Thu Feb 25 16:29:44 CET 2016


Hi,

On 24 February 2016 at 09:14, Simon Glass <sjg at chromium.org> wrote:
> Recent changes have broken the FIT and vboot tests. Also the SPI tests have
> been wrong since before the last release and were disabled.
>
> This series collects together the required fixes.
>
> Note: The FIT and vboot tests are hard to run (in that each requires manual
> effort). At some point we should be able to bring these into Stephen Warren's
> test framework.
>
> Changes in v2:
> - Fix double space in comment
> - Use SANDBOX_TIMER_RATE instead of an open-coded value
>
> Simon Glass (16):
>   image: Correct the OS location code to work on sandbox
>   Revert "image-fit: Fix signature checking"
>   image: Fix FIT and vboot tests to exit sandbox correctly
>   trace: Fix compiler warnings in trace
>   lib: Don't instrument the div64 function
>   trace: Improve the trace test number recognition
>   timer: Support tracing fully
>   timer: Provide an early timer
>   timer: Set up the real timer after driver model is available
>   sandbox: timer: Support the early timer
>   sandbox: Correct ordering of defconfig
>   sandbox: Enable the early timer
>   sandbox: spi: Add more debugging to SPI emulation
>   sandbox: spi: Remove an incorrect free()
>   spi: Correct two error return values
>   spi: Re-enable the SPI flash tests
>
>  cmd/trace.c                   |  4 ++--
>  common/board_f.c              |  6 ++++++
>  common/board_r.c              | 14 ++++++++++++--
>  common/bootm.c                |  2 +-
>  common/image-fit.c            | 16 +++++++++++++---
>  configs/sandbox_defconfig     | 11 ++++++-----
>  drivers/mtd/spi/sandbox.c     | 14 ++++++++++----
>  drivers/mtd/spi/sf_probe.c    |  4 +---
>  drivers/mtd/spi/spi_flash.c   |  2 +-
>  drivers/timer/Kconfig         | 10 ++++++++++
>  drivers/timer/sandbox_timer.c | 18 +++++++++++++++---
>  drivers/timer/timer-uclass.c  |  6 +++---
>  include/image.h               |  5 +----
>  include/timer.h               | 21 +++++++++++++++++++++
>  lib/div64.c                   |  3 ++-
>  lib/time.c                    | 28 +++++++++++++++++++++-------
>  test/dm/Makefile              |  4 ++--
>  test/image/test-fit.py        |  4 ++++
>  test/trace/test-trace.sh      |  4 +++-
>  test/vboot/sandbox-u-boot.dts |  3 +++
>  20 files changed, 137 insertions(+), 42 deletions(-)
>
> --
> 2.7.0.rc3.207.g0ac5344
>

I would like to apply this series tomorrow as it fixes various test
problems for the release. Please let me know if there are any issues.

Regards,
Simon


More information about the U-Boot mailing list