QNX PFE Error on s32g

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

QNX PFE Error on s32g

Jump to solution
463 Views
lewis123
Contributor II

I am running QNX7.1 on S32G-VNP-RDB2, and I want to enable PFE_MAC with PFE_1.4.

I built the image according to the instructions in 'PFE_S32G_A53_QNX_UserManual.pdf' and 'PFE_S32G_A53_QNX_IntegrationManual.pdf'.

The pfe0,pfe1,and pfe2 can be queried. But pfe0 cannot be used after a valid ip is configured.

(boot log, slog,ifconfig_info see appendix)

-------------------Appendix------------------

1、boot log:

switch to partitions #0, OK
mmc0 is current device
46656 bytes read in 23 ms (1.9 MiB/s)
10344400 bytes read in 458 ms (21.5 MiB/s)
Failed to get speed of XPCS for emac1_xpcsPFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2
ERROR: device instance 0 does't exist
## Booting kernel from Legacy Image at 80080000 ...
Image Name:
Image Type: AArch64 Linux Kernel Image (uncompressed)
Data Size: 10344336 Bytes = 9.9 MiB
Load Address: 80080000
Entry Point: 80080000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83e00000
Booting using the fdt blob at 0x83e00000
Loading Kernel Image
Using Device Tree in place at 0000000083e00000, end 0000000083e0e63f
fixup: pfe0 set to 00:01:be:be:ef:11
fixup: pfe1 set to 00:01:be:be:ef:22
fixup: pfe1: update phy addr to 0x3
fixup: pfe2 set to 00:01:be:be:ef:33

Starting kernel ...

Board: NXP S32G274A RDB2 Revision D
Reserving RAM region for PFE driver on EVB/RDB2
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
ClockCycles samples:
0 177149851
1 177149851
2 177149851
3 177149851
All ClockCycles offsets within tolerance
Welcome to QNX Neutrino 7.1.0 on the NXP S32G274A RDB2 Board!!
Starting watchdog...
Starting serial driver ...
Starting Networking driver qnx pfe autocore (/dev/socket)...
INF[src/pfe_drv.c:1377]: VERSION INFO
Driver version: 1.4.0
Driver commit hash: 2f3265a49ac18f94ba5e48254c8f870fe7bfc511
PFE_CFG_MULTI_INSTANCE_SUPPORT: 0
PFE_CFG_LOCAL_IF: 6
PFE_CFG_MASTER_IF: 6
PFE_CFG_SC_HIF: 1
PFE_CFG_HIF_RING_LENGTH: 256
PFE_CFG_PFE0_PROMISC: 1
PFE_CFG_PFE1_PROMISC: 1
PFE_CFG_PFE2_PROMISC: 1

INF[src/pfe_drv.c:1384]: --- Safe IRQ enabled. No InterrupAttach() or InterruptAttach_r() allowed.
INF[src/pfe_fw.c:83]: 40772 bytes read
INF[src/pfe_fw.c:89]: Loaded firmware file: /proc/boot/s32g_pfe_class.fw
INF[src/pfe_drv.c:1477]: MII mode configuration for pfe0/EMAC0 not found. Using SGMII.
INF[src/pfe_drv.c:1477]: MII mode configuration for pfe1/EMAC1 not found. Using SGMII.
INF[src/pfe_drv.c:1477]: MII mode configuration for pfe2/EMAC2 not found. Using RGMII.
INF[src/pfe_drv.c:1495]: Issuing PFE peripheral reset...
INF[src/pfe_drv.c:1496]: PFE reset OK.
INF[hw/s32g/pfe_platform_master.c:3519]: PFE CBUS p0x46000000 mapped @ v0x31edd7d000
INF[hw/s32g/pfe_platform_master.c:3524]: HW version 0x50300
INF[src/pfe_hw_feature.c:90]: Silicon S32G2
INF[hw/s32g/pfe_platform_master.c:2687]: PFE_ERRORS:Parity instance created
INF[hw/s32g/pfe_platform_master.c:2702]: PFE_ERRORS:Watchdog instance created
INF[hw/s32g/pfe_platform_master.c:1766]: BMU1 buffer base: p0xc0000000
INF[hw/s32g/pfe_platform_master.c:1810]: BMU2 buffer base: p0x83000000 (0x200000 bytes)
WINF[src/oal_irq_qnx.c:117]: PFE BMU IRQ Worker started (IRQ ID: 226)
RN[hw/s32g/pfe_platform_master.cINF[hw/s32g/pfe_bmu_csr.c:96]: BMU_EMPTY_INT (BMU @ p0x88000). Pool ready.
:2194]INF[hw/s32g/pfe_bmu_csr.c:96]: BMU_EMPTY_INT (BMU @ p0x8c000). Pool ready.
: The option 'g2_ordered_class_writes' is disabled.
INF[hw/s32g/pfe_platform_master.c:2239]: Firmware .elf detected
INF[hw/s32g/pfe_platform_master.c:2248]: Uploading CLASS firmware
INF[src/pfe_pe.c:609]: Selected FW loading OPs to load 8 PEs in parallel
INF[src/pfe_pe.c:1945]: pfe_ct.h file version"92367c0e25f21f49217a9b08168ad2c8"
INF[src/pfe_pe.c:2422]: [FW VERSION] 1.4.0, Build: Aug 30 2022, 12:03:43 (), ID: 0x31454650
WRN[hw/s32g/pfe_platform_master.c:2312]: VLAN ID incorrect or not set. Using default VLAN ID = 0x01.
WRN[hw/s32g/pfe_platform_master.c:2318]: VLAN stats size incorrect or not set. Using default VLAN stats size = 20.
INF[src/pfe_l2br.c:1192]: Hardware vlan hash table

INF[src/pfe_l2br.c:1286]: Fall-back bridge domain @ 0x20000a34 (class)
INF[src/pfe_l2br.c:1287]: Default bridge domain @ 0x20000a2c (class)
INF[hw/s32g/pfe_platform_master.c:2412]: Routing table created, Hash Table @ p0x80014000, Pool @ p0x8001c000 (65536 bytes)
INF[src/pfe_hif_chnl.c:1997]: Initializing RX buffer pool. Depth: 256; Buffer Size: 2048; Cache Line Size: 64
INF[src/pfe_hif_chnl.c:1997]: Initializing RX buffer pool. Depth: 256; Buffer Size: 2048; Cache Line Size: 64
INF[src/pfe_hif_chnl.c:1997]: Initializing RX buffer pool. Depth: 256; Buffer Size: 2048; Cache Line Size: 64
INF[hw/s32g/pfe_platform_master.c:3705]: Feature err051211_workaround: DISABLED
INF[src/pfe_drv.c:2145]: pfe0: Using static PHY mode, RESET=0
INF[src/oal_irq_qnx.c:117]: PFE HIF0 IRQ Worker started (IRQ ID: 222)
INF[src/pfe_drv.c:1795]: Adding 00:0a:0b:0c:0d:66 to pfe0
INF[src/pfe_drv.c:2298]: Speed/duplex configuration for pfe0 not found. Using 1 Gbps/full-duplex.
INF[src/pfe_hif_drv_sc.c:336]: Attempt to register HIF client: 0
INF[src/pfe_hif_drv_sc.c:1189]: HIF driver started
INF[src/pfe_drv.c:2363]: New PFE device: 0, ID: 0
INF[src/pfe_drv.c:2145]: pfe1: Using static PHY mode, RESET=0
INF[src/oal_irq_qnx.c:117]: PFE HIF1 IRQ Worker started (IRQ ID: 223)
INF[src/pfe_drv.c:1795]: Adding 00:1a:1b:1c:1d:66 to pfe1
INF[src/pfe_drv.c:2298]: Speed/duplex configuration for pfe1 not found. Using 1 Gbps/full-duplex.
INF[src/pfe_hif_drv_sc.c:336]: Attempt to register HIF client: 1
INF[src/pfe_hif_drv_sc.c:1189]: HIF driver started
INF[src/pfe_drv.c:2363]: New PFE device: 1, ID: 2
INF[src/pfe_drv.c:2145]: pfe2: Using static PHY mode, RESET=0
INF[src/oal_irq_qnx.c:117]: PFE HIF2 IRQ Worker started (IRQ ID: 224)
INF[src/pfe_drv.c:1795]: Adding 00:2a:2b:2c:2d:66 to pfe2
INF[src/pfe_drv.c:2298]: Speed/duplex configuration for pfe2 not found. Using 1 Gbps/full-duplex.
INF[src/pfe_hif_drv_sc.c:336]: Attempt to register HIF client: 2
INF[src/pfe_hif_drv_sc.c:1189]: HIF driver started
INF[src/pfe_drv.c:2363]: New PFE device: 2, ID: 4
INF[src/pfe_drv.c:2702]: Adding 00:0a:0b:0c:0d:66 to pfe0
WRN[src/pfe_drv.c:2707]: Unable to assign MAC address 00:0a:0b:0c:0d:66 to the pfe0
INF[src/pfe_drv.c:2663]: pfe0: Disabling promiscuous mode
WRN[src/pfe_drv.c:2829]: EMAC speed change for SGMII is currently not supported.
INF[src/pfe_drv.c:2443]: Adding 33:33:ff:0c:0d:66 to emac0
INF[src/pfe_drv.c:2663]: pfe0: Disabling promiscuous mode
INF[src/pfe_drv.c:2443]: Adding 33:33:00:00:00:01 to emac0
INF[src/pfe_drv.c:2443]: Adding 33:33:ff:0c:0d:66 to emac0
WRN[src/pfe_drv.c:2450]: unable to add 33:33:ff:0c:0d:66 into emac0: 17
INF[src/pfe_drv.c:2663]: pfe0: Disabling promiscuous mode
INF[src/pfe_drv.c:2443]: Adding 33:33:00:00:00:01 to emac0
WRN[src/pfe_drv.c:2450]: unable to add 33:33:00:00:00:01 into emac0: 17
INF[src/pfe_drv.c:2443]: Adding 33:33:ff:0c:0d:66 to emac0
WRN[src/pfe_drv.c:2450]: unable to add 33:33:ff:0c:0d:66 into emac0: 17
INF[src/pfe_drv.c:2663]: pfe0: Disabling promiscuous mode
WRN[src/pfe_drv.c:2829]: EMAC speed change for SGMII is currently not supported.
INF[src/pfe_drv.c:2443]: Adding 01:00:5e:00:00:01 to emac0
INF[src/pfe_drv.c:2443]: Adding 33:33:00:00:00:01 to emac0
WRN[src/pfe_drv.c:2450]: unable to add 33:33:00:00:00:01 into emac0: 17
INF[src/pfe_drv.c:2443]: Adding 33:33:ff:0c:0d:66 to emac0
WRN[src/pfe_drv.c:2450]: unable to add 33:33:ff:0c:0d:66 into emac0: 17
INF[src/pfe_drv.c:2663]: pfe0: Disabling promiscuous mode

Process 4107 (ifconfig) exited status=0.

Process 10 (sh) exited status=0.
Starting SPI driver (/dev/spi1,5)...
Starting I2C 0/2/4 driver (/dev/i2c0,2,4)...
Starting USDHC0 memory card driver...
[00] SIM="SDMMC" HBA="imx"
[00,0,0] type=00 ver=05 resp=00 SDMMC:
/proc/boot/sd_start.sh[2]: waitfor: cannot execute - No such file or directory

Starting QSPI Flash driver...
Detected QSPI Flash: Macronix MX25UW512, JEDEC 0xC2 - 0x813A, Size: 0x4000000

Starting USB host driver (/dev/usb/*)
Launching devb-umass for /dev/usb/* ...

Process 94229 (ifconfig) exited status=0.

2、slog2info

Jan 01 00:00:00.029 random.4 low* 0 qcrypto: loading configuration file '/etc/qcrypto.conf' [qcrypto_common.c(190)]
Jan 01 00:00:00.030 random.4..0 slog* 700 Random is using the Fortuna PRNG
Jan 01 00:00:00.041 random.4 low 0 qcrypto: 'openssl' plugin loaded [qcrypto_plugins.c(354)]
Jan 01 00:00:00.041 random.4..0 slog 700 Selecting timer as an entropy source
Jan 01 00:00:00.041 random.4..0 slog 700 Registered path names
Jan 01 00:00:00.041 random.4..0 slog 700 random: starting resmgr
Jan 01 00:00:00.042 random.4..0 slog 700 random: Daemonizing the process
Jan 01 00:00:00.054 devc_serlinflexd.7 slog* 0 serlinflexd_interrupt_attach: Attaching to interrupt 114
Jan 01 00:00:00.061 iopkt.8 main_buffer* 0 tcpip starting
Jan 01 00:00:00.062 iopkt.8 main_buffer 0 smmu support is disabled
Jan 01 00:00:00.064 iopkt.8 main_buffer 0 initializing IPsec...
Jan 01 00:00:00.064 iopkt.8 main_buffer 0 done

Jan 01 00:00:00.065 iopkt.8 main_buffer 0 IPsec: Initialized Security Association Processing.

Jan 01 00:00:00.068 iopkt.8 main_buffer 0 devnp-pfe-2.so pfe0_mac=000a0b0c0d66,pfe1_mac=001a1b1c1d66,pfe2_mac=002a2b2c2d66,class_fw=/proc/boot/s32g_pfe_class.fw
Jan 01 00:00:00.544 iopkt.8 main_buffer 0 pfe0

Jan 01 00:00:00.547 iopkt.8 main_buffer 0 pfe1

Jan 01 00:00:00.550 iopkt.8 main_buffer 0 pfe2

Jan 01 00:00:00.735 spi_master.16394 normal* 0 Starting spi-master resource manager
Jan 01 00:00:00.740 spi_master.16395 normal* 0 Starting spi-master resource manager
Jan 01 00:00:00.758 devb_sdmmc_mx8x.16399 slog* 1800 devb-sdmmc-mx8x 1.00A (Jun 25 2024 00:40:14)
Jan 01 00:00:00.759 devb_sdmmc_mx8x.16399 slog 0 libcam.so (Sep 3 2021 11:57:38) bver 7010004
Jan 01 00:00:00.771 devb_sdmmc_mx8x.16399 slog 1800 sdio_cd: insertion path 0, cd state 0x1
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 SD CID:
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 MID 0x3, OID 0x5344, PNM SC16G
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 PRV 0x29, PSN 0xe729d292, MDT 11-2020
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 SD CSD:
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 CSD_STRUCTURE 1, SPEC_VERS 0, CCC 0x5b5
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 TAAC 14, NSAC 0, TRAN_SPEED 50
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 C_SIZE 30386, C_SIZE_MULT 0
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 READ_BL_LEN 9, WRITE_BL_LEN 9
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 ERASE GRP_SIZE 0, GRP_MULT 0, SIZE 127
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 blksz 512, sectors 31116288, dtr 25000000
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 SD SW CAPS:
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 bus mode 0x3, cmd sys 0x1
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 drv type 0x1, curr limit 0x1
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 dtr 50000000
Jan 01 00:00:00.845 devb_sdmmc_mx8x.16399 slog 1800 CFG: Timing HS, DTR 50000000, Bus Width 4 bit

Jan 01 00:00:00.846 devb_sdmmc_mx8x.16399 slog 100 cam-disk.so (Sep 3 2021 11:57:42)
Jan 01 00:00:00.849 devb_sdmmc_mx8x.16399 slog 0 scsi_interpret_sense (sdmmc ptl-0:0:0): cam_status=c4, scsi_status=2, flag=00000040, vuflag=0008, cmd=1a, error=70, sense=5, asc=24, ascq=0
Jan 01 00:00:00.849 devb_sdmmc_mx8x.16399 slog 0 scsi_interpret_sense (sdmmc ptl-0:0:0): cam_status=c4, scsi_status=2, flag=00000040, vuflag=0008, cmd=5a, error=70, sense=5, asc=24, ascq=0
Jan 01 00:00:00.849 devb_sdmmc_mx8x.16399 slog 0 scsi_interpret_sense (sdmmc ptl-0:0:0): cam_status=c4, scsi_status=2, flag=00000040, vuflag=0008, cmd=5a, error=70, sense=5, asc=24, ascq=0
Jan 01 00:00:00.869 devb_sdmmc_mx8x.16399 slog 1000 fs-qnx6: Allocation strategy 0
Jan 01 00:00:00.869 devb_sdmmc_mx8x.16399 slog 1000 fs-qnx6: Use btree directory 0
Jan 01 00:00:00.872 devb_sdmmc_mx8x.16399 slog 1000 fs-qnx6: fs-qnx6: trim (0,1048576,2) was not requested, and is NOT supported
Jan 01 00:00:00.880 devb_sdmmc_mx8x.16399 slog 1000 fs-qnx6: Allocation strategy 0
Jan 01 00:00:00.880 devb_sdmmc_mx8x.16399 slog 1000 fs-qnx6: Use btree directory 0
Jan 01 00:00:00.883 devb_sdmmc_mx8x.16399 slog 1000 fs-qnx6: fs-qnx6: trim (0,1048576,2) was not requested, and is NOT supported
Jan 01 00:00:00.905 devf_qspi_s32g.57362 slog* 0 (devf t1::f3s_qspi_ident:73) Page size: 256
Jan 01 00:00:00.905 devf_qspi_s32g.57362 slog 0 (devf t1::f3s_qspi_ident:74) Total chip size: 0x4000000, Unit size: 0x10000
Jan 01 00:00:00.916 i2c_s32v.16396 slog* 0 s32v_wait_busy timedout (50 92)
Jan 01 00:00:00.916 i2c_s32v.16396 slog 0 Master send did not terminate for slave 0x22
Jan 01 00:00:00.916 i2c_s32v.16396 slog 0 Master send timeout for slave 0x22
Jan 01 00:00:01.207 i2c_s32v.16396 slog 0 wait bus idle failed (0 a0)
Jan 01 00:00:01.207 i2c_s32v.16396 slog 0 Master send did not terminate for slave 0x22
Jan 01 00:00:01.207 i2c_s32v.16396 slog 0 Master send timeout for slave 0x22
Jan 01 00:00:01.213 io_usb_otg.90128 slog* 0 main(453)[tid:1]: io-usb-otg (Jul 26 2021 16:07:38) args: -d hcd-ehci-mx28 ioport=0x44064100,irq=243,ulpi,no_stream,verbose=5
Jan 01 00:00:01.221 io_usb_otg.90128 slog 0 ehci_init: Initialiaing with sever version: 2
Jan 01 00:00:01.221 io_usb_otg.90128 slog 0 ehci_controller_init(4303): devu-hcd-ehci-mx28.so (Mar 11 2024 11:27:09): args ulpi,no_stream,verbose=5
Jan 01 00:00:01.221 io_usb_otg.90128 slog 8 usb_enum_port(94)[tid:1]: busno 0, parent -1, port 0, High speed
Jan 01 00:00:01.221 io_usb_otg.90128 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 1, index 0, length
Jan 01 00:00:01.221 io_usb_otg.90128 slog 12 usb_device_set_address(245)[tid:1]: b:0 devno 0
Jan 01 00:00:01.221 io_usb_otg.90128 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 1, index 0, length 18)
Jan 01 00:00:01.222 io_usb_otg.90128 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 2, index 0, length 9)
Jan 01 00:00:01.222 io_usb_otg.90128 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 2, index 0, length 25)
Jan 01 00:00:01.222 io_usb_otg.90128 slog 8 usb_enum_port(141)[tid:1]: vid 0x0000, did 0x0000 enumerated(busno 0, devno 0:0)
Jan 01 00:00:01.222 io_usb_otg.90128 slog 11 hub_state_inserted(569)[tid:1]: bdentry 0, dentry 0 0
Jan 01 00:00:01.223 io_usb_otg.90128 slog 13 hub_configuration_enable(263)[tid:1]: 1
Jan 01 00:00:01.326 io_usb_otg.90128 slog 0 usbh_timeout_init(203)[tid:1]: Complete
Jan 01 00:00:01.337 io_usb_otg.90128 slog 0 read_vid_pid: ULPI VID 0x0424 PID 0x0009
Jan 01 00:00:01.337 io_usb_otg.90128 slog 0 s32g_phy_set_vbus: set_vbus off
Jan 01 00:00:01.353 io_usb_otg.90128 slog 0 s32g_phy_set_vbus: set_vbus on
Jan 01 00:00:01.364 io_usb_otg.90128 slog 0 ehci_get_port_status(3568 0x44064100): port=0, tpstatus 10100 e_pstatus 8c001000
Jan 01 00:00:01.364 io_usb_otg.90128 slog 8 usb_enum_port_extract(172)[tid:7]: (busno 0, pdevno 0, portno 1)
Jan 01 00:00:01.364 io_usb_otg.90128 slog 8 usb_enum_port_extract(192)[tid:7]: status (2)
Jan 01 00:00:01.370 devb_umass.90129 slog* 900 devb-umass 1.00A (Sep 3 2021 11:58:16)
Jan 01 00:00:01.372 devb_umass.90129 slog 0 libcam.so (Sep 3 2021 11:57:38) bver 7010004
Jan 01 00:00:01.372 io_usb_otg.90128 slog 0 usbdi_client_connect(58)[tid:5]: pid 90129 proc=proc/boot/devb-umass usbdi_client 3467d35a80
Jan 01 00:00:01.373 io_usb_otg.90128 slog 0 usbdi_resmgr_connect(310)[tid:5]: usbdi_resmgr_connect: pid 90129 usbdi_client 3467d35a80
Jan 01 00:00:01.373 devb_umass.90129 slog 0 usbdi debug path /pps/usb/debug/ doesn't exist

Process 102421 (slog2info) exited status=0.

 

3、ifconfig

# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33136
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1


pfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:0a:0b:0c:0d:66
media: Ethernet none (1000baseT full-duplex)
status: active
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
inet6 fe80::20a:bff:fe0c:d66%pfe0 prefixlen 64 scopeid 0x11


pfe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:1a:1b:1c:1d:66
media: Ethernet none (1000baseT full-duplex)
status: no carrier


pfe2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:2a:2b:2c:2d:66
media: Ethernet none (1000baseT full-duplex)
status: no carrier

 

0 Kudos
Reply
1 Solution
109 Views
MilanMucka
NXP Employee
NXP Employee

Hi Lewis,

I checked, that PFE QNX driver 1.4.0 is compatible (and tested) with FW version 1.6.0
We have got backward compatibility for FW but only after version 1.5.0

Latest version of QNX driver is 1.6.0 and FW 1.9.0
I know that version numbers are really misleading.

I have tested QNX driver 1.4.0 and FW 1.4.0 and the results are the same as yours.
I did receive only on PFE2 some ICMP messages, but that's all.

So please use the latest versions, or update at least FW to 1.6.0

 

Regards
Milan

View solution in original post

0 Kudos
Reply
11 Replies
304 Views
vinaybhat88922
Contributor II

where can i get 'PFE_S32G_A53_QNX_UserManual.pdf' and 'PFE_S32G_A53_QNX_IntegrationManual.pdf' documents ? I dont see it anywhere in nxp website even if login with my account. I am also facing similar issue for s32g-rdb399a-rdb. But in may case, qnx does not even load the pf. Attached logs 

0 Kudos
Reply
187 Views
MilanMucka
NXP Employee
NXP Employee

Hi,

it is included inside driver package.

If you have QNX PFE driver, you should be able to see these documents.

 

From the logs, I can see that you are missing reserved pfe_ddr memory arrea in QNX.

In BSP file nxp-s32g-evb\src\hardware\startup\boards\s32g\s32g274a-rdb\main.c

Add after s32g_init_raminfo(); 

kprintf("Reserving RAM region for PFE driver on EVB/RDB\n");
as_add_containing(0x80000000,0x80000000 + 0x04000000 - 1,AS_ATTR_RAM, "pfe_ddr","ram");

 

Milan

0 Kudos
Reply
212 Views
lewis123
Contributor II

Need to purchase services provided by NXP.

0 Kudos
Reply
401 Views
MilanMucka
NXP Employee
NXP Employee

Hi Lewis,

it seems that we have got missing information in Integration Manual. I'm sorry for inconvenience.

We are using U-boot PFE driver to initialize PFE peripheral and clocks before starting QNX.

You need to have s32g_pfe_class.fw file on SD card FAT32 partition, so U-boot can load it.

On the SD card, there should be these files to use PFE.

ifs-s32g274a-rdb.ui
s32g_pfe_class.fw
s32g_pfe_util.fw
s32g274a-rdb2.dtb

Best regards
Milan

213 Views
lewis123
Contributor II

The problem still exists.  pfe0, pfe1, and pfe2 are still unusable.

pfe0 and pfe1 are completely unusable, but pfe2 is different from pfe0 and pfe1. I did the following tests.

Test1:external device E ping S32G pfe2
E device: 'arp request', 'arp reply', 'icmp request' can be captured , but there is no 'icmp reply'.
S32G device: 'arp request', 'arp reply', 'icmp request' and 'icmp reply' can be captured.

Test2:S32G ping external device E
S32G device: Only 'icmp request' packets can be captured.
E device: Can't capture any packets.

Is there any configuration in pfe that leads to this error result?

Additional note:
1. Device E is normal and can ping other devices. Other devices can also ping E.
2. The network configuration between S32G and Device E is valid.

0 Kudos
Reply
182 Views
MilanMucka
NXP Employee
NXP Employee

This is interesting problem.

EMAC0 and EMAC1 are using SGMII, while EMAC2 RGMII.

What PFE driver and FW versions do you have? They might not be compatible.

Can you provide log from starting the board?

 

Regards
Milan

0 Kudos
Reply
125 Views
lewis123
Contributor II

board                          : NXP S32G274A-RDB2

PFE driver version  : 1.4.0

FW version                : 1.4.0

U-Boot version       : 2020.04

QNX version             : QNX Neutrino 7.1.0

boot log,slog,cmdline info are as follows:

# boot log

U-Boot 2020.04 (Jul 02 2024 - 11:16:16 +0800)

CPU: NXP S32G274A rev. 2.0
Model: NXP S32G274A-RDB2
DRAM: 3.5 GiB
MMC: FSL_SDHC: 0
Loading Environment from MMC... OK
Configuring PCIe0 as RootComplex
Setting PCI Device and Vendor IDs to 0x4002:0x1957
PCIe0: Failed to get link up
Pcie0: LINK_DBG_1: 0x00000000, LINK_DBG_2: 0x00000800 (expected 0x000000d1)
DEBUG_R0: 0x0002f300, DEBUG_R1: 0x08200000
PCI: Failed autoconfig bar 20
PCI: Failed autoconfig bar 24
In: serial@401c8000
Out: serial@401c8000
Err: serial@401c8000
Board revision: RDB2/GLDBOX Revision D
Net: EQOS phy: rgmii @ 1

Warning: eth_eqos (eth0) using random MAC address - 22:58:f9:b9:36:7b
eth0: eth_eqosFailed to get speed of XPCS for emac1_xpcs PFE: emac0: sgmii emac1: sgmii emac2: rgmii
, eth1: eth_pfeng
Hit any key to stop autoboot: 0

 

switch to partitions #0, OK
mmc0 is current device
42735 bytes read in 16 ms (2.5 MiB/s)
10482336 bytes read in 457 ms (21.9 MiB/s)
## Booting kernel from Legacy Image at 80080000 ...
Image Name:
Image Type: AArch64 Linux Kernel Image (uncompressed)
Data Size: 10482272 Bytes = 10 MiB
Load Address: 80080000
Entry Point: 80080000
Verifying Checksum ... OK
## Flattened Device Tree blob at 83e00000
Booting using the fdt blob at 0x83e00000
Loading Kernel Image
Using Device Tree in place at 0000000083e00000, end 0000000083e0d6ee
fixup: pfe0 set to 00:01:be:be:ef:11
fixup: pfe1 set to 00:01:be:be:ef:22
fixup: pfe1: update phy addr to 0x8
fixup: pfe2 set to 00:01:be:be:ef:33

Starting kernel ...

Board: NXP S32G274A RDB2 Revision D
Reserving RAM region for PFE driver on EVB/RDB
ClockCycles samples:
0 190944758
1 190944758
2 190944758
3 190944758
All ClockCycles offsets within tolerance
Welcome to QNX Neutrino 7.1.0 on the NXP S32G274A RDB2 Board!!
Starting watchdog...
Starting serial driver ...
Starting Networking driver (/dev/socket)...

Process 8 (cp) exited status=0.
Starting SPI driver (/dev/spi1,5)...
Starting I2C 0/2/4 driver (/dev/i2c0,2,4)...
Starting USDHC0 memory card driver...
[00] SIM="SDMMC" HBA="imx"
[00,0,0] type=00 ver=05 resp=00 SDMMC:
/proc/boot/sd_start.sh[2]: waitfor: cannot execute - No such file or directory

Process 4112 (mount) exited status=0.

Process 16400 (mount) exited status=0.

Process 28688 (mount) exited status=0.

Process 4111 (sh) exited status=0.
Starting QSPI Flash driver...
Detected QSPI Flash: Macronix MX25UW512, JEDEC 0xC2 - 0x813A, Size: 0x4000000

Process 45074 (sh) exited status=255.

Process 61457 (sh) exited status=255.
Starting USB host driver (/dev/usb/*)
Launching devb-umass for /dev/usb/* ...

# slog2info

Jan 01 00:00:00.028 random.4 low* 0 qcrypto: loading configuration file '/etc/qcrypto.conf' [qcrypto_common.c(190)]
Jan 01 00:00:00.029 random.4..0 slog* 700 Random is using the Fortuna PRNG
Jan 01 00:00:00.040 random.4 low 0 qcrypto: 'openssl' plugin loaded [qcrypto_plugins.c(354)]
Jan 01 00:00:00.041 random.4..0 slog 700 Selecting timer as an entropy source
Jan 01 00:00:00.041 random.4..0 slog 700 Registered path names
Jan 01 00:00:00.041 random.4..0 slog 700 random: starting resmgr
Jan 01 00:00:00.041 random.4..0 slog 700 random: Daemonizing the process
Jan 01 00:00:00.054 devc_serlinflexd.7 slog* 0 serlinflexd_interrupt_attach: Attaching to interrupt 114
Jan 01 00:00:00.066 iopkt.4104 main_buffer* 0 tcpip starting
Jan 01 00:00:00.066 iopkt.4104 main_buffer 0 smmu support is disabled
Jan 01 00:00:00.069 iopkt.4104 main_buffer 0 initializing IPsec...
Jan 01 00:00:00.069 iopkt.4104 main_buffer 0 done

Jan 01 00:00:00.069 iopkt.4104 main_buffer 0 IPsec: Initialized Security Association Processing.

Jan 01 00:00:00.073 spi_master.4105 normal* 0 Starting spi-master resource manager
Jan 01 00:00:00.073 iopkt.4104 main_buffer 0 devnp-pfe-2.so class_fw=/proc/boot/s32g_pfe_class.fw
Jan 01 00:00:00.075 io_pkt_v6_hc.4104 slog* 0 INF[src/pfe_drv.c:1377]: VERSION INFO
Driver version: 1.4.0
Driver commit hash: 2f3265a49ac18f94ba5e48254c8f870fe7bfc511
PFE_CFG_MULTI_INSTANCE_SUPPORT: 0
PFE_CFG_LOCAL_IF: 6
PFE_CFG_MASTER_IF: 6
PFE_CFG_SC_HIF: 1
PFE_CFG_HIF_RING_LENGTH: 256
PFE_CFG_PFE0_PROMISC: 1
PFE_CFG_PFE1_PROMISC: 1
PFE_CFG_PFE2_PROMISC: 1


Jan 01 00:00:00.075 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1384]: --- Safe IRQ enabled. No InterrupAttach() or InterruptAttach_r() allowed.

Jan 01 00:00:00.075 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_fw.c:83]: 40772 bytes read

Jan 01 00:00:00.075 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_fw.c:89]: Loaded firmware file: /proc/boot/s32g_pfe_class.fw

Jan 01 00:00:00.075 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1477]: MII mode configuration for pfe0/EMAC0 not found. Using SGMII.

Jan 01 00:00:00.075 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1477]: MII mode configuration for pfe1/EMAC1 not found. Using SGMII.

Jan 01 00:00:00.076 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1477]: MII mode configuration for pfe2/EMAC2 not found. Using RGMII.

Jan 01 00:00:00.076 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1495]: Issuing PFE peripheral reset...

Jan 01 00:00:00.079 spi_master.4106 normal* 0 Starting spi-master resource manager
Jan 01 00:00:00.096 devb_sdmmc_mx8x.4110 slog* 1800 devb-sdmmc-mx8x 1.00A (Jul 11 2024 10:50:22)
Jan 01 00:00:00.098 devb_sdmmc_mx8x.4110 slog 0 libcam.so (Sep 3 2021 11:57:38) bver 7010004
Jan 01 00:00:00.109 devb_sdmmc_mx8x.4110 slog 1800 sdio_cd: insertion path 0, cd state 0x1
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 SD CID:
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 MID 0x3, OID 0x5344, PNM SC16G
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 PRV 0x29, PSN 0xe729d292, MDT 11-2020
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 SD CSD:
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 CSD_STRUCTURE 1, SPEC_VERS 0, CCC 0x5b5
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 TAAC 14, NSAC 0, TRAN_SPEED 50
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 C_SIZE 30386, C_SIZE_MULT 0
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 READ_BL_LEN 9, WRITE_BL_LEN 9
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 ERASE GRP_SIZE 0, GRP_MULT 0, SIZE 127
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 blksz 512, sectors 31116288, dtr 25000000
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 SD SW CAPS:
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 bus mode 0x3, cmd sys 0x1
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 drv type 0x1, curr limit 0x1
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 dtr 50000000
Jan 01 00:00:00.185 devb_sdmmc_mx8x.4110 slog 1800 CFG: Timing HS, DTR 50000000, Bus Width 4 bit

Jan 01 00:00:00.186 devb_sdmmc_mx8x.4110 slog 100 cam-disk.so (Sep 3 2021 11:57:42)
Jan 01 00:00:00.189 devb_sdmmc_mx8x.4110 slog 0 scsi_interpret_sense (sdmmc ptl-0:0:0): cam_status=c4, scsi_status=2, flag=00000040, vuflag=0008, cmd=1a, error=70, sense=5, asc=24, ascq=0
Jan 01 00:00:00.189 devb_sdmmc_mx8x.4110 slog 0 scsi_interpret_sense (sdmmc ptl-0:0:0): cam_status=c4, scsi_status=2, flag=00000040, vuflag=0008, cmd=5a, error=70, sense=5, asc=24, ascq=0
Jan 01 00:00:00.190 devb_sdmmc_mx8x.4110 slog 0 scsi_interpret_sense (sdmmc ptl-0:0:0): cam_status=c4, scsi_status=2, flag=00000040, vuflag=0008, cmd=5a, error=70, sense=5, asc=24, ascq=0
Jan 01 00:00:00.210 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: Allocation strategy 0
Jan 01 00:00:00.210 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: Use btree directory 0
Jan 01 00:00:00.213 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: fs-qnx6: trim (0,1048576,2) was not requested, and is NOT supported
Jan 01 00:00:00.221 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: Allocation strategy 0
Jan 01 00:00:00.221 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: Use btree directory 0
Jan 01 00:00:00.224 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: fs-qnx6: trim (0,1048576,2) was not requested, and is NOT supported
Jan 01 00:00:00.232 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: Allocation strategy 0
Jan 01 00:00:00.232 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: Use btree directory 0
Jan 01 00:00:00.235 devb_sdmmc_mx8x.4110 slog 1000 fs-qnx6: fs-qnx6: trim (0,1048576,2) was not requested, and is NOT supported
Jan 01 00:00:00.250 devf_qspi_s32g.45071 slog* 0 (devf t1::f3s_qspi_ident:73) Page size: 256
Jan 01 00:00:00.250 devf_qspi_s32g.45071 slog 0 (devf t1::f3s_qspi_ident:74) Total chip size: 0x4000000, Unit size: 0x10000
Jan 01 00:00:00.259 i2c_s32v.4107 slog* 0 s32v_wait_busy timedout (50 92)
Jan 01 00:00:00.259 i2c_s32v.4107 slog 0 Master send did not terminate for slave 0x22
Jan 01 00:00:00.259 i2c_s32v.4107 slog 0 Master send timeout for slave 0x22
Jan 01 00:00:00.296 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1496]: PFE reset OK.

Jan 01 00:00:00.296 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:3519]: PFE CBUS p0x46000000 mapped @ v0x1380753000

Jan 01 00:00:00.296 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:3524]: HW version 0x50300

Jan 01 00:00:00.296 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hw_feature.c:90]: Silicon S32G2

Jan 01 00:00:00.297 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:2687]: PFE_ERRORS:Parity instance created

Jan 01 00:00:00.297 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:2702]: PFE_ERRORS:Watchdog instance created

Jan 01 00:00:00.297 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:1766]: BMU1 buffer base: p0xc0000000

Jan 01 00:00:00.300 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:1810]: BMU2 buffer base: p0x83000000 (0x200000 bytes)

Jan 01 00:00:00.302 io_pkt_v6_hc.4104 slog 0 INF[src/oal_irq_qnx.c:117]: PFE BMU IRQ Worker started (IRQ ID: 226)

Jan 01 00:00:00.302 io_pkt_v6_hc.4104 slog 0 WRN[hw/s32g/pfe_platform_master.c:2194]: The option 'g2_ordered_class_writes' is disabled.

Jan 01 00:00:00.302 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_bmu_csr.c:96]: BMU_EMPTY_INT (BMU @ p0x88000). Pool ready.

Jan 01 00:00:00.302 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_bmu_csr.c:96]: BMU_EMPTY_INT (BMU @ p0x8c000). Pool ready.

Jan 01 00:00:00.304 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:2239]: Firmware .elf detected

Jan 01 00:00:00.304 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:2248]: Uploading CLASS firmware

Jan 01 00:00:00.304 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_pe.c:609]: Selected FW loading OPs to load 8 PEs in parallel

Jan 01 00:00:00.307 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_pe.c:1945]: pfe_ct.h file version"92367c0e25f21f49217a9b08168ad2c8"

Jan 01 00:00:00.309 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_pe.c:2422]: [FW VERSION] 1.4.0, Build: Aug 30 2022, 12:03:43 (), ID: 0x31454650

Jan 01 00:00:00.441 io_pkt_v6_hc.4104 slog 0 WRN[hw/s32g/pfe_platform_master.c:2312]: VLAN ID incorrect or not set. Using default VLAN ID = 0x01.

Jan 01 00:00:00.441 io_pkt_v6_hc.4104 slog 0 WRN[hw/s32g/pfe_platform_master.c:2318]: VLAN stats size incorrect or not set. Using default VLAN stats size = 20.

Jan 01 00:00:00.441 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_l2br.c:1192]: Hardware vlan hash table


Jan 01 00:00:00.441 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_l2br.c:1286]: Fall-back bridge domain @ 0x20000a34 (class)

Jan 01 00:00:00.441 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_l2br.c:1287]: Default bridge domain @ 0x20000a2c (class)

Jan 01 00:00:00.441 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:2412]: Routing table created, Hash Table @ p0x80037000, Pool @ p0x8003f000 (65536 bytes)

Jan 01 00:00:00.442 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_chnl.c:1997]: Initializing RX buffer pool. Depth: 256; Buffer Size: 2048; Cache Line Size: 64

Jan 01 00:00:00.443 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_chnl.c:1997]: Initializing RX buffer pool. Depth: 256; Buffer Size: 2048; Cache Line Size: 64

Jan 01 00:00:00.445 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_chnl.c:1997]: Initializing RX buffer pool. Depth: 256; Buffer Size: 2048; Cache Line Size: 64

Jan 01 00:00:00.544 io_pkt_v6_hc.4104 slog 0 INF[hw/s32g/pfe_platform_master.c:3705]: Feature err051211_workaround: DISABLED

Jan 01 00:00:00.545 iopkt.4104 main_buffer 0 pfe0

Jan 01 00:00:00.546 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2145]: pfe0: Using static PHY mode, RESET=0

Jan 01 00:00:00.546 io_pkt_v6_hc.4104 slog 0 INF[src/oal_irq_qnx.c:117]: PFE HIF0 IRQ Worker started (IRQ ID: 222)

Jan 01 00:00:00.546 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1795]: Adding 00:0a:0b:0c:0d:0e to pfe0

Jan 01 00:00:00.548 iopkt.4104 main_buffer 0 pfe1

Jan 01 00:00:00.548 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2298]: Speed/duplex configuration for pfe0 not found. Using 1 Gbps/full-duplex.

Jan 01 00:00:00.548 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_drv_sc.c:336]: Attempt to register HIF client: 0

Jan 01 00:00:00.548 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_drv_sc.c:1189]: HIF driver started

Jan 01 00:00:00.548 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2363]: New PFE device: 0, ID: 0

Jan 01 00:00:00.548 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2145]: pfe1: Using static PHY mode, RESET=0

Jan 01 00:00:00.548 io_pkt_v6_hc.4104 slog 0 INF[src/oal_irq_qnx.c:117]: PFE HIF1 IRQ Worker started (IRQ ID: 223)

Jan 01 00:00:00.549 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1795]: Adding 00:1a:1b:1c:1d:1e to pfe1

Jan 01 00:00:00.551 iopkt.4104 main_buffer 0 pfe2

Jan 01 00:00:00.551 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2298]: Speed/duplex configuration for pfe1 not found. Using 1 Gbps/full-duplex.

Jan 01 00:00:00.551 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_drv_sc.c:336]: Attempt to register HIF client: 1

Jan 01 00:00:00.551 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_drv_sc.c:1189]: HIF driver started

Jan 01 00:00:00.551 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2363]: New PFE device: 1, ID: 2

Jan 01 00:00:00.551 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2145]: pfe2: Using static PHY mode, RESET=0

Jan 01 00:00:00.551 io_pkt_v6_hc.4104 slog 0 INF[src/oal_irq_qnx.c:117]: PFE HIF2 IRQ Worker started (IRQ ID: 224)

Jan 01 00:00:00.551 i2c_s32v.4107 slog 0 wait bus idle failed (0 a0)
Jan 01 00:00:00.551 i2c_s32v.4107 slog 0 Master send did not terminate for slave 0x22
Jan 01 00:00:00.552 i2c_s32v.4107 slog 0 Master send timeout for slave 0x22
Jan 01 00:00:00.552 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:1795]: Adding 00:2a:2b:2c:2d:2e to pfe2

Jan 01 00:00:00.554 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2298]: Speed/duplex configuration for pfe2 not found. Using 1 Gbps/full-duplex.

Jan 01 00:00:00.554 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_drv_sc.c:336]: Attempt to register HIF client: 2

Jan 01 00:00:00.554 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_hif_drv_sc.c:1189]: HIF driver started

Jan 01 00:00:00.554 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2363]: New PFE device: 2, ID: 4

Jan 01 00:00:00.558 io_usb_otg.73745 slog* 0 main(453)[tid:1]: io-usb-otg (Jul 26 2021 16:07:38) args: -d hcd-ehci-mx28 ioport=0x44064100,irq=243,ulpi,no_stream,verbose=5
Jan 01 00:00:00.566 io_usb_otg.73745 slog 0 ehci_init: Initialiaing with sever version: 2
Jan 01 00:00:00.566 io_usb_otg.73745 slog 0 ehci_controller_init(4303): devu-hcd-ehci-mx28.so (Mar 11 2024 11:27:09): args ulpi,no_stream,verbose=5
Jan 01 00:00:00.566 io_usb_otg.73745 slog 8 usb_enum_port(94)[tid:1]: busno 0, parent -1, port 0, High speed
Jan 01 00:00:00.567 io_usb_otg.73745 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 1, index 0, length
Jan 01 00:00:00.567 io_usb_otg.73745 slog 12 usb_device_set_address(245)[tid:1]: b:0 devno 0
Jan 01 00:00:00.567 io_usb_otg.73745 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 1, index 0, length 18)
Jan 01 00:00:00.568 io_usb_otg.73745 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 2, index 0, length 9)
Jan 01 00:00:00.568 io_usb_otg.73745 slog 11 usb_client_descriptor_get(198)[tid:1]: (type 2, index 0, length 25)
Jan 01 00:00:00.568 io_usb_otg.73745 slog 8 usb_enum_port(141)[tid:1]: vid 0x0000, did 0x0000 enumerated(busno 0, devno 0:0)
Jan 01 00:00:00.568 io_usb_otg.73745 slog 11 hub_state_inserted(569)[tid:1]: bdentry 0, dentry 0 0
Jan 01 00:00:00.569 io_usb_otg.73745 slog 13 hub_configuration_enable(263)[tid:1]: 1
Jan 01 00:00:00.672 io_usb_otg.73745 slog 0 usbh_timeout_init(203)[tid:1]: Complete
Jan 01 00:00:00.683 io_usb_otg.73745 slog 0 read_vid_pid: ULPI VID 0x0424 PID 0x0009
Jan 01 00:00:00.683 io_usb_otg.73745 slog 0 s32g_phy_set_vbus: set_vbus off
Jan 01 00:00:00.699 io_usb_otg.73745 slog 0 s32g_phy_set_vbus: set_vbus on
Jan 01 00:00:00.710 io_usb_otg.73745 slog 0 ehci_get_port_status(3568 0x44064100): port=0, tpstatus 10100 e_pstatus 8c001000
Jan 01 00:00:00.710 io_usb_otg.73745 slog 8 usb_enum_port_extract(172)[tid:7]: (busno 0, pdevno 0, portno 1)
Jan 01 00:00:00.710 io_usb_otg.73745 slog 8 usb_enum_port_extract(192)[tid:7]: status (2)
Jan 01 00:00:00.716 devb_umass.77840 slog* 900 devb-umass 1.00A (Sep 3 2021 11:58:16)
Jan 01 00:00:00.718 devb_umass.77840 slog 0 libcam.so (Sep 3 2021 11:57:38) bver 7010004
Jan 01 00:00:00.718 io_usb_otg.73745 slog 0 usbdi_client_connect(58)[tid:5]: pid 77840 proc=proc/boot/devb-umass usbdi_client 3db882ca80
Jan 01 00:00:00.719 io_usb_otg.73745 slog 0 usbdi_resmgr_connect(310)[tid:5]: usbdi_resmgr_connect: pid 77840 usbdi_client 3db882ca80
Jan 01 00:00:00.719 devb_umass.77840 slog 0 usbdi debug path /pps/usb/debug/ doesn't exist
Jan 01 00:00:29.122 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2702]: Adding 00:2a:2b:2c:2d:2e to pfe2

Jan 01 00:00:29.123 io_pkt_v6_hc.4104 slog 0 WRN[src/pfe_drv.c:2707]: Unable to assign MAC address 00:2a:2b:2c:2d:2e to the pfe2

Jan 01 00:00:29.123 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2663]: pfe2: Disabling promiscuous mode

Jan 01 00:00:29.123 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2847]: Setting EMAC2 RGMII clock to 125000000 Hz.

Jan 01 00:00:29.123 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2443]: Adding 33:33:ff:2c:2d:2e to emac2

Jan 01 00:00:29.125 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2663]: pfe2: Disabling promiscuous mode

Jan 01 00:00:29.125 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2443]: Adding 33:33:00:00:00:01 to emac2

Jan 01 00:00:29.127 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2443]: Adding 33:33:ff:2c:2d:2e to emac2

Jan 01 00:00:29.127 io_pkt_v6_hc.4104 slog 0 WRN[src/pfe_drv.c:2450]: unable to add 33:33:ff:2c:2d:2e into emac2: 17

Jan 01 00:00:29.127 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2663]: pfe2: Disabling promiscuous mode

Jan 01 00:00:29.127 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2443]: Adding 01:00:5e:00:00:01 to emac2

Jan 01 00:00:29.129 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2443]: Adding 33:33:00:00:00:01 to emac2

Jan 01 00:00:29.129 io_pkt_v6_hc.4104 slog 0 WRN[src/pfe_drv.c:2450]: unable to add 33:33:00:00:00:01 into emac2: 17

Jan 01 00:00:29.129 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2443]: Adding 33:33:ff:2c:2d:2e to emac2

Jan 01 00:00:29.129 io_pkt_v6_hc.4104 slog 0 WRN[src/pfe_drv.c:2450]: unable to add 33:33:ff:2c:2d:2e into emac2: 17

Jan 01 00:00:29.129 io_pkt_v6_hc.4104 slog 0 INF[src/pfe_drv.c:2663]: pfe2: Disabling promiscuous mode


Process 122901 (slog2info) exited status=0.

# cmdline


# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33136
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
pfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:0a:0b:0c:0d:0e
media: Ethernet none (1000baseT full-duplex)
status: no carrier
pfe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:1a:1b:1c:1d:1e
media: Ethernet none (1000baseT full-duplex)
status: no carrier
pfe2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:2a:2b:2c:2d:2e
media: Ethernet none (1000baseT full-duplex)
status: no carrier

Process 81941 (ifconfig) exited status=0.
# ifconfig pfe2 172.16.0.110/24

Process 90133 (ifconfig) exited status=0.
# if_up pfe2

Process 98325 (if_up) exited status=0.
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33136
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
pfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:0a:0b:0c:0d:0e
media: Ethernet none (1000baseT full-duplex)
status: no carrier
pfe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:1a:1b:1c:1d:1e
media: Ethernet none (1000baseT full-duplex)
status: no carrier
pfe2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=1f<IP4CSUM,TCP4CSUM,UDP4CSUM,TCP6CSUM,UDP6CSUM>
enabled=0
address: 00:2a:2b:2c:2d:2e
media: Ethernet none (1000baseT full-duplex)
status: active
inet 172.16.0.110 netmask 0xffffff00 broadcast 172.16.0.255
inet6 fe80::22a:2bff:fe2c:2d2e%pfe2 prefixlen 64 scopeid 0x13

Process 106517 (ifconfig) exited status=0.

 

 

Tags (1)
0 Kudos
Reply
110 Views
MilanMucka
NXP Employee
NXP Employee

Hi Lewis,

I checked, that PFE QNX driver 1.4.0 is compatible (and tested) with FW version 1.6.0
We have got backward compatibility for FW but only after version 1.5.0

Latest version of QNX driver is 1.6.0 and FW 1.9.0
I know that version numbers are really misleading.

I have tested QNX driver 1.4.0 and FW 1.4.0 and the results are the same as yours.
I did receive only on PFE2 some ICMP messages, but that's all.

So please use the latest versions, or update at least FW to 1.6.0

 

Regards
Milan

0 Kudos
Reply
81 Views
lewis123
Contributor II

Thank you!

According to your suggestion, the problem has been solved.

0 Kudos
Reply
442 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Given that QNX is not directly supported by NXP, we can recommend contacting the QNX support team, for them to provide you with better information that the one we can provide at this moment.

We do apologize for the inconvenience.

Please, let us know.

0 Kudos
Reply
427 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

We apologize for the inconvenience. We have received notice from our internal team that this might be a configuration problem with PFE itself, rather than QNX itself.

We will send this inquiry to the internal team for them to provide further comments. We will update you as soon as we receive any comments from the internal team.

Again, we do apologize for the inconvenience.

Please, let us know.