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.

TDA4VL-Q1: Firewall Configuration

Part Number: TDA4VL-Q1
Other Parts Discussed in Thread: SYSCONFIG, TDA4VM, TDA4VL, TDA4VH

Tool/software:

I am attempting to update the firewall configuration on the eval kit: J721S2XSOMG01EVM. I am using SysConfig (v1.21.2+3837) and the k3-repart-tool included in the SDK: ti-processor-sdk-linux-edgeai-j721s2-evm-10_00_00_08. I copied in the .metadata and data directories from k3-repart-tool in ti-processor-sdk-linux-edgeai-j721s2-evm-09_02_00_05, since they seem to be omitted from 10.0.0.8.

Is there documentation on this tool? For instance:



Also, the TRM indicates the Priv-IDs and Route IDs are defined in the "Appendix Spreadsheet." Is this the spreadsheet that also contains the register definitions? I do not see it there and I don't know what else the "Appendix Spreadsheet" could be a reference to. Please provide a direct link to avoid confusion.

I am also not entirely clear on how the generated file integrates into the bootloader. It's possible that I'm just not seeing the right section in the documentation, so if so, could you please point to it?

  • Hi Bryant,

    The SysConfig Tool does not have support to generate Firewall data for TDA4VL(j721s2) or TDA4VH devices. It only has support for J721E/TDA4VM.

    Also, the TRM indicates the Priv-IDs and Route IDs are defined in the "Appendix Spreadsheet." Is this the spreadsheet that also contains the register definitions?

    If you want to configure the fiewall for protecting a particular region you need to make use of TISCI API 

    For the reference you can have a look at TSCI documentation https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/security/firewall_api.html#firewall-tisci-description

    Register detail are already present in the TRM, see " Firewalls (FW)" section of the TRM.

    The spreadsheet contains the list for firewall id and the region it is protecting.

    The J721S2 TRM is available on ti.com: https://www.ti.com/lit/zip/spruj28 

    The download is a zip file which contains below content:

    Registers descriptions are available in the J721S2_Registers_*.xlsx.

    The J721S2_Appendix contains a 2 x tabs, one for initiator firewalls, one for target firewalls.

    I am also not entirely clear on how the generated file integrates into the bootloader. It's possible that I'm just not seeing the right section in the documentation, so if so, could you please point to it?

    There are places in the SDK where we are configuring the firewall for a reference you can have a look into that. Like <RTOS_SDK>/<pdk>packages/ti/boot/sbl/soc/k3/sbl_sci_client.c

    Yu can also refer TISCI documentation for the firewall FAQ.

    Firewall FAQ — TISCI User Guide

    Regards
    Diwakar