kumquat-buildroot/support/testing/tests/fs
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
..
test_ubi support/testing: test_ubi: allow to boot several times using the same ubi image. 2021-10-17 21:47:04 +02:00
__init__.py
test_ext.py
test_f2fs.py support/testing: test_f2fs: bump to kernel 4.19.204 2021-09-21 22:20:04 +02:00
test_iso9660.py support/testing/tests/fs/test_iso9660.py: add support to test using EFI BIOS 2021-10-03 14:45:10 +02:00
test_jffs2.py
test_oci.py
test_squashfs.py
test_ubi.py support/testing: test_ubi: allow to boot several times using the same ubi image. 2021-10-17 21:47:04 +02:00
test_yaffs2.py