AnsweredAssumed Answered

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

Question asked by nicolaskury on Dec 18, 2015
Latest reply on Jan 14, 2016 by nicolaskury



I have a T1040RDB and I would like to try the example with reflector. I follow the documentation :



I start the board with the default image fsl-core. The logs :



Net:   Initializing Fman

Fman1: Uploading microcode version 106.4.14

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



## Booting kernel from Legacy Image at e8020000 ...

   Image Name:   Linux-3.12.19-rt30-QorIQ-SDK-V1.

   Image Type:   PowerPC Linux Kernel Image (gzip compressed)

   Data Size:    4351614 Bytes = 4.2 MiB


## Loading init Ramdisk from Legacy Image at e9300000 ...

   Image Name:   fsl-image-core-t1040rdb-20141214

   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)

   Data Size:    29372982 Bytes = 28 MiB


No USDPAA memory, no 'usdpaa_mem' bootarg


dpaa_debugfs: FSL DPAA Ethernet debugfs entries ()

dpaa_generic_debugfs: FSL DPAA Ethernet debugfs entries ()

fsl_mac: fsl_mac: FSL FMan MAC API based driver ()

fsl_mac ffe4e0000.ethernet: FMan MEMAC

fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:04:9f:03:43:75

fsl_mac ffe4e2000.ethernet: FMan MEMAC

fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:03:43:76

fsl_mac ffe4e4000.ethernet: FMan MEMAC

fsl_mac ffe4e4000.ethernet: FMan MAC address: 00:04:9f:03:43:77

fsl_mac ffe4e6000.ethernet: FMan MEMAC

fsl_mac ffe4e6000.ethernet: FMan MAC address: 00:04:9f:03:43:78

fsl_mac ffe4e8000.ethernet: FMan MEMAC

fsl_mac ffe4e8000.ethernet: FMan MAC address: 00:04:9f:03:43:79

fsl_dpa: FSL DPAA Ethernet driver ()

fsl_dpa: fsl_dpa: Probed interface eth0

fsl_dpa: fsl_dpa: Probed interface eth1

fsl_dpa: fsl_dpa: Probed interface eth2

fsl_dpa: fsl_dpa: Probed interface eth3

fsl_dpa: fsl_dpa: Probed interface eth4





cd /usr/etc

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


killall l2sw_bin

/etc/init.d/l2switch start


l2switch-cfg  mac add 00:11:22:33:44:01 0   #(Add mac address to FDB of port 0)

l2switch-cfg  mac add 00:11:22:33:55:01 1

l2switch-cfg  mac add 00:11:22:33:44:02 2

l2switch-cfg  mac add 00:11:22:33:55:02 3

l2switch-cfg  mac add 00:11:22:33:44:03 4

l2switch-cfg  mac add 00:11:22:33:55:03 4

l2switch-cfg  mac add 00:04:9f:03:43:75 8   # replace <...> with real MAC address

l2switch-cfg  mac add 00:04:9f:03:43:75 9   # replace <...> with real MAC address

l2switch-cfg  mac dump

mac dump
TypeVID  MAC Address    Ports

------  ---  -----------------  -----

Static  100:04:9f:03:43:75  9
Static  100:11:22:33:44:01  0
Static  100:11:22:33:44:02  2
Static  100:11:22:33:44:03  4
Static  100:11:22:33:55:01  1
Static  100:11:22:33:55:02  3
Static  100:11:22:33:55:03  4


Static  entries: 7

Dynamic entries: 0


First "problem", my entry for port 8 is missing, but anyway. Then :


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

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

error: failed to load configuration


I don't understand what I'm doing wrong...


Thank you