请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1434720/am623-tisci-host
器件型号:AM623工具与软件:
您好、TI 专家!
我有 AM6234的开发环境、其中包含我们自己的评估板。
软件 SDK 版本是 SDK-AM62X-08.06.00.42 PROCESSOR-SDK-LINUX-RT。
我想问一下、 在使用以下 API 时、我是否可以为 write_host 字段指定多个写入主机?
https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/am62x/hosts.html#enumeration-of-host-ids
如?所示、在写入外部 OTP 电子保险丝时、WRITE_HOST 字段可以设置为两个主机、例如 ID 为11和35 μ F 的主机
如果可能、如何修改以下代码?
iff --git a/board-support/k3-image-gen-2022.01/soc/am62x/evm/sec-cfg.c b/board-support/k3-image-gen-2022.01/soc/am62x/evm/sec-cfg.c index 02a314a..1202ad5 100644 --- a/board-support/k3-image-gen-2022.01/soc/am62x/evm/sec-cfg.c +++ b/board-support/k3-image-gen-2022.01/soc/am62x/evm/sec-cfg.c @@ -70,9 +70,138 @@ const struct boardcfg_security am62_boardcfg_security_data = { .size = sizeof(struct boardcfg_extended_otp), }, /* Host ID 0 is DMSC. This means no host has write access to OTP array */ - .write_host_id = 0, + .write_host_id = HOST_ID_MAIN_0_R5_0, /* This is an array with 32 entries */ - .otp_entry = {{ 0 } }, + .otp_entry = { + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + { + .host_id = HOST_ID_ALL, + .host_perms = 0x2, + }, + }, }, /* DKEK configuration */
此致、
Li