[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/build/utils/mkubifs.sh b/build/utils/mkubifs.sh
new file mode 100755
index 0000000..a135fc4
--- /dev/null
+++ b/build/utils/mkubifs.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+if [ $1 =  ] ;then 
+echo "Please entry inpath outpath and size(MB)"
+exit 0 
+fi
+
+if [ $2 =  ] ;then 
+echo "Please entry inpath outpath and size(MB)"
+exit 0 
+fi
+
+if [ $3 =  ] ;then 
+echo "Please entry inpath outpath and size(MB)"
+exit 0 
+fi
+
+CUSTOM_IN_DIR=$1
+CUSTOM_OUT_DIRR=$2
+CUSTOM_FS_SIZE=$3
+
+CUSTOM_FS_PEB=$[$CUSTOM_FS_SIZE* 8 - 1]
+
+mkfs.ubifs -r ${CUSTOM_IN_DIR} -m 2048 -e 129024 -c ${CUSTOM_FS_PEB}  -x zlib -o custom.img; \
+bash ubifs.sh customfs.cfg custom.img customfs ${CUSTOM_FS_SIZE}; \
+ubinize -o ${CUSTOM_OUT_DIRR} -m 2048 -p 128KiB -s 512 customfs.cfg; \
+rm custom.img customfs.cfg;\
\ No newline at end of file