<div dir="ltr">Hi All,<div>I am facing an issue while using SHA384 signature for FIT image instead of SHA256. I get build errors.</div><div><br></div><div><div style="box-sizing:border-box;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px">ERROR: linux-obmc-5.8.17+gitAUTOINC+c26e1233f9-r0 do_assemble_fitimage: Execution of '/home/gangadhar/openbmc/build/tmp/work/linux-gnueabi/linux-obmc/5.8.17+gitAUTOINC+c26e1233f9-r0/temp/run.do_assemble_fitimage.17762' failed with exit code 255:<br style="box-sizing:border-box">none<br style="box-sizing:border-box">fit-image.its:8.26-20.19: Warning (unit_address_vs_reg): /images/kernel@1: node has a unit name, but no reg property<br style="box-sizing:border-box">fit-image.its:17.32-19.27: Warning (unit_address_vs_reg): /images/kernel@1/hash@1: node has a unit name, but no reg property<br style="box-sizing:border-box">fit-image.its:21.29-31.19: Warning (unit_address_vs_reg): /images/fdt@...: node has a unit name, but no reg property<br style="box-sizing:border-box">fit-image.its:28.32-30.27: Warning (unit_address_vs_reg): /images/fdt@.../hash@1: node has a unit name, but no reg property<br style="box-sizing:border-box">fit-image.its:36.30-50.19: Warning (unit_address_vs_reg): /configurations/conf@...: node has a unit name, but no reg property<br style="box-sizing:border-box">fit-image.its:42.32-44.27: Warning (unit_address_vs_reg): /configurations/conf@.../hash@1: node has a unit name, but no reg property<br style="box-sizing:border-box">fit-image.its:45.37-49.27: Warning (unit_address_vs_reg): /configurations/conf@.../signature@1: node has a unit name, but no reg property<br style="box-sizing:border-box">uboot-mkimage Can't add hashes to FIT blob: -93<br style="box-sizing:border-box">Unsupported hash algorithm (sha384) for 'hash@1' hash node in 'kernel@1' image node<br style="box-sizing:border-box">WARNING: exit code 255 from a shell command.</div></div><div><br></div><div>Yocto changes that I have done,</div><div><br></div><div><div style="box-sizing:border-box;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px">diff --git a/poky/meta/classes/kernel-fitimage.bbclass b/poky/meta/classes/kernel-fitimage.bbclass<br style="box-sizing:border-box">index bb2f3c4cc..d4f9dddf2 100644<br style="box-sizing:border-box">--- a/poky/meta/classes/kernel-fitimage.bbclass<br style="box-sizing:border-box">+++ b/poky/meta/classes/kernel-fitimage.bbclass<br style="box-sizing:border-box">@@ -51,13 +51,13 @@ python __anonymous () {<br style="box-sizing:border-box"> UBOOT_MKIMAGE_DTCOPTS ??= ""<br style="box-sizing:border-box"><br style="box-sizing:border-box"> # fitImage Hash Algo<br style="box-sizing:border-box">-FIT_HASH_ALG ?= "sha256"<br style="box-sizing:border-box">+FIT_HASH_ALG ?= "sha384"<br style="box-sizing:border-box"><br style="box-sizing:border-box"> # fitImage Signature Algo<br style="box-sizing:border-box"> FIT_SIGN_ALG ?= "rsa2048"<br style="box-sizing:border-box"><br style="box-sizing:border-box"> # Generate keys for signing fitImage<br style="box-sizing:border-box">-FIT_GENERATE_KEYS ?= "0"<br style="box-sizing:border-box">+FIT_GENERATE_KEYS ?= "1"<br style="box-sizing:border-box"><br style="box-sizing:border-box"> # Size of private key in number of bits<br style="box-sizing:border-box"> FIT_SIGN_NUMBITS ?= "2048"</div><div style="box-sizing:border-box;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px"><br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px">Thanks & Regards,</div><div style="box-sizing:border-box;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px">Gangadhar</div></div></div>