kumquat-buildroot/support/testing
Romain Naour e11c3cbe26 support/testing: test_ubi: allow to boot several times using the same ubi image.
Since the ubi/ubifs test has been introduced, it's not possible to
boot the same ubi image twice [1]:

"TODO: if you boot Qemu twice on the same UBI image, it fails to
attach the image the second time, with "ubi0 error:
ubi_read_volume_table: the layout volume was not found"."

For some reason, the kernel corrupt the ubi image if the ubifs
rootfs is mounted with write access. Use a custom config file
to mount the rootfs readonly (vol_type=static). Doing so requires
to add the flash size (vol_size=64MiB).

At least it allows to boot several times the same ubi image.

[1] bf4a6490e4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-10-17 21:47:04 +02:00
..
conf support/testing/tests/fs/test_iso9660.py: add support to test using EFI BIOS 2021-10-03 14:45:10 +02:00
infra support/testing/infra/emulator.py: prevent the commands from wrapping 2021-10-06 21:54:20 +02:00
tests support/testing: test_ubi: allow to boot several times using the same ubi image. 2021-10-17 21:47:04 +02:00
run-tests support/run-tests: reorder imports 2020-02-17 10:13:08 +01:00