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-AM62X: .syscfg file for AM62x evaluation kit

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

Hi,

we have installed sysconfig tool and tried to open the . After  opening we couldn't see configuration reflecting the am62x EVM board. like UARTs not being assigned and same with other peripherals.

could you please let us know from where to download default sysconfig file for evaluation board.

we have attached the file from sdk out folder.

/**
 * These arguments were used when this file was generated. They will be automatically applied on subsequent loads
 * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
 * @cliArgs --device "AM62x" --package "ALW" --part "Default" --product "K3-Respart-Tool@0.5"
 * @versions {"tool":"1.16.1+2960"}
 */

/**
 * Import the modules used in this configuration.
 */
const A53_2            = scripting.addModule("/modules/am62x/A53_2");
const M4_0             = scripting.addModule("/modules/am62x/M4_0");
const MAIN_0_R5_1      = scripting.addModule("/modules/am62x/MAIN_0_R5_1");
const resourceSharing  = scripting.addModule("/modules/resourceSharing", {}, false);
const resourceSharing1 = resourceSharing.addInstance();
const resourceSharing2 = resourceSharing.addInstance();
const resourceSharing3 = resourceSharing.addInstance();
const resourceSharing4 = resourceSharing.addInstance();
const resourceSharing5 = resourceSharing.addInstance();

/**
 * Write custom configuration values to the imported modules.
 */
A53_2.allocOrder                                          = 1;
A53_2.Compare_event_Interrupt_Router_count                = 16;
A53_2.DMASS_Interrupt_aggregator_Global_events_count      = 512;
A53_2.DMASS_Packet_DMA_Rings_for_SA2UL_Tx_channel1_count  = 8;
A53_2.DMASS_Packet_DMA_Rings_for_SA2UL_Rx_channel2_count  = 8;
A53_2.DMASS_Packet_DMA_Rings_for_SA2UL_Rx_channel3_count  = 8;
A53_2.DMASS_Packet_DMA_SA2UL_Tx_channel1_count            = 1;
A53_2.DMASS_Packet_DMA_SA2UL_Rx_channel2_count            = 1;
A53_2.DMASS_Packet_DMA_SA2UL_Rx_channel3_count            = 1;
A53_2.DMASS_Packet_DMA_virt_id_range_start                = 2;
A53_2.DMASS_Packet_DMA_virt_id_range_count                = 2;
A53_2.DMASS_Packet_DMA_Rings_for_CPSW_Tx_channel_count    = 64;
A53_2.DMASS_Packet_DMA_Rings_for_CPSW_Rx_channel_count    = 16;
A53_2.Block_Copy_DMA_Block_copy_channel_count             = 18;
A53_2.Block_Copy_DMA_Split_TR_Tx_channel_count            = 12;
A53_2.Block_Copy_DMA_Split_TR_Rx_channel_count            = 18;
A53_2.DMASS_Packet_DMA_Free_Tx_channel_count              = 10;
A53_2.DMASS_Packet_DMA_Free_Rx_channel_count              = 10;
A53_2.DMASS_Packet_DMA_CPSW_Tx_channel_count              = 8;
A53_2.DMASS_Packet_DMA_CPSW_Rx_channel_count              = 1;
A53_2.DMASS_Packet_DMA_SA2UL_Tx_channel0_count            = 1;
A53_2.DMASS_Packet_DMA_SA2UL_Rx_channel0_count            = 1;
A53_2.DMASS_Packet_DMA_SA2UL_Rx_channel1_count            = 1;
A53_2.DMASS_Packet_DMA_Rings_for_SA2UL_Rx_channel0_count  = 8;
A53_2.DMASS_Packet_DMA_Rings_for_SA2UL_Tx_channel0_count  = 8;
A53_2.DMASS_Packet_DMA_Rings_for_SA2UL_Rx_channel1_count  = 8;
A53_2.MAIN_GPIO_Interrupt_Router_count                    = 16;
A53_2.WKUP_MCU_GPIO_Interrupt_Router_count                = 4;
A53_2.DMASS_Interrupt_aggregator_Virtual_interrupts_count = 35;

M4_0.allocOrder                                          = 3;
M4_0.Block_Copy_DMA_Block_copy_channel_count             = 2;
M4_0.Block_Copy_DMA_Split_TR_Rx_channel_count            = 2;
M4_0.Block_Copy_DMA_Split_TR_Tx_channel_count            = 2;
M4_0.DMASS_Packet_DMA_Free_Tx_channel_count              = 3;
M4_0.DMASS_Packet_DMA_Free_Rx_channel_count              = 3;
M4_0.Compare_event_Interrupt_Router_count                = 22;
M4_0.MAIN_GPIO_Interrupt_Router_count                    = 2;
M4_0.WKUP_MCU_GPIO_Interrupt_Router_count                = 4;
M4_0.DMASS_Interrupt_aggregator_Global_events_count      = 128;
M4_0.DMASS_Interrupt_aggregator_Virtual_interrupts_count = 8;

MAIN_0_R5_1.allocOrder                                          = 2;
MAIN_0_R5_1.DMASS_Interrupt_aggregator_Global_events_count      = 256;
MAIN_0_R5_1.shareResource                                       = "MAIN_0_R5_0";
MAIN_0_R5_1.Block_Copy_DMA_Block_copy_channel_count             = 6;
MAIN_0_R5_1.Block_Copy_DMA_Split_TR_Rx_channel_count            = 6;
MAIN_0_R5_1.Block_Copy_DMA_Split_TR_Tx_channel_count            = 6;
MAIN_0_R5_1.DMASS_Packet_DMA_Free_Tx_channel_count              = 3;
MAIN_0_R5_1.DMASS_Packet_DMA_Free_Rx_channel_count              = 3;
MAIN_0_R5_1.Compare_event_Interrupt_Router_count                = 4;
MAIN_0_R5_1.DMASS_Interrupt_aggregator_Virtual_interrupts_count = 36;

resourceSharing1.$name              = "modules_resourceSharing0";
resourceSharing1.resourceName       = "DMASS Packet DMA CPSW Tx channel";
resourceSharing1.sharedFromHostName = "A53_2";
resourceSharing1.sharedToHostName   = "MAIN_0_R5_1";

resourceSharing2.$name              = "modules_resourceSharing1";
resourceSharing2.resourceName       = "DMASS Packet DMA Rings for CPSW Rx channel";
resourceSharing2.sharedFromHostName = "A53_2";
resourceSharing2.sharedToHostName   = "MAIN_0_R5_1";

resourceSharing3.$name              = "modules_resourceSharing2";
resourceSharing3.resourceName       = "DMASS Packet DMA CPSW Rx flows";
resourceSharing3.sharedFromHostName = "A53_2";
resourceSharing3.sharedToHostName   = "MAIN_0_R5_1";

resourceSharing4.$name              = "modules_resourceSharing3";
resourceSharing4.sharedFromHostName = "A53_2";
resourceSharing4.resourceName       = "DMASS Packet DMA Rings for CPSW Tx channel";
resourceSharing4.sharedToHostName   = "MAIN_0_R5_1";

resourceSharing5.$name              = "modules_resourceSharing4";
resourceSharing5.resourceName       = "DMASS Packet DMA CPSW Rx channel";
resourceSharing5.sharedFromHostName = "A53_2";
resourceSharing5.sharedToHostName   = "MAIN_0_R5_1";

Thanks and Regards,

Swapna

  • Hi Swapna,

    Keystone3 Resource Partitioning tool is used for partitioning various system level resources to different software components in a multi core SoC. These resources include DMA channels, NAVSS rings, proxies, interrupts, etc. The default configuration file will not assign any peripheral like UART, SPI etc for EVM board. You can manually add them using sysconfig tool according to your usecase. For more information please refer K3_Resource_Partitioning_Tool.

    Thanks & Regards,

    Tushar