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.

PROCESSOR-SDK-AM64X: AM64x MCU+ SDK 09.02.00 - Resource allocation

Part Number: PROCESSOR-SDK-AM64X
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

I am trying to understand the process for resource allocation on the AM64x.

According to 

https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/09_02_00_50/exports/docs/api_guide_am64x/RESOURCE_ALLOCATION_GUIDE.html

one should use the K3 respart tool that is part of the SDK to modify resource allocation. 

After trying this I got the following questions:

1. According to the guide you are supposed to rebuild the boardcfg using these commands:

a. make -s -C tools/sysfw/boardcfg configure-gen SOC=am64x

b. make -s -C tools/sysfw/boardcfg sciclient_boardcfg SOC=am64x

to rebuild the boardcfg binary blobs.
You should also rebuild the example "sciclient_ccs_init".
The example "sciclient_ccs_init" only loads the bytestream defined in "source\drivers\sciclient\soc\am64x_am243x\sysfw_hs_fs_signed.h" though.

So my question is: how do I get my newly created resource allocation on the device, if the example "sciclient_ccs_init" does not access the files that have been changed by the K3 respart tool?

2. According to 
https://software-dl.ti.com/mcu-plus-sdk/esd/AM64X/09_02_00_50/exports/docs/api_guide_am64x/BOOTFLOW_GUIDE.html

the boardcfg can also be part of the tiimage that I flash to the device. Is there any detailed explanation on how to add the output of the K3 respart tool to a tiimage file?

3. Within the tool, under the section "Firewall Configuration", you can add devices to be firewall protected.
- what is defined as a "device" here? Is it a core? Is it a specific resource (e.g. an interface)?
- in the dropdown menu "Device to be protected" you can select "SA2UL Main" or "ZZZZ_0"/"ZZZZ_1". 
What is "ZZZZ_0" and "ZZZZ_1"? What kind of "devices" are these?

Thank you very much.

  • Hi Benjamin,

    Thanks for your question.

    Please expect delayed responses as the assigned expert is currently out of office.

    Thanks for your patience.

    Regards,

    Vaibhav

  • Hello Benjamin,

    So my question is: how do I get my newly created resource allocation on the device, if the example "sciclient_ccs_init" does not access the files that have been changed by the K3 respart tool?
    the boardcfg can also be part of the tiimage that I flash to the device. Is there any detailed explanation on how to add the output of the K3 respart tool to a tiimage file?

    After building the sysfw binary blob you will also need to rebuild the SBL examples and flash the updated SBL binaries to the EVM.

    Please refer RESOURCE_ALLOCATION_GUIDE.

    3. Within the tool, under the section "Firewall Configuration", you can add devices to be firewall protected.
    - what is defined as a "device" here? Is it a core? Is it a specific resource (e.g. an interface)?
    - in the dropdown menu "Device to be protected" you can select "SA2UL Main" or "ZZZZ_0"/"ZZZZ_1". 
    What is "ZZZZ_0" and "ZZZZ_1"? What kind of "devices" are these?

    The firewall configuration using Sysconfig tool is currently not supported in MCU+SDK. Please refer generating-output-files

    You can refer to the instance name for device details like for SA2UL refer to security accelerator module configuration, ZZZZ_0 refers to DDR configuration and ZZZZ_1 refers to SRAM configuration.

    Regards,

    Tushar

  • Hello Tushar,

    thank you for you help.

    Regarding resource allocation:

    if I understand that correctly, I don't need to rebuid the "sciclient_ccs_init" example if I don't intend to use the CCS based boot flow, right?


    Regarding the firewall config:

    That means that currently I would have to configure firewalls directly in code, correct?

    Is it planned to make firewall configuration available in the K3 respart tool later down the road?


    Regards, 

    Benjamin

  • Hello Benjamin,

    if I understand that correctly, I don't need to rebuid the "sciclient_ccs_init" example if I don't intend to use the CCS based boot flow, right?

    Yes, if you are not using CCS based boot flow than no need to rebuild the sciclient_ccs_init example.

    That means that currently I would have to configure firewalls directly in code, correct?

    Is it planned to make firewall configuration available in the K3 respart tool later down the road?

    Yes, currently you cannot configure firewalls using Resource partitioning tool. Currently there is no plan to support firewall configuration through partitioning tool in the upcoming release.

    Regards,

    Tushar