To use pkcs11, it is necessary to pass "-N pkcs11".
And there are also a few more options, that are useful.

Pass UBOOT_SIGN_EXTRA_OPTS to uboot-mkimage, when signing the fitImage.

Signed-off-by: Torben Hohn <[email protected]>
---
 meta/classes/kernel-fitimage.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel-fitimage.bbclass 
b/meta/classes/kernel-fitimage.bbclass
index 72b05ff8d1..afb62f1071 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -474,6 +474,7 @@ fitimage_assemble() {
                        ${@'-D "${UBOOT_MKIMAGE_DTCOPTS}"' if 
len('${UBOOT_MKIMAGE_DTCOPTS}') else ''} \
                        -F -k "${UBOOT_SIGN_KEYDIR}" \
                        $add_key_to_u_boot \
+                        ${UBOOT_SIGN_EXTRA_OPTS} \
                        -r arch/${ARCH}/boot/${2}
        fi
 }
-- 
2.20.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139737): 
https://lists.openembedded.org/g/openembedded-core/message/139737
Mute This Topic: https://lists.openembedded.org/mt/75038549/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to