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: QNX boot using SPL/Uboot - Ethernet Issue

Part Number: TDA4VM
Other Parts Discussed in Thread: J721EXSOMXEVM

Hello Team,

I am unable to set network interface  with any IP when qnx-ifs is read from the SD card from uboot.

Both dhclient request to server for an IP or static IP assignment fails.

 

Observation:

Network interface is created as mentioned

# io-pkt-v6-hc -d cpsw2g

But when requested for IP assignment QNX hangs

Version Information:

Below are versions of SDK, RTOS and PSDK Linux used to reproduce the issue

PSDK QNX : ti-processor-sdk-qnx_j721e_08_02_00_03

 https://www.ti.com/tool/download/PROCESSOR-SDK-QNX-J721E/08.02.00.03

 

PSDK RTOS: ti-processor-sdk-rtos-j721e-evm-08_02_00_05

https://www.ti.com/tool/download/PROCESSOR-SDK-RTOS-J721E/08.02.00.05

 

PROCESSOR-SDK-LINUX-J721E(Version: 08.06.01.02)

https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-J721E

Common Processor Board : J721EXCP01EVM

SoM :  J721EXSOMXEVM

Log Message on SD boot:
gpio: pin gpio@22_17 (gpio 281) value is 1
gpio: pin gpio@22_16 (gpio 280) value is 0
k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
Failed to load '/lib/firmware/j7-main-r5f0_0-fw'
Failed to load '/lib/firmware/j7-main-r5f0_1-fw'
Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
Failed to load '/lib/firmware/j7-c66_0-fw'
Failed to load '/lib/firmware/j7-c66_1-fw'
Failed to load '/lib/firmware/j7-c71_0-fw'
8291784 bytes read in 352 ms (22.5 MiB/s)
## Starting application at 0x80080000 ...
MMU: 16-bit ASID 44-bit PA TCR_EL1=b5183519
ARM GIC-500 r1p1, arch v3.0 detected
gic_v3_lpi_add_entry for vectors 8192 -> 8447, Ok
gic_v3_lpi_add_entry for vectors 8448 -> 65535, Ok
No SPI intrinfo. Add default entry for 32 -> 991 vectors, Ok
LPI config table #1 @ 000000008000f000, callout vaddr: ffffff8040251000
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
Enabling ITS 0
ITS queue at 0000000080020000, num slots: 256
Issue MAPC/SYNC/INVALL commands for ICID 0
update CWRITER to 0x00000060
Waiting for all commands to be processed ... Done in 1 tries
Enable LPIs in GICR_CTLR @ 0000000001900000 for CPU0
Display set to R5
TI: Not configuring pcie to avoid serdes conflict with EthFw using QSGMII board
Total Available L3 cache (MSMC SRAM): 0 bytes
Loading IFS...decompressing...done
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
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
ITS 0 already Enabled
ITS queue at 0000000080020000, num slots: 256
Issue MAPC/SYNC/INVALL commands for ICID 1
update CWRITER to 0x000000c0
Waiting for all commands to be processed ... Done in 1 tries
Enable LPIs in GICR_CTLR @ 0000000001920000 for CPU1

System page at phys:0000000080023000 user:ffffff8040275000 kern:ffffff8040272000
Starting next program at vffffff8060097280
All ClockCycles offsets within tolerance
Welcome to QNX Neutrino 7.1.0 on the TI J721E EVM Board!!
Starting random service ...
start serial driver
Setting OS clock from RTC
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..
Mounting the sd ..
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..
Starting TI IPC Resmgr
Starting tiudma-mgr..
Start screen..
libkhronos: dlopen() err Library cannot be found, path: '/ti_fs/usr/lib/graphics/jacinto7/lib
libkhronos: dlopen() err Library cannot be found, path: 'libWFDdummy.so'
libkhronos: Ensure directory containing graphics libraries is appended to LD_LIBRARY_PATH env
screen started with dss_on_r5 configuration..
done...
J7EVM@QNX:/#

Can you provide with some directions to resolve the scenario.

  • Hi,

    There are instructions on using CPSW2G driver available at :5. PSDK QNX Components — Processor SDK QNX J721E (ti.com)

    As first step in debug, running the driver with verbosity enabled, and checking the "slog2info" output is recommended.  If launching of the io-pkt command is stalling the system, "slog2info -w &" can be run to see the logs up until the point where stall occurs.

    Regarding the SDKs being used, all SDK revisions should align.  If any content is being used from SDK Linux, then SDK Linux 8.2 should be used to align with SDK RTOS 8.2 and SDK QNX 8.2

    Regards,

    kb