侧边栏壁纸
博主头像
iColak's Blog

人生来来往往,来日并不方长

  • 累计撰写 106 篇文章
  • 累计创建 31 个标签
  • 累计收到 380 条评论

目 录CONTENT

文章目录

ubiformat 使用说明

苏维歌
2022-06-06 / 0 评论 / 0 点赞 / 16 阅读 / 0 字 / 正在检测是否收录...
温馨提示:
本文最后更新于2024-07-05,若内容或图片失效,请留言反馈。 部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

3.3.7. ubiformat - format an ubi volume

3.3.7.1. Usage

ubiformat [-sOnfexQqv] MTDEVICE

3.3.7.2. Synopsis

A tool to format MTD devices and flash UBI images

3.3.7.3. Options

-s BYTESminimum input/output unit used for UBI headers e.g. sub-page size in case of NAND flash
-O OFFSoffset if the VID header from start of the physical eraseblock (default is the next minimum I/O unit or sub-page after the EC header)
-nonly erase all eraseblock and preserve erase counters, do not write empty volume table
-f FILEflash image file
-e VALUEuse VALUE as erase counter value for all eraseblocks
-x NUMUBI version number to put to EC headers (default 1)
-Q NUM32-bit UBI image sequence number to use
-yAssume yes for all questions
-qsuppress progress percentage information
-vbe verbose

3.3.7.4. Description

Example 1: ubiformat /dev/nand0 -y - format nand0 and assume yes Example 2: ubiformat /dev/nand0 -q -e 0 - format nand0, be quiet and force erase counter value 0.

0
  1. 支付宝打赏

    qrcode alipay
  2. 微信打赏

    qrcode weixin
  3. QQ打赏

    qrcode qq

评论区