Part Number: TDA4VM-Q1
Other Parts Discussed in Thread: SK-TDA4VM
Tool/software:
Dear Support.
I am testing the TAP device method from the ethfw guide document to receive broadcast packets on CPSW9G.
To reproduce the issue, I downloaded RTOS SDK 8.6, created an SD card image, and tested it on an SOM-based EVM (not SK-TDA4VM).
However, the system repeatedly prints "Waiting for queue initialization" and does not function properly.
Please guide me on where to investigate.
# my test board info
U-Boot SPL 2021.01-g62a9e51344 (May 02 2023 - 15:41:16 +0000)
Model: Texas Instruments K3 J721E SoC Board: J721EX-PM2-SOM rev E7
SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
Detected: J7X-BASE-CPB rev A
Detected: J7X-VSC8514-ETH rev E2
# virtual-eth-queues, virtual-eth-buffers address boot log
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000e4000000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-queues@e4000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000e4800000, size 24 MiB
[ 0.000000] OF: reserved mem: initialized node vision-apps-r5f-virtual-eth-buffers@e4800000, compatible id shared-dma-pool
# test logs
root@j7-evm:/usr/bin# ./tapif.sh
Discovered Bufpool Base Address at 0xe4800000 from device tree
And the Bufpool region length is 0x01800000
Discovered Queue Base Address at 0xe4000000 from device tree
And the Queue region length is 0x00800000
------------------------------------------------
Selected Configuration:
------------------------------------------------
TAP Device name tap0
RX Queue Id 2
TX Queue Id 3
Maximum number of queues 4
Queue Base 0xe4000000
Queue Len 0x00800000
Polling interval 1000
Maximum number of bufpools 4
Bufpool base 0xe4800000
Bufpool len 0x01800000
TX Bufpool ID 2
TAP IP
TAP MAC 00:01:02:04:05:06
MAX TX 64
MAX RX 64
------------------------------------------------
Opened TAP Device successfully
Queue Mapping Succeeded
Bufpool Mapping Succeeded
Assigned Queue Handles
Waiting for queue initialization
Waiting for queue initialization
Waiting for queue initialization
thank you.