All of lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@buildroot.org
Cc: Romain Naour <romain.naour@gmail.com>
Subject: [Buildroot] [PATCH 14/16] support/testing: test_ubi: add image format on the qemu command line
Date: Sun, 12 Sep 2021 16:11:38 +0200	[thread overview]
Message-ID: <20210912141140.253778-12-romain.naour@gmail.com> (raw)
In-Reply-To: <20210912141140.253778-1-romain.naour@gmail.com>

Adding the Image format on the Qemu command line avoid this warning:

"WARNING: Image format was not specified for 'output/TestUbi/images/rootfs.ubi' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions."

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

diff --git a/support/testing/tests/fs/test_ubi.py b/support/testing/tests/fs/test_ubi.py
index 8148e5f336..eeb55b1d59 100644
--- a/support/testing/tests/fs/test_ubi.py
+++ b/support/testing/tests/fs/test_ubi.py
@@ -32,7 +32,7 @@ class TestUbi(infra.basetest.BRTest):
                            kernel_cmdline=["root=ubi0:rootfs",
                                            "ubi.mtd=0",
                                            "rootfstype=ubifs"],
-                           options=["-drive", "file={},if=pflash".format(img)])
+                           options=["-drive", "file={},if=pflash,format=raw".format(img)])
         self.emulator.login()
         cmd = "mount | grep 'ubi0:rootfs on / type ubifs'"
         _, exit_code = self.emulator.run(cmd)
-- 
2.31.1

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

  parent reply	other threads:[~2021-09-12 14:14 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-12 14:11 [Buildroot] [PATCH 03/16] support/testing: test_f2fs: bump to kernel 4.19.204 Romain Naour
2021-09-12 14:11 ` [Buildroot] [PATCH 04/16] support/testing: test_glxinfo: " Romain Naour
2021-10-04 20:02   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 05/16] support/testing: test_openrc: switch to ARM arm toolchain and builtin kernel Romain Naour
2021-10-04 20:02   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 06/16] support/testing: test_iso9660: bump to kernel 4.19.204 Romain Naour
2021-10-04 20:02   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 07/16] support/testing: test_lxc " Romain Naour
2021-10-04 20:03   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 08/16] support/testing: test_rust: remove kernel build Romain Naour
2021-10-04 20:03   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 09/16] support/testing: test_openssh: use a prebuilt toolchain Romain Naour
2021-10-04 20:06   ` Peter Korsgaard
2021-11-14 17:20     ` Romain Naour
2021-09-12 14:11 ` [Buildroot] [PATCH 10/16] support/testing: switch to prebuilt toolchain, core2duo to Nehalem Romain Naour
2021-10-04 20:09   ` Peter Korsgaard
2021-09-12 14:11 ` [Buildroot] [PATCH 11/16] support/docker: bump docker image for the gitlab-ci to Debian bullseye Romain Naour
2021-09-21 20:34   ` Arnout Vandecappelle
2021-09-22 20:10   ` [Buildroot] [PATCH] .gitlab-ci.yml: update docker image to 20210922.2200 Arnout Vandecappelle (Essensium/Mind)
2021-09-22 21:45     ` Romain Naour
2021-09-23 18:25       ` Arnout Vandecappelle
2021-09-23 20:52         ` Romain Naour
2021-10-07 20:31           ` Romain Naour
2021-10-17 17:05     ` Yann E. MORIN
2021-09-22 20:13   ` [Buildroot] [PATCH 11/16] support/docker: bump docker image for the gitlab-ci to Debian bullseye Arnout Vandecappelle
2021-09-22 20:50     ` Romain Naour
2021-09-12 14:11 ` [Buildroot] [PATCH 12/16] package/qemu: bump to version 6.1.0 Romain Naour
2021-10-17 19:49   ` Yann E. MORIN
2021-09-12 14:11 ` [Buildroot] [PATCH 13/16] support/testing: test_ubi: reduce the rootfs.ubi size to 64M to match the Qemu emulated flash device Romain Naour
2021-10-17 19:49   ` Yann E. MORIN
2021-09-12 14:11 ` Romain Naour [this message]
2021-10-17 19:50   ` [Buildroot] [PATCH 14/16] support/testing: test_ubi: add image format on the qemu command line Yann E. MORIN
2021-09-12 14:11 ` [Buildroot] [PATCH 15/16] support/testing: update logical eraseblock and physical eraseblock size for qemu >= 2.9 Romain Naour
2021-10-17 19:51   ` Yann E. MORIN
2021-10-17 20:05     ` Romain Naour
2021-09-12 14:11 ` [Buildroot] [PATCH 16/16] support/testing: test_ubi: allow to boot several times using the same ubi image Romain Naour
2021-10-17 19:51   ` Yann E. MORIN
2021-10-04 20:02 ` [Buildroot] [PATCH 03/16] support/testing: test_f2fs: bump to kernel 4.19.204 Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2021-09-12 14:06 [Buildroot] [PATCH 01/16] support/testing: test_file_capabilities: " Romain Naour
2021-09-12 14:06 ` [Buildroot] [PATCH 02/16] support/testing: test_systemd: " Romain Naour
2021-10-04 20:02   ` Peter Korsgaard
2021-09-12 14:06 ` [Buildroot] [PATCH 03/16] support/testing: test_f2fs: " Romain Naour
2021-10-04 20:01 ` [Buildroot] [PATCH 01/16] support/testing: test_file_capabilities: " Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210912141140.253778-12-romain.naour@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.