Resource manager must be asked first to allocate any peripheral to any core. Users can configure ICSSG0, ICSSG1 and CPSW Ethernet ports with different modes (MII, RMII, RGMII) using sysconfig tool and attach to the core as per need.
CAUTION: These are the examples given for AM64x which has A53 core:
AM243x does not have A53 core.
Use resource allocation as per use case.
Use the following steps to enable this feature:
- Navigate to the MCU-PLUS-SDK installation directory (In this document, this is referred to as MCU_SDK_HOME).
For example: C:\ti\mcu_plus_sdk_am64x_09_01_00_41
- Open the command prompt and run the following command:
gmake -s -C tools/sysfw/boardcfg configure SOC=am64x
- Change the Tx and Rx channel count for CPSW, ICSSG0, and ICSSG1 to 0 in the A53 core.
- After the channel counts are updated, the values are as follows:
- CPSW Tx channel count = 0
- CPSW Rx channel count = 0
- ICSSG0 Tx channel count = 0
- ICSSG0 Rx channel count = 0
- ICSSG1 Tx channel count = 0
- ICSSG1 Rx channel count = 0
- Rings for CPSW Tx channel count = 0
- Rings for CPSW Rx channel count = 0
- Rings for CPSW Rx flows count = 0
- Rings for ICSSG0 Tx channel count = 0
- Rings for ICSSG0 Rx channel count = 0
- Rings for ICSSG0 Rx flows count = 0
- Rings for ICSSG1 Tx channel count = 0
- Rings for ICSSG1 Rx channel count = 0
- Rings for ICSSG1 Rx flows count = 0
- From (0,0) to (8,1) in R5-non secure 0-1 core (main-0-r5-0-1).
- Change resource sharing from A52 -> r5_ss_0-1 to r5_ss_0-1 -> r5_ss_0-3.
gmake -s -C tools/sysfw/boardcfg configure-gen SOC=am64x
- Navigate to the following file.
source/drivers/sciclient/sciclient_default_boardcfg/am64x/sciclient_defaultBoardcfg_rm.c
- Change the core allocations from A53 -> r5_ss_0-1 to r5_ss_0-1 -> r5_ss_0-3 for CPSW-related changes. There are three A53 changes and three r5-0-1 changes.