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.

SK-AM64: ICSSG0 compile errors

Part Number: SK-AM64
Other Parts Discussed in Thread: SYSCONFIG, DP83869

I have the SK-AM64B board.  I've made an interface PCB to bring out the PRU, ICSSG0, to two DP83822 PHY chips in RGMII mode.

Unfortunately, when I try to use sysconfig to bring in some test code, the compilation fails:

subdir_rules.mk:66: recipe for target 'syscfg/ti_enet_soc.o' failed
syscfg/ti_enet_soc.c:120:45: error: use of undeclared identifier 'ICSSG_DUALMAC_PORT_1_HOST_BUFFER_POOL_NUM_CFG'
static uint8_t gEnetSoc_icssg0HostPoolMem_0[ICSSG_HOST_POOL_0_TOTAL_SIZE]
^
syscfg/ti_enet_soc.c:102:53: note: expanded from macro 'ICSSG_HOST_POOL_0_TOTAL_SIZE'
#define ICSSG_HOST_POOL_0_TOTAL_SIZE (ICSSG_DUALMAC_PORT_1_HOST_POOL_TOTAL_SIZE)
^
syscfg/ti_enet_soc.c:101:58: note: expanded from macro 'ICSSG_DUALMAC_PORT_1_HOST_POOL_TOTAL_SIZE'
#define ICSSG_DUALMAC_PORT_1_HOST_POOL_TOTAL_SIZE (ICSSG_DUALMAC_PORT_1_HOST_BUFFER_POOL_NUM_CFG * ICSSG_DUALMAC_PORT_1_HOST_POOL_SIZE )
^
syscfg/ti_enet_soc.c:138:45: error: use of undeclared identifier 'ICSSG_DUALMAC_PORT_2_HOST_BUFFER_POOL_NUM_CFG'
static uint8_t gEnetSoc_icssg0HostPoolMem_1[ICSSG_HOST_POOL_1_TOTAL_SIZE]
^
syscfg/ti_enet_soc.c:105:53: note: expanded from macro 'ICSSG_HOST_POOL_1_TOTAL_SIZE'
#define ICSSG_HOST_POOL_1_TOTAL_SIZE (ICSSG_DUALMAC_PORT_2_HOST_POOL_TOTAL_SIZE)
^
syscfg/ti_enet_soc.c:104:58: note: expanded from macro 'ICSSG_DUALMAC_PORT_2_HOST_POOL_TOTAL_SIZE'
#define ICSSG_DUALMAC_PORT_2_HOST_POOL_TOTAL_SIZE (ICSSG_DUALMAC_PORT_2_HOST_BUFFER_POOL_NUM_CFG * ICSSG_DUALMAC_PORT_2_HOST_POOL_SIZE )
^
syscfg/ti_enet_soc.c:165:36: error: use of undeclared identifier 'ICSSG_DUALMAC_PORT_1_HOST_BUFFER_POOL_NUM_CFG'
.hostBufferPoolNum = ICSSG_DUALMAC_PORT_1_HOST_BUFFER_POOL_NUM_CFG,
^
syscfg/ti_enet_soc.c:193:32: error: use of undeclared identifier 'ICSSG_DUALMAC_PORT_2_HOST_BUFFER_POOL_NUM_CFG'
.hostBufferPoolNum = ICSSG_DUALMAC_PORT_2_HOST_BUFFER_POOL_NUM_CFG,
^
4 errors generated.
gmake: *** [syscfg/ti_enet_soc.o] Error 1
Building file: "syscfg/ti_drivers_config.c"

It appears that sysconfig doesn't generate the required definitions and macros when ICSSG0 is used.  I took the code from the enet_icssg_tcpserver example, changed from ICSSG1 to ICSSG0, and it failed to compile.  I can't see any reason why this should fail?  Both PRUs should be capable of running dual Ethernet, so why does it only work on ICSSG1?