码迷,mamicode.com
首页 > 其他好文 > 详细

ubinize的用法

时间:2019-01-30 19:10:54      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:erase   contain   unit   volume   output   --help   rate   seq   default   

1.ubinize支持哪些选项

Usage: ubinize [options] <ini-file>

Generate UBI images. An UBI image may contain one or more UBI volumes which
have to be defined in the input configuration ini-file. The flash
characteristics are defined via the command-line options.

-o, --output=<file name> output file name
-p, --peb-size=<bytes> size of the physical eraseblock of the flash this UBI image is created for in bytes,kilobytes (KiB), or megabytes (MiB) (mandatory parameter)
-m, --min-io-size=<bytes> minimum input/output unit size of the flash in bytes
-s, --sub-page-size=<bytes> minimum input/output unit used for UBI headers, e.g. sub-page size in case of NAND flash (equivalent to the minimum input/output unit size by default)
-O, --vid-hdr-offset=<num> 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)
-e, --erase-counter=<num> the erase counter value to put to EC headers (default is 0)
-x, --ubi-ver=<num> UBI version number to put to EC headers (default is 1)
-Q, --image-seq=<num> 32-bit UBI image sequence number to use
(by default a random number is picked)
-v, --verbose be verbose
-h, --help print help message
-V, --version print program version

2.重要选项-p -m -s

-p 指定flash的物理擦除块大小

-m 指定flash的最小输入输出单元

-s 用在UBI头的最小输入输出单元

 

ubinize的用法

标签:erase   contain   unit   volume   output   --help   rate   seq   default   

原文地址:https://www.cnblogs.com/dakewei/p/10339414.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!