[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] tests/avocado: Truncate M2S-FG484 SOM SPI flash to 16MiB
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 0/2] tests/avocado: Truncate M2S-FG484 SOM SPI flash to 16MiB |
Date: |
Fri, 20 Jan 2023 14:43:12 +0100 |
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:
20230119123449.531826-2-clg@kaod.org/">https://lore.kernel.org/qemu-devel/20230119123449.531826-2-clg@kaod.org/
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(-)
--
2.38.1
- [PATCH v2 0/2] tests/avocado: Truncate M2S-FG484 SOM SPI flash to 16MiB,
Philippe Mathieu-Daudé <=