[rdkb][common][image][Add secure boot generate image flow]
[Description]
Add secure boot generate image flow
1. add feature "secure_boot" to enable or disable secure boot
2. refactor rdk-generic-broadband-image.bbappend to support create secure boot image
[Release-log]
diff --git a/conf/machine/filogic880.conf b/conf/machine/filogic880.conf
index 1199227..e8bfcd6 100644
--- a/conf/machine/filogic880.conf
+++ b/conf/machine/filogic880.conf
@@ -44,3 +44,10 @@
BOOT_SUFFIX = "bin"
MACHINE_FEATURES = "ext2 ipsec nfs pci smbfs usbgadget usbhost vfat"
+#for secure boot support
+#DISTRO_FEATURES_append = " secure_boot"
+MACHINEOVERRIDES .="${@bb.utils.contains('DISTRO_FEATURES','secure_boot',':secureboot','',d)}"
+SECURE_BOOT_KEYNAME_secureboot = "fit_key"
+SECURE_BOOT_KEYDIR_secureboot = "${TOPDIR}/../keys"
+FIT_HASH_ALG_secureboot ="sha1"
+HASHED_BOOT_DEVICE_secureboot = "252:0"
\ No newline at end of file