xref: /OK3568_Linux_fs/tools/linux/rk_sign_tool/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1   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.
2show help of the tool.run it with any parameters.show detail of command,run the command with -h.
3
4step by step:
51.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  rk_sign_tool cc --chip 3326
72.generate rsa key pairs ,just do it once.if you have key pairs generated before ,go next
8  rk_sign_tool kk --out .
93.load rsa key pairs,just do it onece . if you have key pairs loaded before, go next
10  rk_sign_tool lk --key privateKey.pem --pubkey publicKey.pem
114.sign loader
12  rk_sign_tool sl --loader loader.bin
135.sign uboot.img trust.img
14  rk_sign_tool si --img uboot.img
15  rk_sign_tool si --img trust.img
166.sign update.img,it will sign loader,uboot,trust in the update.img
17  rk_sign_tool sf --firmware update.img
18