Skip to contentSkip to conversation

support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9

PATCH Applied Romain Naour 3 participants 3 messages Oct 29, 2021 – Nov 9, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9

The test_jffs2 test fail for the same reason as test_ubi test with qemu >= 2.9 due to a qemu 2.8 bug. See commit d8447c38f53f98e1df4a209e9f70e54f8b60f36e.

Divide the erase block size by two.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1687590514

---
 support/testing/tests/fs/test_jffs2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/fs/test_jffs2.py +1 -1
index f595e408d5..1806bd7e3c 100644
@@ -16,7 +16,7 @@ class TestJffs2(infra.basetest.BRTest):
         """
         BR2_TARGET_ROOTFS_JFFS2=y
         BR2_TARGET_ROOTFS_JFFS2_CUSTOM=y
-        BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE=0x80000
+        BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE=0x40000
         BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
         BR2_TARGET_ROOTFS_JFFS2_PAD=y
         BR2_TARGET_ROOTFS_JFFS2_PADSIZE=0x4000000
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Romain, All,

On 2021-10-29 23:29 +0200, Romain Naour spake thusly:

Quoted 9 lines

The test_jffs2 test fail for the same reason as test_ubi test with qemu >= 2.9 due to a qemu 2.8 bug. See commit d8447c38f53f98e1df4a209e9f70e54f8b60f36e.

Divide the erase block size by two.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1687590514

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 support/testing/tests/fs/test_jffs2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/fs/test_jffs2.py +1 -1
index f595e408d5..1806bd7e3c 100644
@@ -16,7 +16,7 @@ class TestJffs2(infra.basetest.BRTest):
         """
         BR2_TARGET_ROOTFS_JFFS2=y
         BR2_TARGET_ROOTFS_JFFS2_CUSTOM=y
-        BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE=0x80000
+        BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE=0x40000
         BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y
         BR2_TARGET_ROOTFS_JFFS2_PAD=y
         BR2_TARGET_ROOTFS_JFFS2_PADSIZE=0x4000000
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Romain, All,
On 2021-10-29 23:29 +0200, Romain Naour spake thusly:

Quoted 9 lines

The test_jffs2 test fail for the same reason as test_ubi test with qemu >= 2.9 due to a qemu 2.8 bug. See commit d8447c38f53f98e1df4a209e9f70e54f8b60f36e.

Divide the erase block size by two.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1687590514

Committed to 2021.02.x and 2021.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot