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

Philippe Mathieu-Daudé posted 2 patches 1 year, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230120122836.81675-1-philmd@linaro.org
Maintainers: Subbaraya Sundeep <sundeep.lkml@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>
There is a newer version of this series
hw/arm/msf2-som.c                   |  5 ++++-
tests/avocado/boot_linux_console.py | 16 +++++++++++-----
2 files changed, 15 insertions(+), 6 deletions(-)
[PATCH 0/2] tests/avocado: Truncate M2S-FG484 SOM SPI flash to 16MiB
Posted by Philippe Mathieu-Daudé 1 year, 3 months ago
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/20230119123449.531826-2-clg@kaod.org/

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 | 16 +++++++++++-----
 2 files changed, 15 insertions(+), 6 deletions(-)

-- 
2.38.1