Difference between revisions of "Template:ROM-Maker-lite mk-fsimg"

From FriendlyELEC WiKi
Jump to: navigation, search
 
Line 6: Line 6:
 
|-
 
|-
 
| Parameter1  ||  
 
| Parameter1  ||  
Specifies partition format. It currently supports vfat/ext4/exfat
+
Specifies a partition format. It currently supports vfat/ext4/exfat
 
|-
 
|-
 
| Parameter 2  ||
 
| Parameter 2  ||
Line 16: Line 16:
 
| Parameter 4  ||
 
| Parameter 4  ||
 
Specifies an output file's size and the unit is MByte. This size should be greater than the input directory's size and less than the corresponding size specified(in "length") in the partmap.txt file;<br>
 
Specifies an output file's size and the unit is MByte. This size should be greater than the input directory's size and less than the corresponding size specified(in "length") in the partmap.txt file;<br>
Since some file system information needs to be included this size will be greater than the input directory's size;<br>
+
Since some file system information needs to be included in an image file this size will be greater than the input directory's size;<br>
 
|-
 
|-
 
| Parameter 5  ||
 
| Parameter 5  ||
 
Specifies a partition's tag;
 
Specifies a partition's tag;
 
|}
 
|}

Latest revision as of 09:25, 22 July 2019

Actually the rom-maker-lite utility calls the "./tools/mk_fsimg.sh" script to generate a boot.img and rootfs.img. Here are the popular parameters the "mk_fsimg.sh" script usually takes:

Parameter Comment
Parameter1

Specifies a partition format. It currently supports vfat/ext4/exfat

Parameter 2

Specifies an output file;

Parameter 3

Specifies an input directory;

Parameter 4

Specifies an output file's size and the unit is MByte. This size should be greater than the input directory's size and less than the corresponding size specified(in "length") in the partmap.txt file;
Since some file system information needs to be included in an image file this size will be greater than the input directory's size;

Parameter 5

Specifies a partition's tag;