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

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

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

1,490 Views
nicolaskury
Contributor II

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

Labels (1)
0 Kudos
2 Replies

892 Views
bpe
NXP Employee
NXP Employee

Based on the console log, you are attempting to TFTP a Device Tree blob directly into NOR Flash

(tftp e8800000 odpdpaa1/uImage--3.12-r0-t1040d4rdb-usdpaa.dtb) which does not work as you probably

expect. u-Boot does not display any error but no actual write occurs. This most likely results in booting with

a previously programmed, non-USDPAA DTB. Please follow deployment instructions specified in Section

3.4.18.9 of SDK 1.8 Manual _strictly_.


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

892 Views
nicolaskury
Contributor II

Hi! Thank you for the answer.

So I fixed this problem! Thank you! The documentation said to load at the c00000 address but I had the error "ERROR: image is not a fdt - must RESET the board to recover.". This topic helped me Booting T1040RDB 64-bit

setenv bootargs "root=/dev/ram rw ramdisk_size=10000000 console=ttyS0,115200"

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

tftp 4000000 sdk1.7_default/fsl-image-core-t1040rdb-64b-20141214121956.rootfs.ext2.gz.u-boot

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

bootm 1000000 4000000 e00000

Now I have another error when I start the reflector.

# cd /usr/etc

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

# Here I configure l2switch-cfg

# reflector 3 -c usdpaa_config_t1_serdes_0x66.xml -p usdpaa_policy_hash_ipv4.xml -d 0x10000000 -s

Found /fsl,dpaa/dpa-fman0-oh@2, Tx Channel = 80a, FMAN = 0, Portreflector[2725]: unhandled signal 11 at 0000000000000000 nip 0000000010005734 lr 1

ID = 1

Found /fsl,dpaa/ethernet@0, Tx Channel = 802, FMAN = 0, Port ID = 1

Found /fsl,dpaa/ethernet@1, Tx Channel = 803, FMAN = 0, Port ID = 2

Found /fsl,dpaa/ethernet@2, Tx Channel = 804, FMAN = 0, Port ID = 3

Found /fsl,dpaa/ethernet@3, Tx Channel = 805, FMAN = 0, Port ID = 4

Found /fsl,dpaa/ethernet@4, Tx Channel = 806, FMAN = 0, Port ID = 5

QMan: Allocated lookup table at 0x3fffa8a2d010, entry count 32769

error: no pool channels available

Configuring for 5 network interfaces

error: dma_mem init, continuing

Allocated DMA region size 0x10000000

reflector: process_portal_map()cpu hotplug daemon not running: No such file or directory

: Unknown error -19

No available Bman portals for cpu 3

error: failed to create worker for cpu 3

Segmentation fault

When I start hello_reflector

# hello_reflector -c usdpaa_config_t1_serdes_0x66.xml -p usdpaa_policy_hash_ipv4.xml  -n 3

Starting hello_reflector, ncpus=3

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

Found /fsl,dpaa/ethernet@0, Tx Channel = 802, FMAN = 0, Port ID = 1

Found /fsl,dpaa/ethernet@1, Tx Channel = 803, FMAN = 0, Port ID = 2

Found /fsl,dpaa/ethernet@2, Tx Channel = 804, FMAN = 0, Port ID = 3

Found /fsl,dpaa/ethernet@3, Tx Channel = 805, FMAN = 0, Port ID = 4

Found /fsl,dpaa/ethernet@4, Tx Channel = 806, FMAN = 0, Port ID = 5

QMan: Allocated lookup table at 0x3fffad8ab010, entry count 32769

Fail: no pool channels available

What is the reason ? I also added the environment variable in uboot...

othbootargs=isolcpus=1-3 usdpaa_mem=256M bportals=s0 qportals=s0 fsl_fm_max_frm=9000

PS: when I boot on a sdk 1.8 image, I still got the same error with reflector. Should I also update uboot ? I have uboot sdk1.7

#  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

Thank you

Nicolas

0 Kudos