mkfs.ubifs -F -x lzo -m 2048 -e 126976 -c 260 -o rootfs_ubifs.img -d ./rootfs
ubinize -o ubi.img -m 2048 -p 131072 -s 2048 ubinize.cfg
ubinize.cfg
[rootfs-volume]
mode=ubi
image=rootfs_ubifs.img
vol_id=0
vol_size=33030144
vol_type=dynamic
vol_name=system
vol_flags=autoresize
ubiattach /dev/ubi_ctrl -m 3 -d 1
ubimkvol /dev/ubi1 -n 0 -N dvs -s 80MiB
mount -t ubifs ubi1_0 /mnt
阅读(3767) | 评论(0) | 转发(0) |