Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9
@ 2021-10-29 21:29 Romain Naour
  2021-11-05 21:31 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Romain Naour @ 2021-10-29 21:29 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 support/testing/tests/fs/test_jffs2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/testing/tests/fs/test_jffs2.py b/support/testing/tests/fs/test_jffs2.py
index f595e408d5..1806bd7e3c 100644
--- a/support/testing/tests/fs/test_jffs2.py
+++ b/support/testing/tests/fs/test_jffs2.py
@@ -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
-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9
  2021-10-29 21:29 [Buildroot] [PATCH] support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9 Romain Naour
@ 2021-11-05 21:31 ` Yann E. MORIN
  2021-11-09  8:08   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2021-11-05 21:31 UTC (permalink / raw)
  To: Romain Naour; +Cc: buildroot

Romain, All,

On 2021-10-29 23:29 +0200, Romain Naour spake thusly:
> 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
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  support/testing/tests/fs/test_jffs2.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/support/testing/tests/fs/test_jffs2.py b/support/testing/tests/fs/test_jffs2.py
> index f595e408d5..1806bd7e3c 100644
> --- a/support/testing/tests/fs/test_jffs2.py
> +++ b/support/testing/tests/fs/test_jffs2.py
> @@ -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
> -- 
> 2.31.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH] support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9
  2021-11-05 21:31 ` Yann E. MORIN
@ 2021-11-09  8:08   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-11-09  8:08 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Romain Naour, buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Romain, All,
 > On 2021-10-29 23:29 +0200, Romain Naour spake thusly:
 >> 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
 >> 
 >> Signed-off-by: Romain Naour <romain.naour@gmail.com>

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

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-09  8:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-29 21:29 [Buildroot] [PATCH] support/testing: test_jffs2.py: update logical eraseblock size for qemu >= 2.9 Romain Naour
2021-11-05 21:31 ` Yann E. MORIN
2021-11-09  8:08   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox