Tool/software:
Hi expert,
we have test TSN EST Example on cpsw port1 and it work well on our board, but we want to test it on cpsw port2 too for hardware limit, I change it through syscfg tool then compile and load image to board, it not works as cpsw macport1 does. SDK version is 09.02.01.05,the log is like below.
==========================
TSN CPSW App
==========================
Enabling clocks!
start to open driver.
EnetAppUtils_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 4 To 2
Init all configs
----------------------------------------------
sitara-cpsw: init config
Mdio_open: MDIO Manual_Mode enabled
sitara-cpsw: Open port 2
PHY 0 is alive
PHY 1 is alive
PHY 5 is alive
numMacPorts=1 macPort=1
EnetMod_ioctl: cpsw3G.macport1: Module is not open
Cpsw_registerIoctlHandler: Failed to register IOCTL handler: -1, 1000502, 700DF3E1
EnetPer_ioctl: cpsw3g: Failed to do IOCTL cmd 0x01000110: -1
Enet_ioctl: cpsw3g: IOCTL 0x01000110 failed: -1
Failed to set dscp Priority map for Port 1 - -1
2numMacPorts=1 macPort=1
sitara-cpsw: Create RX task for regular traffic
initQs() txFreePktInfoQ initialized with 1 pkts
MAC port addr: 34:08:e1:81:02:1d
unibase-1.1.4
INF:cbase:tilld0: has mac: 34:08:E1:81:02:1D
INF:cbase:cb_lld_task_create: uniconf_task stack_size=16384
Start: uniconf_task
EnetApp_uniconfTask: dbname: NULL
INF:uconf:simpledb_open:no data is imported
INF:uconf:get_next_nameid:a new mod=xl4-data, enum=0
INF:uconf:get_next_nameid:a new mod=xl4-extmod, enum=1
INF:uconf:uc_hwal_open:
error log is:
EnetMod_ioctl: cpsw3G.macport1: Module is not open
Cpsw_registerIoctlHandler: Failed to register IOCTL handler: -1, 1000502, 700DF3E1
EnetPer_ioctl: cpsw3g: Failed to do IOCTL cmd 0x01000110: -1
Enet_ioctl: cpsw3g: IOCTL 0x01000110 failed: -1
Failed to set dscp Priority map for Port 1 - -1
EnetMod_ioctl: cpsw3G.macport1: Module is not open
Cpsw_registerIoctlHandler: Failed to register IOCTL handler: -1, 1010501, 700DF221
EnetPer_ioctl: cpsw3g: Failed to do IOCTL cmd 0x01000110: -1
Enet_ioctl: cpsw3g: IOCTL 0x01000110 failed: -1
Enet_ioctl ENABLE_CPTS_EVENT failed -1 port 1
EnetMod_ioctl: cpsw3G.macport1: Module is not open
Cpsw_registerIoctlHandler: Failed to register IOCTL handler: -1, 1010501, 700DF221
EnetPer_ioctl: cpsw3g: Failed to do IOCTL cmd 0x01000110: -1
Enet_ioctl: cpsw3g: IOCTL 0x01000110 failed: -1
Enet_ioctl ENABLE_CPTS_EVENT failed -1 port 1