make_ext4fs的参数讲解

[ 99% 3772/3773] Deploying jahol busybox environment...
Target system fs image: out/target/product/rk3399_jahol_mid/obj/PACKAGING/systemimage_intermediates/system.img
Running:  mkuserimg.sh -s out/target/product/rk3399_jahol_mid/system out/target/product/rk3399_jahol_mid/obj/PACKAGING/systemimage_intermediates/system.img ex/target/product/rk3399_jahol_mid/system -L system out/target/product/rk3399_jahol_mid/root/file_contexts.bin
make_ext4fs -s -T -1 -S out/target/product/rk3399_jahol_mid/root/file_contexts.bin -L system -l 1610612736 -a system out/target/product/rk3399_jahol_mid/obj/Pediates/system.img out/target/product/rk3399_jahol_mid/system out/target/product/rk3399_jahol_mid/system
Creating filesystem with parameters:
    Size: 1610612736     分区大小
    Block size: 4096     块大小
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 6144
    Label: system
    Blocks: 393216
    Block groups: 12
    Reserved block group size: 95
Created filesystem with 3324/98304 inodes and 281495/393216 blocks
[100% 3773/3773] Install system fs image: out/target/product/rk3399_jahol_mid/system.img
out/target/product/rk3399_jahol_mid/system.img+out/target/product/rk3399_jahol_mid/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=164tal=1133397991 reserve=16625664

make_ext4fs的参数:
$ make_ext4fs
Expected filename after options
make_ext4fs [ -l ] [ -j ] [ -b ]
    [ -g ] [ -i ] [ -I ]
    [ -L

-s  制作ext4格式文件系统: 【没有这个参数】
-T  时间戳
-S 上下文文件
-L 标签
-l  1610612736:分区的大小为1.5G (1610612736的大小为1.5G)
-a system  是指这个img用于android系统,挂载点是/system
最后个参数是:【生成的镜像文件名】【需要打包成ext4文件系统的路径】

你可能感兴趣的:(安卓驱动)