AnsweredAssumed Answered

T4240qds rev2 fmc usdpaa can not start

Question asked by Harry Liu on Sep 2, 2015

Hi,

 

I am using linux sdk1.5 and linux kernel version is 3.4.91.

The board has two two 1Gports.

I use usdpaa dtb file to boot the target.

 

When I runs the command   "fmc -s Soft_FragParser.xml -p asf-pcd.xml -c cfg.xml -a", it fails with the following err.

 

root@localhost:~# fmc -s Soft_FragParser.xml -p asf-pcd.xml -c cfg.xml -a     

2015 Sep  1 10:17:43 localhost cpu16: ! MAJOR FM-Port Error [CPU16, /pek-lpd-susbld13/jliu7-1/LIN5-fsl-t4xxx/bitbake_build/tmp/work/fsl_t4xxx-wrs-linux/linux-windriver-3.4-r0/linux/drivers/net/ethernet/freescale/fman/Peripherals/FM/Port/fm_port.c:1120 SetPcd]: Invalid State;

2015 Sep  1 10:17:43 localhost cpu16: VSPE is not at port level

2015 Sep  1 10:17:43 localhost cpu16:

2015 Sep  1 10:17:44 localhost cpu7: ! MAJOR FM-Port Error [CPU07, /pek-lpd-susbld13/jliu7-1/LIN5-fsl-t4xxx/bitbake_build/tmp/work/fsl_t4xxx-wrs-linux/linux-windriver-3.4-r0/linux/drivers/net/ethernet/freescale/fman/Peripherals/FM/Port/fm_port.c:4354 FM_PORT_SetPCD]: Invalid State;

2015 Sep  1 10:17:44 localhost cpu7:

ERR : Invocation of FM_PORT_SetPCD for fm1/port/1G/4 failed with error code 0x00010013

ERR : Invocation of FM_PCD_Disable for fm0/pcd failed with error code 0x00010028

2015 Sep  1 10:17:44 localhost cpu7:

2015 Sep  1 10:17:44 localhost cpu7: ! MINOR FM Error [CPU07, /pek-lpd-susbld13/jliu7-1/LIN5-fsl-t4xxx/bitbake_build/tmp/work/fsl_t4xxx-wrs-linux/linux-windriver-3.4-r0/linux/drivers/net/ethernet/freescale/fman/src/wrapper/lnxwrp_ioctls_fm.c:4381 LnxwrpFmPortIOCTL]: Invalid Operation;

2015 Sep  1 10:17:44 localhost cpu7: IOCTL FM PORT

2015 Sep  1 10:17:44 localhost cpu7:

 

The xml used is not the xml file under /usr/etc. Is this allowed?

Please help me to check if the xml files are correct. Does I miss something?

 

But if I delete all vsp related lines in asf-pcd.xml, everything seems ok.

 

I attached the fmc error log, the uboot startup log, environment variables in uboot and all xml files.

I also attached the revised asf-pcd.xml file.

 

Thanks!

Liu Jian

Original Attachment has been moved to: fmc.log.zip

Original Attachment has been moved to: uboot.log.zip

Original Attachment has been moved to: asf-pcd__modified.xml.zip

Original Attachment has been moved to: xmlfiles.tar.bz2

Outcomes