Received: from mail-eopbgr40115.outbound.protection.outlook.com ([40.107.4.115] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7IFD-00014x-Aa for linux-mtd@lists.infradead.org; Tue, 02 Oct 2018 10:49:37 +0000 From: Martin Lund To: Subject: [PATCH mtd-www] Add UBI stress testing section Date: Tue, 2 Oct 2018 12:49:12 +0200 Message-ID: <20181002104912.15641-1-malu@gomspace.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Not many are aware of the UBI stress testing tools available in mtd-utils so lets mention them. Also, lets give a short example on how to run the tests. --- doc/ubi.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/ubi.xml b/doc/ubi.xml index 299b0f1..f20e1aa 100644 --- a/doc/ubi.xml +++ b/doc/ubi.xml @@ -49,6 +49,7 @@
  • Fastmap
  • R/O block devices on top of UBI volumes
  • +
  • UBI stress testing
  • More documentation
  • @@ -1349,6 +1350,20 @@ $ ubiblock --remove /dev/ubi0_0 +

    UBI stress testing

    + +

    If enabled, mtd-utils include user-space tools that can be used to stress +test the UBI stack. This is useful if you want to test the stability and +correctness of your particular UBI stack implementation.

    + +

    Example, running various UBI tests:

    + +
    +$ flash_erase /dev/mtd3 0 0
    +$ ubiattach --mtdn 3
    +$ /usr/libexec/mtd-utils/runubitests.sh /dev/ubi0
    +
    +

    More documentation

    -- 2.19.0