This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: How to setup firewall for a device

Part Number: TDA4VM

Hi,

We are trying to setup firewall for a device say SPI0 but having issue that Sciclient_firewallGetRegion or Sciclient_firewallSetRegion will report error because sciResp.flags variable will not having  TISCI_MSG_FLAG_ACK. Any idea what is going wrong?

struct tisci_msg_fwl_change_owner_info_req req = {
    .fwl_id = 2136,
    .region = 1,
    .owner_index = 40
};

- Sciclient_firewallChangeOwnerInfo will have no problem. 

struct tisci_msg_fwl_get_firewall_region_req req2 = {
.fwl_id = 2136,
.region = 1,
.n_permission_regs = 3,
};

- Sciclient_firewallGetRegion will not have ACK in response structure.

- TISCI_MSG_FLAG_AOP | TISCI_MSG_FLAG_ACK flags are also used for TISCI_MSG_GET_FWL_REGION message.

Versions:

SYSFW ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
J7X-BASE-CPB rev E3
J7X-VSC8514-ETH rev E2

Thanks