All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 00/16] image: Fix various test failures
@ 2016-02-24 16:14 Simon Glass
  2016-02-24 16:14 ` [U-Boot] [PATCH v2 01/16] image: Correct the OS location code to work on sandbox Simon Glass
                   ` (16 more replies)
  0 siblings, 17 replies; 34+ messages in thread
From: Simon Glass @ 2016-02-24 16:14 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2016-02-26 17:13 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-24 16:14 [U-Boot] [PATCH v2 00/16] image: Fix various test failures Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 01/16] image: Correct the OS location code to work on sandbox Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 02/16] Revert "image-fit: Fix signature checking" Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 03/16] image: Fix FIT and vboot tests to exit sandbox correctly Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 04/16] trace: Fix compiler warnings in trace Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 05/16] lib: Don't instrument the div64 function Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 06/16] trace: Improve the trace test number recognition Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 07/16] timer: Support tracing fully Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 08/16] timer: Provide an early timer Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 09/16] timer: Set up the real timer after driver model is available Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 10/16] sandbox: timer: Support the early timer Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 11/16] sandbox: Correct ordering of defconfig Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 12/16] sandbox: Enable the early timer Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 13/16] sandbox: spi: Add more debugging to SPI emulation Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 14/16] sandbox: spi: Remove an incorrect free() Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 15/16] spi: Correct two error return values Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-24 16:14 ` [U-Boot] [PATCH v2 16/16] spi: Re-enable the SPI flash tests Simon Glass
2016-02-26 17:13   ` Simon Glass
2016-02-25 15:29 ` [U-Boot] [PATCH v2 00/16] image: Fix various test failures Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.