ls1046 FMC run error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ls1046 FMC run error

665 Views
Sophia1
Contributor I

Hello:

please help to see how to resolve this issue.

My board's uboot log is SoC: LS1046AE Rev1.0 (0x87070010) Clock Configuration: CPU0(A72):1600 MHz CPU1(A72):1600 MHz CPU2(A72):1600 MHz CPU3(A72):1600 MHz Bus: 600 MHz DDR: 2100 MT/s FMAN: 600 MHz Reset Configuration Word (RCW): 00000000: 0c150010 09000000 00000000 00000000 00000010: 11335577 40000006 40044000 a1000000 00000020: 00000000 00000000 00000000 00038cf8 00000030: 20124000 00003101 00000096 00000003 kernel version is 4.14.47 when I use fmc tool, run this command, it has the following errors. fmc -l dbg3 -c /etc/fmc/config/private/ls1046ardb/RR_FFSSPPPH_1133_5559/config.xml -p /etc/fmc/config/private/ls1046ardb/RR_FFSSPPPH_1133_5559/policy_ipv4.xml -a .apply_order_count = 38, FMC_APPLY_ORDER( 0, FMCEngineStart , 0 ), /* fm0 */ FMC_APPLY_ORDER( 1, FMCPortStart , 0 ), /* fm0/port/MAC/3 */ FMC_APPLY_ORDER( 2, FMCScheme , 3 ), /* fm0/port/MAC/3/dist/udpeth3 */ FMC_APPLY_ORDER( 3, FMCScheme , 2 ), /* fm0/port/MAC/3/dist/tcpeth3 */ FMC_APPLY_ORDER( 4, FMCScheme , 1 ), /* fm0/port/MAC/3/dist/ipv4eth3 */ FMC_APPLY_ORDER( 5, FMCScheme , 0 ), /* fm0/port/MAC/3/dist/garbage_dist_3 */ FMC_APPLY_ORDER( 6, FMCPortEnd , 0 ), /* fm0/port/MAC/3 */ FMC_APPLY_ORDER( 7, FMCPortStart , 1 ), /* fm0/port/MAC/4 */ FMC_APPLY_ORDER( 8, FMCScheme , 7 ), /* fm0/port/MAC/4/dist/udpeth4 */ FMC_APPLY_ORDER( 9, FMCScheme , 6 ), /* fm0/port/MAC/4/dist/tcpeth4 */ FMC_APPLY_ORDER( 10, FMCScheme , 5 ), /* fm0/port/MAC/4/dist/ipv4eth4 */ FMC_APPLY_ORDER( 11, FMCScheme , 4 ), /* fm0/port/MAC/4/dist/garbage_dist_4 */ FMC_APPLY_ORDER( 12, FMCPortEnd , 1 ), /* fm0/port/MAC/4 */ FMC_APPLY_ORDER( 13, FMCPortStart , 2 ), /* fm0/port/MAC/5 */ FMC_APPLY_ORDER( 14, FMCScheme , 11 ), /* fm0/port/MAC/5/dist/udpeth5 */ FMC_APPLY_ORDER( 15, FMCScheme , 10 ), /* fm0/port/MAC/5/dist/tcpeth5 */ FMC_APPLY_ORDER( 16, FMCScheme , 9 ), /* fm0/port/MAC/5/dist/ipv4eth5 */ FMC_APPLY_ORDER( 17, FMCScheme , 8 ), /* fm0/port/MAC/5/dist/garbage_dist_5 */ FMC_APPLY_ORDER( 18, FMCPortEnd , 2 ), /* fm0/port/MAC/5 */ FMC_APPLY_ORDER( 19, FMCPortStart , 3 ), /* fm0/port/MAC/6 */ FMC_APPLY_ORDER( 20, FMCScheme , 15 ), /* fm0/port/MAC/6/dist/udpeth6 */ FMC_APPLY_ORDER( 21, FMCScheme , 14 ), /* fm0/port/MAC/6/dist/tcpeth6 */ FMC_APPLY_ORDER( 22, FMCScheme , 13 ), /* fm0/port/MAC/6/dist/ipv4eth6 */ FMC_APPLY_ORDER( 23, FMCScheme , 12 ), /* fm0/port/MAC/6/dist/garbage_dist_6 */ FMC_APPLY_ORDER( 24, FMCPortEnd , 3 ), /* fm0/port/MAC/6 */ FMC_APPLY_ORDER( 25, FMCPortStart , 4 ), /* fm0/port/MAC/9 */ FMC_APPLY_ORDER( 26, FMCScheme , 19 ), /* fm0/port/MAC/9/dist/udpeth7 */ FMC_APPLY_ORDER( 27, FMCScheme , 18 ), /* fm0/port/MAC/9/dist/tcpeth7 */ FMC_APPLY_ORDER( 28, FMCScheme , 17 ), /* fm0/port/MAC/9/dist/ipv4eth7 */ FMC_APPLY_ORDER( 29, FMCScheme , 16 ), /* fm0/port/MAC/9/dist/garbage_dist_7 */ FMC_APPLY_ORDER( 30, FMCPortEnd , 4 ), /* fm0/port/MAC/9 */ FMC_APPLY_ORDER( 31, FMCPortStart , 5 ), /* fm0/port/MAC/10 */ FMC_APPLY_ORDER( 32, FMCScheme , 23 ), /* fm0/port/MAC/10/dist/udpeth8 */ FMC_APPLY_ORDER( 33, FMCScheme , 22 ), /* fm0/port/MAC/10/dist/tcpeth8 */ FMC_APPLY_ORDER( 34, FMCScheme , 21 ), /* fm0/port/MAC/10/[ 2702.906433] cpu 0: ! CRITICAL FM-PCD Error [CPU00, /usr/src/kernel/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fm_pcd.c:1123 FM_PCD_Enable]: Invalid Handle; dist/ipv4eth8 */[ 2702.906436] cpu 0: FMC_APPLY_[ 2702.923070] cpu 0: ORDER( 35, FMCSc[ 2702.930123] cpu 0: ! MINOR FM Error [CPU00, /usr/src/kernel/drivers/net/ethernet/freescale/sdk_fman/src/wrapper/lnxwrp_ioctls_fm.c:3444 LnxwrpFmPcdIOCTL]: Invalid Handle; heme , 20 )[ 2702.930125] cpu 0: IOCTL FM PCD , /* fm0/port/MA[ 2702.946817] cpu 0: C/10/dist/garbag[ 2702.954935] cpu 0: ! CRITICAL FM-PCD Error [CPU00, /usr/src/kernel/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fm_pcd.c:1179 FM_PCD_Disable]: Invalid Handle; e_dist_8 */ [ 2702.954937] cpu 0: FMC_APPLY_ORDER[ 2702.971784] cpu 0: ( 36, FMCPortEnd[ 2702.978837] cpu 0: ! MINOR FM Error [CPU00, /usr/src/kernel/drivers/net/ethernet/freescale/sdk_fman/src/wrapper/lnxwrp_ioctls_fm.c:3444 LnxwrpFmPcdIOCTL]: Invalid Handle; , 5 ), /* [ 2702.978839] cpu 0: IOCTL FM PCD fm0/port/MAC/10 [ 2702.995532] cpu 0: */ FMC_APPLY_ORDER( 37, FMCEngineEnd , 0 ), /* fm0 */ }; DBG1: fmc_exec_engine_start - execution started DBG1: Invocation of FM_Open from fmc_exec_engine_start for fm0 DBG1: Invocation of FM_Open for fm0 succeeded DBG1: Invocation of FM_PCD_Open from fmc_exec_engine_start for fm0/pcd DBG1: Invocation of FM_PCD_Open for fm0/pcd succeeded DBG1: Invocation of FM_PCD_Enable from fmc_exec_engine_start for fm0/pcd ERR : Invocation of FM_PCD_Enable for fm0/pcd failed with error code 0x00010013 DBG1: Invocation of FM_PCD_Disable from fmc_clean_engine_end for fm0/pcd ERR : Invocation of FM_PCD_Disable for fm0/pcd failed with error code 0x00010013

0 Kudos
3 Replies

459 Views
jiafang
Contributor I

@Sophia1  Were you able to solve this error ?

0 Kudos

658 Views
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hello,

Could you try with the next command, according to https://www.nxp.com/docs/en/application-note/AN4760.pdf

fmc -c 
/etc/fmc/config/private/ls1046ardb/RR_FFSSPPPH_1133_5559/config.xml -p /etc/fmc/config/private/ls1046ardb/RR_FFSSPPPH_1133_5559/policy_ipv4.xml -a
0 Kudos

648 Views
Sophia1
Contributor I

Hello, josephlinares

  When run this command,it also has the same errors.

fmc -c /etc/fmc/config/private/ls1046ardb/RR_FFSSPPPH_1133_5559/config.xml -p /etc/fmc/config/private/ls1046ardb/RR_FFSSPPPH_1133_5559/policy_ipv4.xml -a

[ 113.708939] cpu 0: ! CRITICAL FM-PCD Error [CPU00, /usr/src/kernel/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fm_pcd.c:1123 FM_PCD_Enable]: Invalid Handle; [ 113.708942] cpu 0: [ 113.724348] cpu 0: [ 113.728627] cpu 0: ! MINOR FM Error [CPU00, /usr/src/kernel/drivers/net/ethernet/freescale/sdk_fman/src/wrapper/lnxwrp_ioctls_fm.c:3444 LnxwrpFmPcdIOCTL]: Invalid Handle; [ 113.728629] cpu 0: IOCTL FM PCD [ 113.743939] cpu 0: [ 113.749298] cpu 0: ! CRITICAL FM-PCD Error [CPU00, /usr/src/kernel/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fm_pcd.c:1179 FM_PCD_Disable]: Invalid Handle; [ 113.749300] cpu 0: [ 113.765285] cpu 0: [ 113.772339] cpu 0: ! MINOR FM Error [CPU00, /usr/src/kernel/drivers/net/ethernet/freescale/sdk_fman/src/wrapper/lnxwrp_ioctls_fm.c:3444 LnxwrpFmPcdIOCTL]: Invalid Handle; [ 113.772341] cpu 0: IOCTL FM PCD [ 113.789034] cpu 0:

0 Kudos