All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] Fix AVB pytest suite for sandbox
@ 2026-10-15 13:54 Mattijs Korpershoek
  2026-10-15 13:54 ` [PATCH 01/10] avb: Use map_to_sysmem() for flush_cache() address Mattijs Korpershoek
                   ` (10 more replies)
  0 siblings, 11 replies; 35+ messages in thread
From: Mattijs Korpershoek @ 2026-10-15 13:54 UTC (permalink / raw)
  To: Igor Opaniuk, u-boot
  Cc: Jan Kehren, Guillaume La Roque, Tom Rini, Simon Glass,
	Mattijs Korpershoek

The AVB tests have the following limitations on sandbox:

* The mmc1.img required by sandbox is not created when the avb test runs
* mmc1.img contains a Fedora image, so avb verification cannot be done
* The tests silently pass due to bad usage of string.find()

This series improve the test suite to have more useful results on
sandbox.

Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
---
Mattijs Korpershoek (10):
      avb: Use map_to_sysmem() for flush_cache() address
      test/py: android: Move android image creation to a dedicated file
      test/py: android: Drop verbose printing and unused return
      test/py: android: Use for loop to create the images / update disks
      test/py: android: Add create_gpt_image() for image creation
      test/py: android: Add setup_android_v{4,2}_image subfunctions
      test/py: avb: Use format specifiers instead of str() for mmc_dev
      test/py: avb: Move mmc device number to a pytest fixture
      test/py: avb: Add sandbox AVB testing with dedicated mmc12 device
      test/py: avb: Fix find() logic when matching response strings

 arch/sandbox/dts/test.dts                   |   8 ++
 common/avb_verify.c                         |   3 +-
 test/py/tests/test_android/android_image.py | 104 ++++++++++++++++++++++
 test/py/tests/test_android/test_abootimg.py |  77 +++++++++++++++++
 test/py/tests/test_android/test_avb.py      |  70 ++++++++++-----
 test/py/tests/test_ut.py                    | 129 +---------------------------
 6 files changed, 239 insertions(+), 152 deletions(-)
---
base-commit: fed92546960a92177d67c0b8d7b22385f50fed29
change-id: 20261015-test-avb-fixes-9a4682e8057d

Best regards,
-- 
Mattijs Korpershoek <mkorpershoek@kernel.org>


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

end of thread, other threads:[~2026-10-20  8:52 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15 13:54 [PATCH 00/10] Fix AVB pytest suite for sandbox Mattijs Korpershoek
2026-10-15 13:54 ` [PATCH 01/10] avb: Use map_to_sysmem() for flush_cache() address Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-19 10:26   ` Igor Opaniuk
2026-10-15 13:54 ` [PATCH 02/10] test/py: android: Move android image creation to a dedicated file Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-19 10:27   ` Igor Opaniuk
2026-10-15 13:54 ` [PATCH 03/10] test/py: android: Drop verbose printing and unused return Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-19 10:27   ` Igor Opaniuk
2026-10-15 13:54 ` [PATCH 04/10] test/py: android: Use for loop to create the images / update disks Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-19 10:27   ` Igor Opaniuk
2026-10-15 13:54 ` [PATCH 05/10] test/py: android: Add create_gpt_image() for image creation Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-20  8:41     ` Mattijs Korpershoek
2026-10-19 10:27   ` Igor Opaniuk
2026-10-15 13:54 ` [PATCH 06/10] test/py: android: Add setup_android_v{4,2}_image subfunctions Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-19 10:28   ` [PATCH 06/10] test/py: android: Add setup_android_v{4, 2}_image subfunctions Igor Opaniuk
2026-10-15 13:54 ` [PATCH 07/10] test/py: avb: Use format specifiers instead of str() for mmc_dev Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-19 10:28   ` Igor Opaniuk
2026-10-15 13:54 ` [PATCH 08/10] test/py: avb: Move mmc device number to a pytest fixture Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-19 10:28   ` Igor Opaniuk
2026-10-15 13:54 ` [PATCH 09/10] test/py: avb: Add sandbox AVB testing with dedicated mmc12 device Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-19 10:26   ` Igor Opaniuk
2026-10-20  8:52     ` Mattijs Korpershoek
2026-10-15 13:55 ` [PATCH 10/10] test/py: avb: Fix find() logic when matching response strings Mattijs Korpershoek
2026-10-19  8:57   ` Guillaume La Roque
2026-10-20  8:31     ` Mattijs Korpershoek
2026-10-19  8:57 ` [PATCH 00/10] Fix AVB pytest suite for sandbox Guillaume La Roque
2026-10-19  9:44   ` Igor Opaniuk

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.