ubiformat 使用说明

12次阅读
没有评论

共计 803 个字符,预计需要花费 3 分钟才能阅读完成。

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 BYTES minimum input/output unit used for UBI headers e.g. sub-page size in case of NAND flash
-O OFFS offset 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)
-n only erase all eraseblock and preserve erase counters, do not write empty volume table
-f FILE flash image file
-e VALUE use VALUE as erase counter value for all eraseblocks
-x NUM UBI version number to put to EC headers (default 1)
-Q NUM 32-bit UBI image sequence number to use
-y Assume yes for all questions
-q suppress progress percentage information
-v be 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.

正文完
觉得有用?欢迎赞赏,感谢!
post-qrcode
 0
苏维歌
版权声明:本站原创文章,由 苏维歌 2022-06-06发表,共计803字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)
验证码