xref: /OK3568_Linux_fs/tools/linux/rk_sign_tool/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun   rk_sign_tool is a signing tool for secureboot.it can support 3588|3566|3568|3308|3326|3399|3229|3228h|3368|3228|3288|px30|3328|1808|3228P|1109|1126|2206.
2*4882a593Smuzhiyunshow help of the tool.run it with any parameters.show detail of command,run the command with -h.
3*4882a593Smuzhiyun
4*4882a593Smuzhiyunstep by step:
5*4882a593Smuzhiyun1.specify chip,just do it once, all of chips are 3588|3566|3568|3308|3326|3399|3229|3228h|3368|3228|3288|px30|3328|1808|3228P|1109|1126|2206
6*4882a593Smuzhiyun  rk_sign_tool cc --chip 3326
7*4882a593Smuzhiyun2.generate rsa key pairs ,just do it once.if you have key pairs generated before ,go next
8*4882a593Smuzhiyun  rk_sign_tool kk --out .
9*4882a593Smuzhiyun3.load rsa key pairs,just do it onece . if you have key pairs loaded before, go next
10*4882a593Smuzhiyun  rk_sign_tool lk --key privateKey.pem --pubkey publicKey.pem
11*4882a593Smuzhiyun4.sign loader
12*4882a593Smuzhiyun  rk_sign_tool sl --loader loader.bin
13*4882a593Smuzhiyun5.sign uboot.img trust.img
14*4882a593Smuzhiyun  rk_sign_tool si --img uboot.img
15*4882a593Smuzhiyun  rk_sign_tool si --img trust.img
16*4882a593Smuzhiyun6.sign update.img,it will sign loader,uboot,trust in the update.img
17*4882a593Smuzhiyun  rk_sign_tool sf --firmware update.img
18