AnsweredAssumed Answered

[T1040RDB] Test reflector -> error: failed to load configuration

Question asked by nicolaskury on Jan 20, 2016

Hi

 

I have a T1040RDB and I would like to try the example with reflector. I follow the documentation (chapter "Benchmark" and "USDPAA".

cd /usr/etc

fmc -c usdpaa_config_t1_serdes_0x66.xml -p usdpaa_policy_hash_ipv4.xml -a

 

I configured the l2switch following the documentation and I run reflector. But I have a problem

root@t1040rdb:/usr/etc#  reflector 3 -c usdpaa_config_t1_serdes_0x66.xml -p usdpaa_policy_hash_ipv4.xml -d 0x10000000

Found /fsl,dpaa/dpa-fman0-oh@2, Tx Channel = 80a, FMAN = 0, Port ID = 1

lib/syscfg/usdpaa_netcfg_layer.c:577:usdpaa_netcfg_acquire(): fmc_netcfg_get_info()

error: failed to load configuration

 

I use an image (fsl-full) built with sdk 1.8. When I boot with the default image installed on the board (sdk 1.7) or provided on a usb key (also sdk 1.7) , I have also this error.

I tried many thing but it didn't solve the problem. Should I connect RJ45 cables to the ethX port ? I don't think so.

 

 

1) I reserved some memory

nohvboot=tftp 1000000 $dir/$bootfile;tftp 2000000 $dir/$ramdiskfile;tftp c00000 $dir/$fdtfile;setenv bootargs root=/dev/ram rw console=ttyS0,115200 $othbootargs;bo;

 

2) I use the good udspaa.dtb... I took the original files provided on a usb key with the T1040 (image sdk 1.7)

tftp 0x4000000 sdk1.7_default/fsl-image-core-t1040rdb-64b-20141214121956.rootfs.uRamdisk

tftp 0x1000000 sdk1.7_default/uImage--3.12-r0-t1040rdb-64b-20141213100714.bin

tftp e8800000 sdk1.7_default/uImage--3.12-r0-t1040rdb-usdpaa-20141213100714.dtb

bootm 0x1000000 0x4000000 e8800000

Or with my own image (sdk 1.8)

tftp 0x4000000 odpdpaa1/uRamdisk

tftp 0x1000000 odpdpaa1/uImage--3.12-r0

tftp e8800000 odpdpaa1/uImage--3.12-r0-t1040d4rdb-usdpaa.dtb

bootm 0x1000000 0x4000000 e8800000

I also downloaded the images from sdk 1.8 on the website. QorIQ-SDK-v1.8-PPC64E5500-IMAGE-20150619-yocto.iso

And still the same error...

 

 

3) I updated Fman with fsl_fman_ucode_t1040_r1.0_107_4_2.bin and rcw with rcw_1400MHz. I

Fman1: Uploading microcode version 107.4.2

FSL_MDIO0:0 is connected to FM1@DTSEC1.  Reconnecting to FM1@DTSEC2

FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5

Hit any key to stop autoboot:  0

 

I attached the full log with an image sdk1.7 and adk1.8. The only difference I see is in the log, with 1.8 there is this error:

[5.211259] seville MAC address not found
[5.263774] phy_0: Failed to get irq number - 0
[5.316510] phy_1: Failed to get irq number - 0
[5.369428] phy_2: Failed to get irq number - 0
[5.422164] phy_3: Failed to get irq number - 0
[5.475079] phy_4: Failed to get irq number - 0
[5.527816] phy_5: Failed to get irq number - 0
[5.580729] phy_6: Failed to get irq number - 0
[5.633471] phy_7: Failed to get irq number - 0

 

I also attached the file where the error occurs. it seems that num_cfg_ports==0

 

Thank you

Original Attachment has been moved to: log_fmanr1.0_107_4_2_imagesdk1.8.txt.zip

Original Attachment has been moved to: usdpaa_netcfg_layer.c.zip

Original Attachment has been moved to: log_fmanr1.0_107_4_2_imagesdk1.7.txt.zip

Outcomes