T2080 USDPAA Qman ErrInt: Invalid Enqueue State

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

T2080 USDPAA Qman ErrInt: Invalid Enqueue State

766件の閲覧回数
any815346095
Contributor I

1)Hardware:

I want to send a doorbell between two T2080rdb boards used SRIO PORT0,board A use srio port0 to send ,board B use srio port0 to receive。

After deploy images on them and bring up,I input this command on board A:

root@t2080rdb:~# fra -c usdp /usr/etc/usdpaa_config_t2_serdes_66_15.xml -p usdp /usr/etc/u sdpaa_policy_hash_ipv4.xml = -f /usr/etc/fra_config_dstr_testspeed_ txpoint.xml
Found /fsl,dpaa/ethernet@0, Tx Channel = 802, FMAN = 0, Port ID = 1
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@8, Tx Channel = 800, FMAN = 0, Port ID = 9
Found /fsl,dpaa/ethernet@9, Tx Channel = 801, FMAN = 0, Port ID = a
Configuring for 5 network interfaces
BPOOL: Release 8192 bufs to BPID 9
BPOOL: Release 256 bufs to BPID 10
BPOOL: Release 8192 bufs to BPID 11
BPOOL: Release 8192 bufs to BPID 12
Start dist(dbell_to_peer)
RMan inbound block0 is initialized
Start dist(dbell_from_peer)
Start dist(dstr_to_peer)
Start dist(dstr_from_peer)
Thread uid:0 alive (on cpu 1)
fra> testspeed send 1 10 1
Qman ErrInt: Invalid Enqueue State
Testspeed: succeQman ErrInt: DCP id 4
ssful loop timesQman ErrInt: ecir.fqid 0x0
is 0

On board B receive nothing。

 

2)dts:I want use ethernet@0 as FRA,ethernet@2 connect to PC。

fsl,dpaa {
ethernet@0 {/* 10G */
compatible = "fsl,t2080-dpa-ethernet-init", "fsl,dpa-ethernet-init";
fsl,bman-buffer-pools = <&bp7 &bp8 &bp9>;
fsl,qman-frame-queues-rx = <0x90 1 0x91 1>;
fsl,qman-frame-queues-tx = <0x98 1 0x99 1>;
};

ethernet@2 {/* 1G */
compatible = "fsl,t2080-dpa-ethernet", "fsl,dpa-ethernet";
fsl,fman-mac = <&fm1mac3>;
};

};

3)xml

fra_config_dstr_testspeed_txpoint.xml

<fra_cfg>
<!-- xxxxxxxxxxxxxxxxxxxx RMan hardware configuration xxxxxxxxxxxxxxxxxxx -->
<rman_cfg>
<defcfg file="/usr/etc/rman_config.xml"/>
</rman_cfg>
 
<!-- transaction field described all the type transaction settings -->
 
<trans_cfg>
<!-- dbell setting -->
<transaction name="dbell-peer" type="Doorbell">
<flowlvl value="5" mask="1"/>
</transaction>
<!-- data streaming settings -->
<transaction name="dstr-peer" type="Data-streaming">
<flowlvl value="0" mask="2"/>
<cos value="20" mask="0"/>
<streamid value="0" mask="0x1f"/>
</transaction>
</trans_cfg>
 
<dists_cfg>
<!-- xxxxxxxxxxxxxxxxxxxxxx RMAN RX distribution xxxxxxxxxxxxxxxxxxxxxxxx -->
<distribution name="dstr_from_peer" type="RMAN_RX">
<rio_port number="0" mask="1"/>
<sid value="0" mask="0xff"/>
<queue base="0x4000" mode="algorithmic" wq="0"/>
<transactionref name="dstr-peer"/>
</distribution>
<distribution name="dbell_from_peer" type="RMAN_RX">
<rio_port number="0" mask="1"/>
<sid value="0" mask="0xff"/>
<queue base="0x4100" mode="direct" wq="0"/>
<transactionref name="dbell-peer"/>
</distribution>
 
<!-- xxxxxxxxxxxxxxxxxxxxxxx RMAN TX distribution xxxxxxxxxxxxxxxxxxxxxxx -->
<distribution name="dstr_to_peer" type="RMAN_TX">
<rio_port number="0"/>
<did value="0"/>
<queue base="0x4200" count="4" wq="0"/>
<transactionref name="dstr-peer"/>
</distribution>
<distribution name="dbell_to_peer" type="RMAN_TX">
<rio_port number="0"/>
<did value="0"/>
<queue base="0x4300" count="1" wq="0"/>
<transactionref name="dbell-peer"/>
</distribution>
</dists_cfg>
 
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxx Policy xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<policies_cfg>
<policy name="peer-srio-peer" enable="yes">
<!-- test speed core-rman<->rman-core-rman -->
<dist_order>
<cpu_generate_command/>
<distributionref name="dbell_to_peer"/>
</dist_order>
<dist_order>
<distributionref name="dbell_from_peer"/>
</dist_order>
<!-- send point -->
<dist_order>
<cpu_generate_packets/>
<distributionref name="dstr_to_peer"/>
</dist_order>
<dist_order>
<distributionref name="dstr_from_peer"/>
</dist_order>
</policy>
</policies_cfg>
</fra_cfg>
usdpaa_config_t2_serdes_66_15.xml
<cfgdata>
<config>
<engine name="fm0">
<port type="MAC" number="1" policy="hash_ipsec_src_dst_spi_policy6"/>
</engine>
</config>
</cfgdata>
3)log
U-Boot 2016.012.0+ga9b437f (Jul 31 2023 - 18:22:50 -0700)
 
CPU0:  T2080E, Version: 1.1, (0x85380011)
Core:  e6500, Version: 2.0, (0x80400120)
Clock Configuration:
       CPU0:1799.820 MHz, CPU1:1799.820 MHz, CPU2:1799.820 MHz, CPU3:1799.820 MHz, 
       CCB:599.940 MHz,
       DDR:533.320 MHz (1066.640 MT/s data rate) (Asynchronous), IFC:149.985 MHz
       FMAN1: 699.930 MHz
       QMAN:  299.970 MHz
       PME:   599.940 MHz
L1:    D-cache 32 KiB enabled
       I-cache 32 KiB enabled
Reset Configuration Word (RCW):
       00000000: 1204001b 15000000 00000000 00000000
       00000010: 6c290002 c0004000 ec027000 c1000000
       00000020: 00800000 00000000 00000000 000347fc
       00000030: 00000000 00000008 00000000 00000004
I2C:   ready
Board: T2080RDB, Board rev: 0xaa CPLD ver: 0xaa, boot from NAND
SERDES Reference Clocks:
SD1_CLK1=156.25MHZ, SD1_CLK2=100.00MHZ
SD2_CLK1=100.00MHZ, SD2_CLK2=100.00MHZ
SPI:   ready
DRAM:  fixed_sdram
1 GiB (DDR3, 64-bit, CL=7, ECC off)
VID: Could not find voltage regulator on I2C.
Warning: Adjusting core voltage failed.
Flash: 128 MiB
L2:    2 MiB enabled
 
Corenet Platform Cache: 512 KiB enabled
cpu_init_r()->fsl_serdes_init()
serdes_init()
SerDes1_PLL1CR0 = 40860008
serdes_init()1
Using SERDES1 Protocol: 108 (0x6c)
SerDes1_PLL1CR0 = 40860008
SerDes2_PLL1CR0 = 10090008
serdes_init()
SerDes1_PLL1CR0 = 40860008
serdes_init()1
A007186 Serdes PLL not locked
Using SERDES2 Protocol: 41 (0x29)
SerDes1_PLL1CR0 = 40860008
SerDes2_PLL1CR0 = 100900a8
SRIO1: enabled!!!
SRIO2: enabled!!!
SRIO_P1ESCSR : 0x1
SEC0: RNG instantiated
NAND:  512 MiB
MMC:   FSL_SDHC: 0
PCIe1: disabled
PCIe2: disabled
PCIe3: disabled
PCIe4: Root Complex, no link, regs @ 0xfe270000
PCIe4: Bus 00 - 00
In:    serial
Out:   serial
Err:   serial
Net:   SerDes1 protocol 0x6c is not supported on T208xRDB
Fman1: Uploading microcode version 106.4.18
Could not get PHY for FSL_MDIO0: addr 2
Failed to connect
PHY reset timed out
PHY reset timed out
FM_TGEC_MDIO:0 is connected to FM1@TGEC1.  Reconnecting to FM1@TGEC2
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@TGEC1, FM1@TGEC2
SRIO1: enabled!!!
SRIO2: enabled!!!
SRIO_P1ESCSR : 0x1
mac_read_from_eeprom!!!!!!
EEPROM:
SerDes2_PCCR0 : 0xfd00
Invalid ID (00 00 00 00)
MDIO 0x14 : 0x0
MDIO 0x14 : 0x0
MDIO 0x14 : 0x0
MDIO 0x4 : 0x0
MDIO 0x4 : 0x0
MDIO 0x0 : 0x0
MDIO 0x0 : 0x0
MDIO 0x0 : 0x0
MDIO 0x1 : 0x0
MDIO 0x2 : 0x0
MDIO 0x3 : 0x0
MDIO 0x4 : 0x0
MDIO 0x5 : 0x0
MDIO 0x6 : 0x0
MDIO 0x7 : 0x0
MDIO 0x8 : 0x0
MDIO 0xf : 0x0
MDIO 0x10 : 0x0
MDIO 0x11 : 0x0
MDIO 0x12 : 0x0
MDIO 0x13 : 0x0
MDIO 0x14 : 0x0
Hit any key to stop autoboot:  3  2  1  0 
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at e8020000 ..
   Image Name:   Linux-4.1.8-rt8+gbd51baf
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    5102955 Bytes = 4.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at e9300000 ...
   Image Name:   fsl-image-core-t2080rdb-20230726
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    31864358 Bytes = 30.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at e8800000
   Booting using the fdt blob at 0xe8800000
   Uncompressing Kernel Image ... OK
   Loading Ramdisk to 2e19c000, end 2ffff626 ... OK
   Loading Device Tree to 03fe3000, end 03fff9de ... OK
Reserved memory: initialized node bman-fbpr, compatible id fsl,bman-fbpr
 
eserved memory: initialized node qman-fqd, compatible id fsl,qman-fqd
Reserved memory: initialized node qman-pfdr, compatible id fsl,qman-pfdr
Reserved memory: initialized node pme-pdsr, compatible id fsl,pme-pdsr
Reserved memory: initialized node pme-sre, compatible id fsl,pme-sre
Reserved memory: initialized node usdpaa_mem, compatible id fsl,usdpaa-mem
Using CoreNet Generic machine description
MMU: Supported page sizes
         4 KB as direct
      2048 KB as direct & indirect
      4096 KB as direct
     16384 KB as direct
     65536 KB as direct
    262144 KB as direct
   1048576 KB as direct
MMU: Book3E HW tablewalk enabled
Found initrd at 0xc00000002e19c000:0xc00000002ffff626
bootconsole [udbg0] enabled
CPU maps initialized for 2 threads per core
Starting Linux PPC64 #3 SMP Tue Jul 25 01:09:20 PDT 2023
-----------------------------------------------------
ppc64_pft_size    = 0x0
phys_mem_size     = 0x40000000
dcache_line_size  = 0x40
icache_line_size  = 0x40
cpu_features      = 0x00180480581802c8
  possible        = 0x00180480581802c8
  always          = 0x00180400581802c0
cpu_user_features = 0xdc008000 0x08000000
mmu_features      = 0x000a0010
firmware_features = 0x0000000000000000
-----------------------------------------------------
 <- setup_system()
Linux version 4.1.8-rt8+gbd51baf (liusy@ubuntu) (gcc version 4.9.2 (GCC) ) #3 SMP Tue Jul 25 01:09:20 PDT 2023
CoreNet Generic board
Zone ranges:
  DMA      [mem 0x0000000000000000-0x000000003fffffff]
  DMA32    empty
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x000000003fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
MMU: Allocated 2112 bytes of context maps for 255 contexts
PERCPU: Embedded 17 pages/cpu @c00000003fd00000 s28824 r0 d40808 u131072
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258560
Kernel command line: root=/dev/ram rw console=ttyS0,115200
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 28672 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 65536 bytes
early log buf free: 12116(73%)
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Sorting __ex_table...
Memory: 574564K/1048576K available (7856K kernel code, 1136K rwdata, 3004K rodata, 364K init, 764K bss, 474012K reserved, 0K cma-reserved)
Hierarchical RCU implementation.
RCU debugfs-based tracing is enabled.
CONFIG_RCU_FANOUT set to non-default value of 32
Additional per-CPU info printed with stalls.
RCU restricting CPUs from NR_CPUS=24 to nr_cpu_ids=8.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
NR_IRQS:512 nr_irqs:512 16
mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe040000, max 8 CPUs
mpic: ISU size: 512, shift: 9, mask: 1ff
mpic: Initializing for 512 sources
clocksource timebase: mask: 0xffffffffffffffff max_cycles: 0x8a5d528ca, max_idle_ns: 440795203517 ns
clocksource: timebase mult[1aab5972] shift[24] registered
Console: colour dummy device 80x25
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
e6500 family performance monitor hardware support registered
Brought up 8 CPUs
devtmpfs: initialized
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
xor: measuring software checksum  speed
   8regs     :  3564.000 MB/sec
   8regs_prefetch:  3158.000 MB/sec
   32regs    :  3005.000 MB/sec
   32regs_prefetch:  2657.000 MB/sec
   altivec   :  5667.000 MB/sec
xor: using function: altivec (5667.000 MB/sec)
NET: Registered protocol family 16
Bman ver:0a02,02,01
qman-fqd addr 0x3f000000 size 0x800000
qman-pfdr addr 0x3c000000 size 0x2000000
Qman ver:0a01,03,01,02
Found FSL PCI host bridge at 0x0000000ffe270000. Firmware bus number: 0->0
PCI host bridge /pcie@ffe270000  ranges:
 MEM 0x0000000c40000000..0x0000000c4fffffff -> 0x00000000e0000000 
  IO 0x0000000ff8030000..0x0000000ff803ffff -> 0x0000000000000000
/pcie@ffe270000: PCICSRBAR @ 0xff000007
setup_pci_atmu: end of DRAM 40000000
EDAC PCI0: Giving out device to module MPC85xx_edac controller mpc85xx_pci_err: DEV ffe270000.pcie (INTERRUPT)
MPC85xx_edac acquired irq 23 for PCI Err
MPC85xx_edac PCI err registered
platform ffe270000.pcie:pcie@0: Invalid size 0xfffff9 for dma-range
PCI: Probing PCI hardware
fsl-pci ffe270000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
pci_bus 0000:00: root bus resource [mem 0xc40000000-0xc4fffffff] (bus address [0xe0000000-0xefffffff])
pci_bus 0000:00: root bus resource [bus 00]
pci 0000:00:00.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:00.0: PCI bridge to [bus 01-ff]
pci 0000:00:000: BAR 6: no space for [mem size 0x01000000 pref]
pci 0000:00:00.0: BAR 6: failed to assign [mem size 0x01000000 pref]
pci 0000:00:00.0: PCI bridge to [bus 01]
pci 0000:00:00.0:   bridge window [io  0x10000-0x1ffff]
pci 0000:00:00.0:   bridge window [mem 0xc40000000-0xc4fffffff]
raid6: altivecx1 gen()  1107 MB/s
raid6: altivecx2 gen()  1851 MB/s
raid6: altivecx4 gen()  3051 MB/s
raid6: altivecx8 gen()  2968 MB/s
raid6: int64x1  gen()   519 MB/s
raid6: int64x1  xor()   775 MB/s
raid6: int64x2  gen()   873 MB/s
raid6: int64x2  xor()   927 MB/s
raid6: int64x4   en()  1335 MB/s
raid6: int64x4  xor()  1024 MB/s
raid6: int64x8  gen()  1148 MB/s
raid6: int64x8  xor()   881 MB/s
raid6: using algorithm altivecx4 gen() 3051 MB/s
raid6: using intx1 recovery algorithm
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
EDAC MC: Ver: 3.0.0
bman-fbpr addr 0x3e000000 size 0x1000000
Bman err interrupt handler present
Bman portal initialised, cpu 0
Bman portal initialised, cpu 1
Bman portal initialised, cpu 2
Bman portal initialised, cpu 3
Bman portal initialised, cpu 4
Bman portal initialised, cpu 5
Bman portal initialised, cpu 6
Bman portal initialised, cpu 7
Bman portals initialised
Qman err interrupt handler present
QMan: Allocated lookup table at 8000000000002000, entry count 131073
Qman portal initialised, cpu 0
Qman portal initialised, cpu 1
Qman portal initialised, cpu 2
Qman portal initialised, cpuu3
Qman portal initialised, cpu 4
Qman portal initialised, cpu 5
Qman portal initialised, cpu 6
Qman portal initialised, cpu 7
Qman portals initialised
Bman: BPID allocator includes range 32:32
Qman: FQID allocator includes range 256:512
Qman: FQID allocator includes range 32768:32768
Qman: CGRID allocator includes range 0:256
Qman: pool channel allocator includes range 1025:15
USDPAA region at 10000000:10000000(10000:10000), 1 TLB1 entries)
fsl-ifc ffe124000.localbus: Freescale Integrated Flash Controller
fsl-ifc ffe124000.localbus: IFC version 1.3, 8 banks
Switched to clocksource timebase
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 31116K (c00000002e19c000 - c00000002ffff000)
futex hash table entries: 2048 (order: 5, 131072 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(1.552:1): initialized
HugeTLB registered 4 MB page size, pre-allocated 0 pages
HugeTLB registered 16 MB page size, pre-allocated 0 pages
HugeTLB registered 64 MB page size, pre-allocated 0 pages
HugeTLB registered 256 MB page size, pre-allocated 0 pages
HugeTLB registered 1 GB page size, ppe-allocated 0 pages
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
ntfs: driver 2.1.32 [Flags: R/O].
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
async_tx: api initialized (async)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
console [ttyS0] disabled
serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 18748125) is a 16550A
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [udbg0] disabled
bootconsole [udbg0] disabled
serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 18748125) is a 16550A
serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 18748125) is a 16550A
serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 18748125) is a 16550A
ePAPR hypervisor byte channel driver
brd: module loaded
loop: module loaded
st: Version 20101219, fixed bufsize 32768, s/g segs 256
fsl-sata ffe220000.sata: Sata FSL Platform/CSB Driver init
scsi host0: sata_fsl
ata1: SATA max UDMA/133 irq 68
fsl-sata ffe221000.sata: Sata FSL Platform/CSB Driver init
scsi host1: sata_fsl
ata2: SATA max UDMA/133 irq 69
fe8000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
nand: M:cron MT29F4G08ABBDAH4
nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
fsl,ifc-nand fff800000.nand: IFC NAND device at 0xfff800000, bank 1
fsl_espi ffe110000.spi: cs=0, init_csmode=0x100008
m25p80 spi32766.0: unrecognized JEDEC id bytes: 20, bb, 21
fsl_espi ffe110000.spi: at 0x800008008099e000 (irq = 53)
libphy: Fixed MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescaae XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
libphy: Freescale XGMAC MDIO Bus: probed
cpu6/24: > WARNING (FM) [CPU06, /home/liusy/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/work-shared/t2080rdb/kernel-source/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fm.c:3547 FM_Init]: 
cpu6/24: Hack: No FM reset!
cpu6/24: 
 
Freescale FM module, FMD API version 21.1.0
Freescale FM Ports module
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:04:08:6a
fsl_mac ffe4e2000.ethernet: FMan MEMAC
fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:04:08:6b
fsl_mac ffe4e4000.ethernet::FMan MEMAC
fsl_mac ffe4e4000.ethernet: FMan MAC address: 00:04:9f:04:08:6c
fsl_mac ffe4e6000.ethernet: FMan MEMAC
fsl_mac ffe4e6000.ethernet: FMan MAC address: 00:04:9f:04:08:6d
fsl_mac ffe4f0000.ethernet: FMan MEMAC
fsl_mac ffe4f0000.ethernet: FMan MAC address: 00:04:9f:04:08:6e
fsl_mac ffe4f2000.ethernet: FMan MEMAC
fsl_mac ffe4f2000.ethernet: FMan MAC address: 00:04:9f:04:08:6f
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
fsl_advanced: FSL DPAA Advanced drivers:
fsl_proxy: FSL DPAA Proxy initialization driver
fsl_proxy-proxy fsl,dpaa:ethernet@0: probed MAC device with MAC address: 00:04:9f:04:08:6a
fsl_dpa_shared: FSL DPAA Shared Ethernet driver
fsl_dpa_macless: FSL DPAA MACless Ethernet driver
fsl_oh: FSL FMan Offline Parsing port driver
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
fsl-of-dma ffe100300.dma: dma channel dma-uio0-0 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-1 initiaaized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-2 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-3 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-4 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-5 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-6 initialized
fsl-of-dma ffe100300.dma: dma channel dma-uio0-7 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-0 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-1 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-2 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-3 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-4 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-5 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-6 initialized
fsl-of-dma ffe101300.dma: dma channel dma-uio1-7 initialized
fsl-of-srio ffe0c0000.rapidio: Rapidio UIO driver initialized
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 44, io mem 0xffe210000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 45, io mem 0xffe211000
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata1: No Device OR PHYRDY change,Hstatus = 0x80000000
ata1: SATA link down (SStatus 10 SControl 300)
i2c /dev entries driver
mpc-i2c ffe118000.i2c: timeout 1000000 us
ata2: No Device OR PHYRDY change,Hstatus = 0x80000000
ata2: SATA link down (SStatus 10 SControl 300)
rtc-ds1307: probe of 0-0068 failed with error -5
mpc-i2c ffe118100.i2c: timeout 1000000 us
mpc-i2c ffe119000.i2c: timeout 1000000 us
mpc-i2c ffe119100.i2c: timeout 1000000 us
pca954x 1-0077: probe failed
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software
mpc85xx_mc_err_probe: No ECC DIMMs discovered
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
sdhci-esdhc ffe114000.sdhc: No vmmc regulator found
sdhci-esdhc ffe114000.sdhc: No vqmmc regulator found
mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using ADMA 64-bit
platform caam_qi.0: Linux CAAM Queue I/F driver initialised
caam ffe300000.crypto: Instantiated RNG4 SH1
caam ffe300000.crypto: device ID = 0x0a13020000000000 (Era 6)
caam ffe300000.ccypto: job rings = 4, qi = 1
caam algorithms registered in /proc/crypto
platform caam_qi.0: fsl,sec-v5.2 algorithms registered in /proc/crypto
caam_jr ffe301000.jr: registering rng-caam
caam ffe300000.crypto: fsl,sec-v5.2 algorithms registered in /proc/crypto
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
fsl-of-rman ffe1e0000.rman: Of-device /soc@ffe000000/rman@1e0000 initialized
fsl-of-rman ffe1e0000.rman: RMan inbound block0 initialized.
fsl-of-rman ffe1e0000.rman: RMan inbound block1 initialized.
fsl-of-rman ffe1e0000.rman: RMan inbound block2 initialized.
fsl-of-rman ffe1e0000.rman: RMan inbound block3 initialized.
Freescale USDPAA process driver
Freescale USDPAA process IRQ driver
dce_sys_init done!
fsl-dce ffe312000.dce: Device /soc@ffe000000/dce@312000 initialized ver: 0x0af00101
 
fsl-pme ffe316000.pme: ver: 0x00100201
Freescale pme2 db driver
Freescale pme2 scan driver
fsl-pme2-scan: device pme_scan registered
Freescale hypervisor management driver
fsl-hv: no hypervisor found
ipip: IPv4 over IPv4 tunneling driver
Initializing XFRM netlink socket
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
fsl_generic: FSL DPAA Generic Ethernet driver
hctosys: unable to open rtc device (rtc0)
md: Skippiig autodetection of RAID arrays. (raid=autodetect will force)
RAMDISK: gzip image found at block 0
usb 1-1: new high-speed USB device number 2 using fsl-ehci
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi host2: usb-storage 1-1:1.0
scsi 2:0:0:0: Direct-Access     Generic  MassStorageClass 1536 PQ: 0 ANSI: 6
sd 2:0:0:0: Attached scsi generic sg0 type 0
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
sd 2:0:0:0: [sda] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
sd 2:0:0:0: [sda] Write Protect is offf
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 2:0:0:0: [sda] Attached SCSI removable disk
Freeing unused kernel memory: 364K (c000000000aa2000 - c000000000afd000)
 
INIT: version 2.88 booting
 
Starting udev
udevd[1296]: starting version 182
fsl_dpa fsl,dpaa:ethernet@1 fm1-mac2: renamed from eth0
fsl_dpa fsl,dpaa:ethernet@3 fm1-mac4: renamed from eth2
udevd[1301]: renamed network interface eth0 to fm1-mac2
udevd[1302]: renamed network interface eth2 to fm1-mac4
fsl_dpa fsl,dpaa:ethernet@8 fm1-mac9: renamed from eth3
udevd[1306]: renamed network interface eth3 to fm1-mac9
fsl_dpa fsl,dpaa:ethernet@9 fm1-mac10: renamed from eth4
udevd[1305]: renamed network interface eth4 to fm1-mac10
fsl_dpa fsl,dpaa:ethernet@2 fm1-mac3: renamed from eth1
udevd[1304]: renamed network interface eth1 to fm1-mac3
FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
bootlogd: cannot allocate pseudo tty: No such file or directory
random: dd urandom read with 50 bits of entropy available
Populating dev cache
hwclock: can't open '/dev/misc/rtc': No such file or directory
Wed Jul 26 04:21:20 UTC 2023
hwclock: can't open '/dev/misc/rtc': No such file or directory
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
Running postinst /etc/rpm-postinsts/101-inetutils-inetd...
Running postinst /etc/rpm-postinsts/102-inetutils-ftpd...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 R
INIT: Entering runlevel: 5
 
Configuring network interfaces... done.
Starting OpenBSD Secure Shell server: sshd
  generating ssh RSA key...
  generating ssh ECDSA key...
  generating ssh DSA key...
  generating ssh ED25519 key...
done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting network benchmark server: netserver.
Starting system log daemon...0
Starting kernel log daemon...0
Starting internet superserver: xinetd.
 
 
QorIQ SDK (FSL Reference Distro) 2.0 t2080rdb /dev/ttyS0
 
 
 
t2080rdb login: ROOT
Password: 
Login incorrect
 
t2080rdb login: root
78root@t2080rdb:~# ifconfig fm1-mac3 192.168.1.12
root@t2080rdb:~# ping 192.168.1.99
PING 192.168.1.99 (192.168.1.99) 56(84) bytes of data.
64 bytes from 192.168.1.99: icmp_seq=1 ttl=128 time=998 ms
64 bytes from 192.168.1.99: icmp_seq=2 ttl=128 time=0.331 ms
64 bytes from 192.168.1.99: icmp_seq=3 ttl=128 time=0.433 ms
64 bytes from 192.168.1.99: icmp_seq=4 ttl=128 time=0.514 ms
64 bytes from 192.168.1.99: icmp_seq=5 ttl=128 time=0.615 ms
64 bytes from 192.168.1.99: icmp_seq=6 ttl=122 time=0.341 ms
64 bytes from 192.168.1.99: icmp_seq=7 ttl=128 time=0.655 ms
random: nonblocking pool is initialized
root@t2080rdb:~/com12# fra usdpaa_config_t2_serdes_66_15.xml -                                   -c usdpaa_config_t2_serdes_66_15.xml -p usdpaa_o policy__hash_ipv4.xml -f frac _config_dstr_testspeed_txpoint.xml 
Found /fsl,dpaa/ethernet@0, Tx Channel = 802, FMAN = 0, Port ID = 1
Configuring for 1 network interface
BPOOL: Release 8192 bufs to BPID 9
BPOOL: Release 256 bufs to BPID 10
BPOOL: Release 8192 bufs to BPID 11
BPOOL: Release 8192 bufs to BPID 12
Start dist(dbell_to_peer)
RMan inbound block0 is initialized
Start dist(dbell_from_peer)
Start dist(dstr_to_peer)
Start dist(dstr_from_peer)
Thread uid:0 alive (on cpu 1)
fra> sendtestspeed send 1 10 1
Qman ErrInt: Invalid Enqueue State
Testspeed: succeQman ErrInt: DCP id 4
ssful loop timesQman ErrInt: ecir.fqid 0x0
 is 0
fra> 
fra> 
       My development board was customized by my company,so I changed some u-boot code,but I don't known what the problem is.
0 件の賞賛
返信
1 返信

717件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please modify your RCW to configure serdes as 66_15.

0 件の賞賛
返信