blob: d0982a1abcfd0adf41c8d869d9e06586f034ab14 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001MTK side:
21.encrypt library on platform with command "secure_program enc [path/to/library] [path/to/encryptedlibrary]
32.put encryptedlibrary in folder "files"
4
5Customer side:
61.put encryptedlibrary in folder "files" after receiving encryptedlibrary
72.make sure or modify "EncryptedLibraryName" value to library name in encryptlibrary-init.bb
84.add encryptlibrary-init in image:
9eg: add encryptlibrary-init in section "IMAGE_INSTALL_append" of meta/meta-mediatek-mt8516/recipes-audio/images/mtk-image-aud-8516.bb
105.at bootup time, the encryptedlibrary will be decrypted and put in /tmp