[Feature][ZXW-179]merge P52U02 version

Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: I4fa8f86757e71388ae88400914dae8b50cd00338
diff --git a/allbins/tools/mkfs_sh/ubinize-cfg.sh b/allbins/tools/mkfs_sh/ubinize-cfg.sh
new file mode 100755
index 0000000..31b9b64
--- /dev/null
+++ b/allbins/tools/mkfs_sh/ubinize-cfg.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+outfile=$1
+cfg_file_name=$2
+ubinize_para=$3
+
+echo "outfile:$outfile"
+echo "ubinize_para:$ubinize_para"
+
+cat $cfg_file_name
+
+ubinize  -o $outfile $ubinize_para $cfg_file_name
+if [ $? -ne 0 ]; then
+    echo "ubinize error"
+    exit -2
+else
+    echo "ubinize ok"
+fi
+