rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | MTK side: |
| 2 | 1.encrypt library on platform with command "secure_program enc [path/to/library] [path/to/encryptedlibrary] |
| 3 | 2.put encryptedlibrary in folder "files" |
| 4 | |
| 5 | Customer side: |
| 6 | 1.put encryptedlibrary in folder "files" after receiving encryptedlibrary |
| 7 | 2.make sure or modify "EncryptedLibraryName" value to library name in encryptlibrary-init.bb |
| 8 | 4.add encryptlibrary-init in image: |
| 9 | eg: add encryptlibrary-init in section "IMAGE_INSTALL_append" of meta/meta-mediatek-mt8516/recipes-audio/images/mtk-image-aud-8516.bb |
| 10 | 5.at bootup time, the encryptedlibrary will be decrypted and put in /tmp |