Skip to content

tests/avocado: Truncate M2S-FG484 SOM SPI flash to 16MiB

Philippe Mathieu-Daudé qemu-arm qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- add missing 'size' argument in file_truncate (Cédric)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tests/avocado: Factor file_truncate() helper outtests/avocado/boot_linux_console.py+7 -61 reply
2/2tests/avocado: Truncate M2S-FG484 SOM SPI flash to 16MiBhw/arm/msf2-som.c tests/avocado/boot_linux_console.py+6 -10 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchCédric Le Goater
1/2
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] tests/avocado: Truncate M2S-FG484 SOM SPI flash to 16MiB

The M2S-FG484 SOM SPI flash is 16MiB. Truncate the file provided with the Avocado test to avoid:

qemu-system-arm: device requires 16777216 bytes, block backend provides 67108864 bytes

before merging the "m25p80: Improve error when the backend file size does not match the device" patch:
https://lore.kernel.org/qemu-devel/[email protected]/

Since v1:
- add missing 'size' argument in file_truncate (Cédric)

Philippe Mathieu-Daudé (2):
tests/avocado: Factor file_truncate() helper out tests/avocado: Truncate M2S-FG484 SOM SPI flash to 16MiB

 hw/arm/msf2-som.c                   |  5 ++++-
 tests/avocado/boot_linux_console.py | 15 +++++++++------
 2 files changed, 13 insertions(+), 7 deletions(-)
Signature · 1 line
2.38.1