Template:ROM-Maker-lite mk-fsimg

From FriendlyELEC WiKi
Revision as of 09:39, 18 July 2019 by Tzs (Talk | contribs) (updated by API)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

rom-maker-lite是通过./tools/mk_fsimg.sh脚本来生成分区文件(boot.img、rootfs.img)的,mk_fsimg.sh用法如下:

参数 说明
参数1

指定分区格式,支持vfat/ext4/exfat

参数2

指定输出文件;

参数3

指定输入目录;

参数4

指定输出文件的大小,单位是MByte,该值必须大于输入目录,且小于partmap.txt里对应分区的大小(即length字段);
通常情况下由于需要保存文件系统的信息,需要比输入目录大一些;

参数5

指定分区的标签;