[Feature][ZXW-130]merge P50U02 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: I4f29ec5bb7c59385f23738d2b7ca84e67c100f69
diff --git a/tools/SignTool/readme.txt b/tools/SignTool/readme.txt
new file mode 100755
index 0000000..0e4ccc5
--- /dev/null
+++ b/tools/SignTool/readme.txt
@@ -0,0 +1,28 @@
+1、SignImage为签名命令
+
+./SignImage [option]
+ -h help
+ -i input file 输入文件
+ -o output file 输出文件
+ -k private key 私钥文件
+ -t hash type, [md5 sha256],default sha256 散列算法
+ -d detached mode,Signature files are saved independently 离散模式
+ -e print public key hash value 打印public key hash值
+ -r resign again 重新签名
+ -l legacy mode 旧签名头模式
+ -v debug mode debug模式
+ -z sign for zloader zloader签名
+
+
+2、 密钥生成
+key目录为签名密钥
+
+3、 zloader签名
+SignImage -z -i zloader.bin -o out/zloader.bin -k key/RSA_1024/private.k
+
+4、其他镜像签名
+SignImage -i linux_kernel.bin -o out/ap_cpuap.bin -k key/RSA_1024/private.k -t md5
+SignImage -i linux_kernel.bin -o out/ap_cpuap.bin -k key/RSA_2048/private.k
+
+5、pubkey的hash值
+./SignImage -e -k key/RSA_2048/private.k