diff options
author | Sean Anderson <sean.anderson@seco.com> | 2022-10-21 19:37:25 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-26 12:28:40 +0100 |
commit | 930dc57fc8dcbf9ca8a3a431a8c4c02901f63182 (patch) | |
tree | a6a16d60f1617e5467470f5374e5115b37b6f01f /meta/classes-recipe/kernel-fitimage.bbclass | |
parent | deb6b92d44bf31265b6187d29c1b068517ec25c2 (diff) | |
download | poky-930dc57fc8dcbf9ca8a3a431a8c4c02901f63182.tar.gz |
uboot-sign: Split off kernel-fitimage variables
In preparation for the next commit, split off several
(From OE-Core rev: 60c1a170f1f8c11bc8f42026debf121433b39115)
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/kernel-fitimage.bbclass')
-rw-r--r-- | meta/classes-recipe/kernel-fitimage.bbclass | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass index 8ddebf8dd8..e4a130a0f2 100644 --- a/meta/classes-recipe/kernel-fitimage.bbclass +++ b/meta/classes-recipe/kernel-fitimage.bbclass | |||
@@ -65,6 +65,31 @@ python __anonymous () { | |||
65 | # Description string | 65 | # Description string |
66 | FIT_DESC ?= "Kernel fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}" | 66 | FIT_DESC ?= "Kernel fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}" |
67 | 67 | ||
68 | # Kernel fitImage Hash Algo | ||
69 | FIT_HASH_ALG ?= "sha256" | ||
70 | |||
71 | # Kernel fitImage Signature Algo | ||
72 | FIT_SIGN_ALG ?= "rsa2048" | ||
73 | |||
74 | # Kernel / U-Boot fitImage Padding Algo | ||
75 | FIT_PAD_ALG ?= "pkcs-1.5" | ||
76 | |||
77 | # Generate keys for signing Kernel fitImage | ||
78 | FIT_GENERATE_KEYS ?= "0" | ||
79 | |||
80 | # Size of private keys in number of bits | ||
81 | FIT_SIGN_NUMBITS ?= "2048" | ||
82 | |||
83 | # args to openssl genrsa (Default is just the public exponent) | ||
84 | FIT_KEY_GENRSA_ARGS ?= "-F4" | ||
85 | |||
86 | # args to openssl req (Default is -batch for non interactive mode and | ||
87 | # -new for new certificate) | ||
88 | FIT_KEY_REQ_ARGS ?= "-batch -new" | ||
89 | |||
90 | # Standard format for public key certificate | ||
91 | FIT_KEY_SIGN_PKCS ?= "-x509" | ||
92 | |||
68 | # Sign individual images as well | 93 | # Sign individual images as well |
69 | FIT_SIGN_INDIVIDUAL ?= "0" | 94 | FIT_SIGN_INDIVIDUAL ?= "0" |
70 | 95 | ||