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.

[FAQ] How to get started with resource partitioning tool ?

Other Parts Discussed in Thread: SYSCONFIG

Hi,

I want to use resource partitioning tool but I don't know how to get started ?

This FAQ covers up to SDK 8.6. For an FAQ that covers SDK 9.0 & 9.1, please see
e2e.ti.com/.../faq-how-to-use-k3-resource-partitioning-tool-with-processor-sdk-v9-0-or-v9-1

  • What is Keystone3 resource partitioning tool?

    Keystone3 Resource Partitioning tool is used for partitioning various system level resources to different software components in a multi core SoC. This tool is based on Texas Instrument’s SysConfig tool.

    System level resources include DMA channels, interrupts, NAVSS rings, proxies, etc. In addition to allocating system level resources, the tool supports configuring Quality of Service (QoS) which helps in managing data traffic and firewall parameters which helps in ensuring partitioning of peripheral devices across different software components.

    Note : Keystone3 resource partition tool is packaged as a part of Processor SDK for AM62x, AM62A, and AM64x.

  • Getting Started for Linux Machine:

    1. Download and install the TI-Processor SDK (8.6 or above).
    2. Download and install the SysConfig tool (1.15) from https://www.ti.com/tool/SYSCONFIG
    3. Go to the k3-respart-tool packaged in the SDK installation.
      <Processor SDK install path>/board-support/k3-respart-tool/
    4. Run the setup script ./scripts/setup.py -s <path to sysconfig installation> to setup the SysConfig tool. (replace the sysconfig installation path)
    5. Open the SysConfig GUI tool and navigate to the keystone3 resource partition.

    6. Click on the browse to open an existing design. Navigate to k3-respart-tool\out directory and you will find a baseline file for your platform.

    Note : We do not recommend you to start from scratch, always load the baseline file out\xyz-platform-name.syscfg for customization. 

  • Getting Started for Windows : 

    1. Download and install the SysConfig tool (1.15) from https://www.ti.com/tool/SYSCONFIG
    2. Copy the k3-respart-tool folder packaged in the SDK installation.
      <Processor SDK install path>/board-support/k3-respart-tool/
    3. Open the SysConfig GUI tool and navigate to the keystone3 resource partition.

    4. Click on the browse to open an existing design. Navigate to k3-respart-tool\out directory and you will find a baseline file for your platform.

    Note : We do not recommend you to start from scratch, always load the baseline file out\xyz-platform-name.syscfg for customization.  

  • Please see the below FAQ for

    What is a resource management file (sciclient_defaultBoardcfg_rm.c)?

    What are interrupt routers?

    How do I configure interrupt routers from the tool?

    How do I compile (sciclient_defaultBoardcfg_rm.c)?

    Below are FAQs that mainly focus on configuring main GPIO interrupt routers manually. So, instead of doing it manually, try to configure routers from the Resource Partition Tool. And FAQ mainly explained about Main GPIO Interrupt Routers. So, users need to update all other routers the same as the main GPIO interrupt routers based on TRM.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1198105/faq-am64x-how-to-run-mcu-sdk-gpio_input_interrupt-example-for-r5fss0-0-with-linux-running-on-a53

     

  • Resource Partitioning Tool

    Below is the zip for resource partitioning tool available in TI-Processor SDK for AM62x and AM64x device.

    For AM62xKeystone3 Resource Partition Tool AM62x

    For AM64x - Keystone3 Resource Partition Tool AM64x

  • Resource Partitioning Tool as a part of MCU+SDK

    Keystone3 resource partition tool is available as a part of MCU+SDK from the following versions:

    For AM64x - MCU+SDK v08.06.00.43

    For AM62x - MCU+SDK v09.00.00.19

    Follow the below path in MCU+SDK to find the resource partitioning tool

    For AM62x - ${MCU+SDK}/tools/sysfw/k3-resource-partitioning

    For AM64x - ${MCU+SDK}/tools/sysfw/boardcfg/respart/am64x/k3-respart-tool-0.5

  • Resource Partitioning Tool on SDK v9.1 or above

    To use the resource partitioning tool on SDK v9.1 or above, please refer faq-how-to-use-resource-partitioning-tool-with-processor-sdk-v9-1.

    The above reference page also tells the changes in tool when migrating from SDK v8.6 to v9.1.