请教下tuyaos常规的系统安全部分的配置需要配置哪些,是否配置secure boot \\ cryptfs \\ user mode run app即可。
CONFIG_TUYA_TARGET_SECURE_BOOT
CONFIG_TUYA_TARGET_CRYPTFS_ENABLE
CONFIG_TUYA_TARGET_USER_MODE_RUN_APP
另外swupgrade_unpack option config 下面的
[ ] enable url install
[ ] sleep a while between sectors when doing erase/write
[ ] enable write flash before check. for double copy only now.
[ ] ir handler use 128kb block flash
[ ] tuya could sign and local verify
这些建议怎么配置。
swupgrade_unpack option config 下面这些配置项,主要一些平台问题处理,ipc产品可以不用开启。
[ ] enable url install 表示通过http upgrade下载固件,ipc产品没有使用这个。
[ ] sleep a while between sectors when doing erase/write nor flash写和擦flash时等待5ms, 一些产品cpu占用率优化.
[ ] enable write flash before check. for double copy only now. 双备份情况下,可以选择先写后校验, 单分区不需要。
[ ] ir handler use 128kb block flash 使用128k擦除,主要是nand flash,ipc目前没有用。
[ ] tuya could sign and local verify 这个用来加签和验签。 tuyaos支持的关于OTA文件头部签名的三种方式。分别是不加签,云端加签,本地加签。