This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: TDA4VM QNX CPSW2G Not working

Part Number: TDA4VM

hi:

We are using TDA4VM Processor and developing custom board based on it and we are testing the BSP based on the custom board.

we useing rtos + qnx

PROCESSOR-SDK-RTOS-J721E/07.01.00.11

PROCESSOR-SDK-QNX-J721E/07.01.01.00

we starting the board with extern sd card

then starting up is ok but cpsw2g is error


U-Boot SPL 2020.01-gf9b0d030d3 (Jun 17 2020 - 15:08:08 +0000)
SYSFW ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
Trying to boot from MMC2
Loading Environment from MMC... *** Warning - No MMC card found, using default environment

** File not found /lib/firmware/j7-main-r5f0_0-fw **
** File not found /lib/firmware/j7-mcu-r5f0_0-fw **
Starting ATF on ARM64 core...

NOTICE:  BL31: v2.3():07.00.00.005-dirty
NOTICE:  BL31: Built : 14:33:55, Jun 17 2020

U-Boot SPL 2020.01-gf9b0d030d3 (Jun 17 2020 - 14:34:25 +0000)
SYSFW ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Trying to boot from MMC2


U-Boot 2020.01-gf9b0d030d3 (Jun 17 2020 - 14:34:25 +0000)

SoC:   J721E SR1.0
Model: Texas Instruments K3 J721E SoC
Board: J721EX-PM2-SOM rev E7
DRAM:  4 GiB
not found for dev hbmc-mux
Flash: 0 Bytes
MMC:   sdhci@4f80000: 0, sdhci@4fb0000: 1
Loading Environment from MMC... OK
In:    serial@2800000
Out:   serial@2800000
Err:   serial@2800000
Detected: J7X-BASE-CPB rev E3
Detected: J7X-VSC8514-ETH rev E2
Net:
Warning: ethernet@046000000 using MAC address from ROM
eth0: ethernet@046000000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
530 bytes read in 3 ms (171.9 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
8176792 bytes read in 173 ms (45.1 MiB/s)
## Starting application at 0x80080000 ...
MMU: 16-bit ASID 44-bit PA TCR_EL1=b5183519
cpu0: MPIDR=80000000
cpu0: MIDR=411fd080 Cortex-A72 r1p0
cpu0: CWG=4 ERG=4 Dminline=4 Iminline=4 PIPT
cpu0: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1
cpu0: L1 Icache 48K linesz=64 set/way=256/3
cpu0: L1 Dcache 32K linesz=64 set/way=256/2
cpu0: L2 Unified 1024K linesz=64 set/way=1024/16
Display set to R5
Loading IFS...decompressing...done
cpu1: MPIDR=80000001
cpu1: MIDR=411fd080 Cortex-A72 r1p0
cpu1: CWG=4 ERG=4 Dminline=4 Iminline=4 PIPT
cpu1: CLIDR=a200023 LoUU=1 LoC=2 LoUIS=1
cpu1: L1 Icache 48K linesz=64 set/way=256/3
cpu1: L1 Dcache 32K linesz=64 set/way=256/2
cpu1: L2 Unified 1024K linesz=64 set/way=1024/16

System page at phys:0000000080011000 user:ffffff8040254000 kern:ffffff8040251000
Starting next program at vffffff8060086e10
All ClockCycles offsets within tolerance
Welcome to QNX Neutrino 7.1.0 on the TI J721E EVM Board!!
Starting random service ...
start serial driver
Starting MMC/SD memory card driver... eMMC
Starting MMC/SD memory card driver... SD
Starting XHCI driver on USB3SS0 and USB3SS1
Path=0 - am65x
 target=0 lun=0     Direct-Access(0) - SDMMC: S0J56X Rev: 1.0
Setting environment variables...
done..
Looking for user script to run: /ti_fs/scripts/user.sh
Running user script...
user.sh called...
Setting additional environment variables...
Starting tisci-mgr..
Starting shmemallocator..
Starting tiipc-mgr..
Mailbox_plugInterrupt: interrupt Number 489, arg 0x3D228EA0
Mailbox_plugInterrupt: interrupt Number 490, arg 0x3D229040
Mailbox_plugInterrupt: interrupt Number 491, arg 0x3D2291E0
Mailbox_plugInterrupt: interrupt Number 492, arg 0x3D229380
Mailbox_plugInterrupt: interrupt Number 493, arg 0x3D229520
Starting TI IPC Resmgr
Starting tiudma-mgr..
Start screen..
/proc/boot/.console_ti.sh: /ti_fs/scripts/user.sh[23]: screen: cannot execute - No such file or directory
screen started with dss_on_r5 configuration..
done...
J7EVM@QNX:/
J7EVM@QNX:/# ./ti_fs/vision_apps/vision_apps_init.sh
J7EVM@QNX:/# slog2info -c
J7EVM@QNX:/# slog2info -w
                                          random.5                  low     0  -----UNSYNC-----
                                          random.5                 high     0  -----UNSYNC-----
Jan 01 00:00:00.009                      console.2                           0  -----ONLINE-----
                                         console.2                  out     0  -----UNSYNC-----
Jan 01 00:00:00.016                       random.5                           0  -----ONLINE-----
                                          random.5              default     0  -----UNSYNC-----
Jan 01 00:00:00.016                    random.5..0                           0  -----ONLINE-----
                                       random.5..0                 slog     0  -----UNSYNC-----
Jan 01 00:00:00.034             devb_sdmmc_am65x.9                           0  -----ONLINE-----
                                devb_sdmmc_am65x.9                 slog     0  -----UNSYNC-----
Jan 01 00:00:00.036            devb_sdmmc_am65x.10                           0  -----ONLINE-----
                               devb_sdmmc_am65x.10                 slog     0  -----UNSYNC-----
Jan 01 00:00:00.038                       iopkt.11                           0  -----ONLINE-----
                                          iopkt.11          main_buffer     0  -----UNSYNC-----
Jan 01 00:00:00.045               io_usb_otg.12300                           0  -----ONLINE-----
                                  io_usb_otg.12300                 slog     0  -----UNSYNC-----
Jan 01 00:00:00.370           shmemallocator.32783                           0  -----ONLINE-----
                              shmemallocator.32783                 slog     0  -----UNSYNC-----

J7EVM@QNX:/# io-pkt-v6-hc -d cpsw2g
J7EVM@QNX:/# 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
am0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 50:51:a9:fc:76:ba
        media: Ethernet none (none full-duplex)
        status: no carrier
J7EVM@QNX:/# if_up -p am0
J7EVM@QNX:/# 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
am0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 50:51:a9:fc:76:ba
        media: Ethernet none (none full-duplex)
        status: no carrier
J7EVM@QNX:/# ifconfig am0 up
ifconfig: SIOCSIFFLAGS: No such process
J7EVM@QNX:/#

What is the missing step or software package that causes this problem

All the steps are from the official

https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/vision_apps/docs/user_guide/index.html

then we use the latest version,There are the same problems。

  • Hi,

    Just ran the same steps, and they are passing on local TI EVM

    (1)

    Regarding "/proc/boot/.console_ti.sh: /ti_fs/scripts/user.sh[23]: screen: cannot execute - No such file or directory", seen in logs.  This error is indicating that the screen binary is not part of the SD card or cannot be found in expected $PATH.

    The screen binary would have been installed as part of the installation procedure, when downloading from QNX Software Centre.  The "make qnx_fs_install_sd" build option would have copied it to the SD card.  

    While this error is not necessarily related to the CPSW2G, can you please check SD card content to ensure this error is cleaned up, or indicate that screen not being present was intended.  Looking to ensure SD card is properly created.

    (2)

    For the CPSW2G driver can you please launch the driver with verbosity enabled (io-pkt-v6-hc -d cpsw2g verbose=0xff), and provide the slog2info logs after issue occurs.  Steps to launch the io-pkt-v6-hc driver are documented at:

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-qnx-jacinto7/07_02_00_04/exports/docs/qnx_sdk_components.html#cpsw2g-devnp-driver

    (3) Is this test being done on TI EVM, or custom H/W

    Thanks and regards,

    kb 

  • Hi KB,

     Thank you for your reply

    (1)the doc Vision Apps User Guide ,ETHFW Demos the last lines write Note: Ethernet firmware must be disabled in order to use the HDMI display 。i close the hdmi and edp device 。sd card is properly created。

    (2)the log message is dma error,the boadr is TI EVM J721EXSOMG01EVM

    PROCESSOR-SDK-RTOS-J721E/07.01.00.11

    PROCESSOR-SDK-QNX-J721E/07.01.01.00


    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] RM Alloc RX Ch failed!!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] Channel resource allocation failed!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_openRxCh: [CPSW DMA] UDMA RX Channel open failed: 0xfffffff8

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetHostPortDma_openRxCh: Failed to open CPSW DMA: -1

    J7EVM@QNX:/# slog2info -c
    J7EVM@QNX:/# slog2info -w&
    [1] 122899
    J7EVM@QNX:/# random.5 low 0 -----UNSYNC-----
    random.5 high 0 -----UNSYNC-----
    Jan 01 00:00:00.010 console.2 0 -----ONLINE-----
    console.2 out 0 -----UNSYNC-----
    Jan 01 00:00:00.016 random.5 0 -----ONLINE-----
    random.5 default 0 -----UNSYNC-----
    Jan 01 00:00:00.016 random.5..0 0 -----ONLINE-----
    random.5..0 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.034 devb_sdmmc_am65x.9 0 -----ONLINE-----
    devb_sdmmc_am65x.9 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.036 devb_sdmmc_am65x.10 0 -----ONLINE-----
    devb_sdmmc_am65x.10 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.038 iopkt.11 0 -----ONLINE-----
    iopkt.11 main_buffer 0 -----UNSYNC-----
    Jan 01 00:00:00.045 io_usb_otg.12300 0 -----ONLINE-----
    io_usb_otg.12300 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.448 tisci_mgr.20494 0 -----ONLINE-----
    tisci_mgr.20494 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.456 shmemallocator.32783 0 -----ONLINE-----
    shmemallocator.32783 slog 0 -----UNSYNC-----

    J7EVM@QNX:/# io-pkt-v6-hc -d cpsw2g verbose=0xff
    J7EVM@QNX:/# Jan 01 00:00:50.405 iopkt.135188 0 -----ONLINE-----
    Jan 01 00:00:50.406 iopkt.135188 main_buffer* 0 tcpip starting
    Jan 01 00:00:50.406 iopkt.135188 main_buffer 0 smmu support is disabled
    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 initializing IPsec...
    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 done

    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 IPsec: Initialized Security Association Processing.

    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 0 -----ONLINE-----
    Jan 01 00:00:50.441 iopkt.135188 main_buffer 0 devnp-cpsw2g.so verbose=0xff
    Jan 01 00:00:50.441 iopkt.135188 main_buffer 0 am0

    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog* 0 cpsw_entry:433 Entry -->
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw_attach:586 Entry -->
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw_parse_options:175 Verbose -->255
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Success - write to MCU_ENET_CTRL - 0x12
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Success - write to MCU_ENET_CLKSEL - 0xf00
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw2g
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Vendor .............. 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Device .............. 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Revision ............ 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 I/O port base ....... 0x46000000
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 MAC address ......... 5051a9 fc76ba

    J7EVM@QNX:/# ifconfig am0 up
    ifconfig: SIOCSIFFLAGS: No such process
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:4 From 1 To 0
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 1 To 0
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 ENET_CPSW_2G on MCU NAVSS
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.846 tiudma_mgr.40977 0 -----ONLINE-----
    Jan 01 00:00:55.846 tiudma_mgr.40977 slog* 55 udma_io_devctl:398 UDMA---> vintr.vintrNum=39

    Jan 01 00:00:55.846 tiudma_mgr.40977 slog 55 udma_io_devctl:411 UDMA---> rintr.preferredIrIntrNum=-65535 irintr.irIntrNum=11

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetIf_registerIntr: InterruptAttachEvent succeed irq/75 coid/1073741846 event/e

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Enet_open: cpsw2g: features: 0x00000002

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Enet_open: cpsw2g: errata : 0x00000000

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 cpsw_alloc:291: Alloc successfull; Virt: 0x4184f3d000, Phys: 0x8fc9f0000
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_memMgrInit: addr=0x4184f3d000 is aligned
    Jan 01 00:00:55.854 tiudma_mgr.40977 slog 55 udma_io_devctl:281 UDMA---> rx.preferredChNum=49, rx.ChNum=-65536

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] RM Alloc RX Ch failed!!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] Channel resource allocation failed!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_openRxCh: [CPSW DMA] UDMA RX Channel open failed: 0xfffffff8

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetHostPortDma_openRxCh: Failed to open CPSW DMA: -1

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Cpsw_openInternal: Failed to open CPSW RX channel: -1

    Jan 01 00:00:55.855 dumper.4 0 -----ONLINE-----
    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_ioctl: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetUdma_closeRxCh: [CPSW DMA Error] CPSW RX Channel not initialized!!

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 Cpsw_open: Failed to open CPSW modules: -1

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.hostport: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.ale: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.cpts: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.mdio: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.stats: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_ioctl: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 dumper.4 slog* 0 run fault pid 135188 tid 2 signal 6 code 0 ip 0x2c8961bdf8 proc/boot/io-pkt-v6-hc
    Jan 01 00:00:55.855 dumper.4 slog 0 pid 135188 core file created at /tmp/io-pkt-v6-hc.core
    J7EVM@QNX:/#
    J7EVM@QNX:/#


  • Hi KB,

     Thank you for your reply

    (1)the doc Vision Apps User Guide ,ETHFW Demos the last lines write Note: Ethernet firmware must be disabled in order to use the HDMI display 。i close the hdmi and edp device 。sd card is properly created。

    (2)the log message is dma error,the boadr is TI EVM J721EXSOMG01EVM

    PROCESSOR-SDK-RTOS-J721E/07.01.00.11

    PROCESSOR-SDK-QNX-J721E/07.01.01.00


    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] RM Alloc RX Ch failed!!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] Channel resource allocation failed!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_openRxCh: [CPSW DMA] UDMA RX Channel open failed: 0xfffffff8

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetHostPortDma_openRxCh: Failed to open CPSW DMA: -1

    J7EVM@QNX:/# slog2info -c
    J7EVM@QNX:/# slog2info -w&
    [1] 122899
    J7EVM@QNX:/# random.5 low 0 -----UNSYNC-----
    random.5 high 0 -----UNSYNC-----
    Jan 01 00:00:00.010 console.2 0 -----ONLINE-----
    console.2 out 0 -----UNSYNC-----
    Jan 01 00:00:00.016 random.5 0 -----ONLINE-----
    random.5 default 0 -----UNSYNC-----
    Jan 01 00:00:00.016 random.5..0 0 -----ONLINE-----
    random.5..0 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.034 devb_sdmmc_am65x.9 0 -----ONLINE-----
    devb_sdmmc_am65x.9 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.036 devb_sdmmc_am65x.10 0 -----ONLINE-----
    devb_sdmmc_am65x.10 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.038 iopkt.11 0 -----ONLINE-----
    iopkt.11 main_buffer 0 -----UNSYNC-----
    Jan 01 00:00:00.045 io_usb_otg.12300 0 -----ONLINE-----
    io_usb_otg.12300 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.448 tisci_mgr.20494 0 -----ONLINE-----
    tisci_mgr.20494 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.456 shmemallocator.32783 0 -----ONLINE-----
    shmemallocator.32783 slog 0 -----UNSYNC-----

    J7EVM@QNX:/# io-pkt-v6-hc -d cpsw2g verbose=0xff
    J7EVM@QNX:/# Jan 01 00:00:50.405 iopkt.135188 0 -----ONLINE-----
    Jan 01 00:00:50.406 iopkt.135188 main_buffer* 0 tcpip starting
    Jan 01 00:00:50.406 iopkt.135188 main_buffer 0 smmu support is disabled
    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 initializing IPsec...
    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 done

    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 IPsec: Initialized Security Association Processing.

    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 0 -----ONLINE-----
    Jan 01 00:00:50.441 iopkt.135188 main_buffer 0 devnp-cpsw2g.so verbose=0xff
    Jan 01 00:00:50.441 iopkt.135188 main_buffer 0 am0

    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog* 0 cpsw_entry:433 Entry -->
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw_attach:586 Entry -->
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw_parse_options:175 Verbose -->255
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Success - write to MCU_ENET_CTRL - 0x12
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Success - write to MCU_ENET_CLKSEL - 0xf00
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw2g
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Vendor .............. 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Device .............. 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Revision ............ 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 I/O port base ....... 0x46000000
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 MAC address ......... 5051a9 fc76ba

    J7EVM@QNX:/# ifconfig am0 up
    ifconfig: SIOCSIFFLAGS: No such process
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:4 From 1 To 0
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 1 To 0
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 ENET_CPSW_2G on MCU NAVSS
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.846 tiudma_mgr.40977 0 -----ONLINE-----
    Jan 01 00:00:55.846 tiudma_mgr.40977 slog* 55 udma_io_devctl:398 UDMA---> vintr.vintrNum=39

    Jan 01 00:00:55.846 tiudma_mgr.40977 slog 55 udma_io_devctl:411 UDMA---> rintr.preferredIrIntrNum=-65535 irintr.irIntrNum=11

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetIf_registerIntr: InterruptAttachEvent succeed irq/75 coid/1073741846 event/e

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Enet_open: cpsw2g: features: 0x00000002

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Enet_open: cpsw2g: errata : 0x00000000

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 cpsw_alloc:291: Alloc successfull; Virt: 0x4184f3d000, Phys: 0x8fc9f0000
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_memMgrInit: addr=0x4184f3d000 is aligned
    Jan 01 00:00:55.854 tiudma_mgr.40977 slog 55 udma_io_devctl:281 UDMA---> rx.preferredChNum=49, rx.ChNum=-65536

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] RM Alloc RX Ch failed!!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] Channel resource allocation failed!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_openRxCh: [CPSW DMA] UDMA RX Channel open failed: 0xfffffff8

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetHostPortDma_openRxCh: Failed to open CPSW DMA: -1

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Cpsw_openInternal: Failed to open CPSW RX channel: -1

    Jan 01 00:00:55.855 dumper.4 0 -----ONLINE-----
    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_ioctl: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetUdma_closeRxCh: [CPSW DMA Error] CPSW RX Channel not initialized!!

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 Cpsw_open: Failed to open CPSW modules: -1

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.hostport: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.ale: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.cpts: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.mdio: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.stats: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_ioctl: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 dumper.4 slog* 0 run fault pid 135188 tid 2 signal 6 code 0 ip 0x2c8961bdf8 proc/boot/io-pkt-v6-hc
    Jan 01 00:00:55.855 dumper.4 slog 0 pid 135188 core file created at /tmp/io-pkt-v6-hc.core
    J7EVM@QNX:/#
    J7EVM@QNX:/#


  • Hi KB,

     Thank you for your reply

    (1)the doc Vision Apps User Guide ,ETHFW Demos the last lines write Note: Ethernet firmware must be disabled in order to use the HDMI display 。i close the hdmi and edp device 。sd card is properly created。

    (2)the log message is dma error,the boadr is TI EVM J721EXSOMG01EVM

    PROCESSOR-SDK-RTOS-J721E/07.01.00.11

    PROCESSOR-SDK-QNX-J721E/07.01.01.00


    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] RM Alloc RX Ch failed!!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] Channel resource allocation failed!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_openRxCh: [CPSW DMA] UDMA RX Channel open failed: 0xfffffff8

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetHostPortDma_openRxCh: Failed to open CPSW DMA: -1

    J7EVM@QNX:/# slog2info -c
    J7EVM@QNX:/# slog2info -w&
    [1] 122899
    J7EVM@QNX:/# random.5 low 0 -----UNSYNC-----
    random.5 high 0 -----UNSYNC-----
    Jan 01 00:00:00.010 console.2 0 -----ONLINE-----
    console.2 out 0 -----UNSYNC-----
    Jan 01 00:00:00.016 random.5 0 -----ONLINE-----
    random.5 default 0 -----UNSYNC-----
    Jan 01 00:00:00.016 random.5..0 0 -----ONLINE-----
    random.5..0 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.034 devb_sdmmc_am65x.9 0 -----ONLINE-----
    devb_sdmmc_am65x.9 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.036 devb_sdmmc_am65x.10 0 -----ONLINE-----
    devb_sdmmc_am65x.10 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.038 iopkt.11 0 -----ONLINE-----
    iopkt.11 main_buffer 0 -----UNSYNC-----
    Jan 01 00:00:00.045 io_usb_otg.12300 0 -----ONLINE-----
    io_usb_otg.12300 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.448 tisci_mgr.20494 0 -----ONLINE-----
    tisci_mgr.20494 slog 0 -----UNSYNC-----
    Jan 01 00:00:00.456 shmemallocator.32783 0 -----ONLINE-----
    shmemallocator.32783 slog 0 -----UNSYNC-----

    J7EVM@QNX:/# io-pkt-v6-hc -d cpsw2g verbose=0xff
    J7EVM@QNX:/# Jan 01 00:00:50.405 iopkt.135188 0 -----ONLINE-----
    Jan 01 00:00:50.406 iopkt.135188 main_buffer* 0 tcpip starting
    Jan 01 00:00:50.406 iopkt.135188 main_buffer 0 smmu support is disabled
    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 initializing IPsec...
    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 done

    Jan 01 00:00:50.407 iopkt.135188 main_buffer 0 IPsec: Initialized Security Association Processing.

    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 0 -----ONLINE-----
    Jan 01 00:00:50.441 iopkt.135188 main_buffer 0 devnp-cpsw2g.so verbose=0xff
    Jan 01 00:00:50.441 iopkt.135188 main_buffer 0 am0

    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog* 0 cpsw_entry:433 Entry -->
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw_attach:586 Entry -->
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw_parse_options:175 Verbose -->255
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Success - write to MCU_ENET_CTRL - 0x12
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Success - write to MCU_ENET_CLKSEL - 0xf00
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 cpsw2g
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Vendor .............. 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Device .............. 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 Revision ............ 0x0
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 I/O port base ....... 0x46000000
    Jan 01 00:00:50.441 io_pkt_v6_hc.135188 slog 0 MAC address ......... 5051a9 fc76ba

    J7EVM@QNX:/# ifconfig am0 up
    ifconfig: SIOCSIFFLAGS: No such process
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:4 From 1 To 0
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 1 To 0
    Jan 01 00:00:55.842 io_pkt_v6_hc.135188 slog 0 ENET_CPSW_2G on MCU NAVSS
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.845 io_pkt_v6_hc.135188 slog 0 Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.846 tiudma_mgr.40977 0 -----ONLINE-----
    Jan 01 00:00:55.846 tiudma_mgr.40977 slog* 55 udma_io_devctl:398 UDMA---> vintr.vintrNum=39

    Jan 01 00:00:55.846 tiudma_mgr.40977 slog 55 udma_io_devctl:411 UDMA---> rintr.preferredIrIntrNum=-65535 irintr.irIntrNum=11

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetIf_registerIntr: InterruptAttachEvent succeed irq/75 coid/1073741846 event/e

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Enet_open: cpsw2g: features: 0x00000002

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Enet_open: cpsw2g: errata : 0x00000000

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 cpsw_alloc:291: Alloc successfull; Virt: 0x4184f3d000, Phys: 0x8fc9f0000
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_memMgrInit: addr=0x4184f3d000 is aligned
    Jan 01 00:00:55.854 tiudma_mgr.40977 slog 55 udma_io_devctl:281 UDMA---> rx.preferredChNum=49, rx.ChNum=-65536

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] RM Alloc RX Ch failed!!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [UDMA]
    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 [Error] Channel resource allocation failed!!

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetUdma_openRxCh: [CPSW DMA] UDMA RX Channel open failed: 0xfffffff8

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 EnetHostPortDma_openRxCh: Failed to open CPSW DMA: -1

    Jan 01 00:00:55.854 io_pkt_v6_hc.135188 slog 0 Cpsw_openInternal: Failed to open CPSW RX channel: -1

    Jan 01 00:00:55.855 dumper.4 0 -----ONLINE-----
    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_ioctl: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetUdma_closeRxCh: [CPSW DMA Error] CPSW RX Channel not initialized!!

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 Cpsw_open: Failed to open CPSW modules: -1

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.hostport: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.ale: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.cpts: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.mdio: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_close: cpsw2g.stats: Module is not open

    Jan 01 00:00:55.855 io_pkt_v6_hc.135188 slog 0 EnetMod_ioctl: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855 dumper.4 slog* 0 run fault pid 135188 tid 2 signal 6 code 0 ip 0x2c8961bdf8 proc/boot/io-pkt-v6-hc
    Jan 01 00:00:55.855 dumper.4 slog 0 pid 135188 core file created at /tmp/io-pkt-v6-hc.core
    J7EVM@QNX:/#
    J7EVM@QNX:/#


  • hi kb

    thanks for your replay

    (1) i close the hdmi device and edp device

    (2) the loginfo is dma error and then

    the PROCESSOR-SDK-RTOS-J721E/07.01.00.11

         PROCESSOR-SDK-QNX-J721E/07.01.01.00 and the  latest version,There are the same problems。

    J7EVM@QNX:/# slog2info -c
    J7EVM@QNX:/# slog2info -w&
    [1] 122899
    J7EVM@QNX:/#                                           random.5                  low     0  -----UNSYNC-----
                                              random.5                 high     0  -----UNSYNC-----
    Jan 01 00:00:00.010                      console.2                           0  -----ONLINE-----
                                             console.2                  out     0  -----UNSYNC-----
    Jan 01 00:00:00.016                       random.5                           0  -----ONLINE-----
                                              random.5              default     0  -----UNSYNC-----
    Jan 01 00:00:00.016                    random.5..0                           0  -----ONLINE-----
                                           random.5..0                 slog     0  -----UNSYNC-----
    Jan 01 00:00:00.034             devb_sdmmc_am65x.9                           0  -----ONLINE-----
                                    devb_sdmmc_am65x.9                 slog     0  -----UNSYNC-----
    Jan 01 00:00:00.036            devb_sdmmc_am65x.10                           0  -----ONLINE-----
                                   devb_sdmmc_am65x.10                 slog     0  -----UNSYNC-----
    Jan 01 00:00:00.038                       iopkt.11                           0  -----ONLINE-----
                                              iopkt.11          main_buffer     0  -----UNSYNC-----
    Jan 01 00:00:00.045               io_usb_otg.12300                           0  -----ONLINE-----
                                      io_usb_otg.12300                 slog     0  -----UNSYNC-----
    Jan 01 00:00:00.448                tisci_mgr.20494                           0  -----ONLINE-----
                                       tisci_mgr.20494                 slog     0  -----UNSYNC-----
    Jan 01 00:00:00.456           shmemallocator.32783                           0  -----ONLINE-----
                                  shmemallocator.32783                 slog     0  -----UNSYNC-----

    J7EVM@QNX:/# io-pkt-v6-hc -d cpsw2g verbose=0xff
    J7EVM@QNX:/# Jan 01 00:00:50.405                   iopkt.135188                           0  -----ONLINE-----
    Jan 01 00:00:50.406                   iopkt.135188          main_buffer*     0  tcpip starting
    Jan 01 00:00:50.406                   iopkt.135188          main_buffer      0  smmu support is disabled
    Jan 01 00:00:50.407                   iopkt.135188          main_buffer      0  initializing IPsec...
    Jan 01 00:00:50.407                   iopkt.135188          main_buffer      0   done

    Jan 01 00:00:50.407                   iopkt.135188          main_buffer      0  IPsec: Initialized Security Association Processing.

    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                           0  -----ONLINE-----
    Jan 01 00:00:50.441                   iopkt.135188          main_buffer      0  devnp-cpsw2g.so verbose=0xff
    Jan 01 00:00:50.441                   iopkt.135188          main_buffer      0  am0

    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog*     0  cpsw_entry:433 Entry -->
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  cpsw_attach:586 Entry -->
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  cpsw_parse_options:175 Verbose -->255
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  Success - write to MCU_ENET_CTRL - 0x12
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  Success - write to MCU_ENET_CLKSEL - 0xf00
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  cpsw2g
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  Vendor .............. 0x0
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  Device .............. 0x0
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  Revision ............ 0x0
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  I/O port base ....... 0x46000000
    Jan 01 00:00:50.441            io_pkt_v6_hc.135188                 slog      0  MAC address ......... 5051a9 fc76ba

    J7EVM@QNX:/# ifconfig am0 up
    ifconfig: SIOCSIFFLAGS: No such process
    Jan 01 00:00:55.842            io_pkt_v6_hc.135188                 slog      0  EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:4 From 1 To 0
    Jan 01 00:00:55.842            io_pkt_v6_hc.135188                 slog      0  EnetIf_reduceCoreMacAllocation: Reduced Mac Address Allocation for CoreId:1 From 1 To 0
    Jan 01 00:00:55.842            io_pkt_v6_hc.135188                 slog      0  ENET_CPSW_2G on MCU NAVSS
    Jan 01 00:00:55.845            io_pkt_v6_hc.135188                 slog      0  [UDMA]
    Jan 01 00:00:55.845            io_pkt_v6_hc.135188                 slog      0  Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845            io_pkt_v6_hc.135188                 slog      0  [UDMA]
    Jan 01 00:00:55.845            io_pkt_v6_hc.135188                 slog      0  Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845            io_pkt_v6_hc.135188                 slog      0  [UDMA]
    Jan 01 00:00:55.845            io_pkt_v6_hc.135188                 slog      0  Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.845            io_pkt_v6_hc.135188                 slog      0  [UDMA]
    Jan 01 00:00:55.845            io_pkt_v6_hc.135188                 slog      0  Assertion @ Line: 105 in src/udma_rm.c: offset < UDMA_RM_BLK_COPY_CH_ARR_SIZE : failed !!!

    Jan 01 00:00:55.846               tiudma_mgr.40977                           0  -----ONLINE-----
    Jan 01 00:00:55.846               tiudma_mgr.40977                 slog*    55  udma_io_devctl:398 UDMA---> vintr.vintrNum=39

    Jan 01 00:00:55.846               tiudma_mgr.40977                 slog     55  udma_io_devctl:411 UDMA---> rintr.preferredIrIntrNum=-65535 irintr.irIntrNum=11

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  EnetIf_registerIntr: InterruptAttachEvent succeed irq/75 coid/1073741846 event/e

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  Enet_open: cpsw2g: features: 0x00000002

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  Enet_open: cpsw2g: errata  : 0x00000000

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  cpsw_alloc:291: Alloc successfull; Virt: 0x4184f3d000, Phys: 0x8fc9f0000
    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  EnetUdma_memMgrInit: addr=0x4184f3d000 is  aligned
    Jan 01 00:00:55.854               tiudma_mgr.40977                 slog     55  udma_io_devctl:281 UDMA---> rx.preferredChNum=49, rx.ChNum=-65536

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  [UDMA]
    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  [Error] RM Alloc RX Ch failed!!!

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  [UDMA]
    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  [Error] Channel resource allocation failed!!

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  EnetUdma_openRxCh: [CPSW DMA] UDMA RX Channel open failed: 0xfffffff8

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  EnetHostPortDma_openRxCh: Failed to open CPSW DMA: -1

    Jan 01 00:00:55.854            io_pkt_v6_hc.135188                 slog      0  Cpsw_openInternal: Failed to open CPSW RX channel: -1

    Jan 01 00:00:55.855                       dumper.4                           0  -----ONLINE-----
    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetMod_ioctl: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetUdma_closeRxCh: [CPSW DMA Error] CPSW RX Channel not initialized!!

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetMod_close: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  Cpsw_open: Failed to open CPSW modules: -1

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetMod_close: cpsw2g.hostport: Module is not open

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetMod_close: cpsw2g.ale: Module is not open

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetMod_close: cpsw2g.cpts: Module is not open

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetMod_close: cpsw2g.mdio: Module is not open

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetMod_close: cpsw2g.stats: Module is not open

    Jan 01 00:00:55.855            io_pkt_v6_hc.135188                 slog      0  EnetMod_ioctl: cpsw2g.rm: Module is not open

    Jan 01 00:00:55.855                       dumper.4                 slog*     0  run fault pid 135188 tid 2 signal 6 code 0 ip 0x2c8961bdf8 proc/boot/io-pkt-v6-hc
    Jan 01 00:00:55.855                       dumper.4                 slog      0  pid 135188 core file created at /tmp/io-pkt-v6-hc.core
    J7EVM@QNX:/#
    J7EVM@QNX:/#


    Thanks and regards,

  • Hello,

    Thanks for the details.

    Looking at the logs, it is clear that the U-boot version used is not compatible with the Processor SDK RTOS & QNX releases used  ( PROCESSOR-SDK-RTOS-J721E/07.01.00.11 &  PROCESSOR-SDK-QNX-J721E/07.01.01.00).

    We see that the U-boot version is dated Jun 17 2020, which maps to PROCESSOR-SDK-LINUX version 7.0.

    To resolve the issue seen, suggest to use the U-boot version from PROCESSOR-SDK-LINUX-J721E_07.01.00.10 | TI.com to solve the UDMA issue seen with the QNX CPSW2G driver.

    Thanks.

  • hi paraveen

    thanks this resolved my issue

    Thanks for the details.