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.

[参考译文] PROCESSOR-SDK-J721S2:QNX 10.0中的 sshd 问题

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1407799/processor-sdk-j721s2-sshd-issue-in-qnx-10-0

器件型号:PROCESSOR-SDK-J721S2

工具与软件:

您好!

我尝试  使用在 J721S2 EVM 上运行视觉应用

- QNX SDP 8.0版  

- QNX 10.0.0.4 SDK。  

- RTOS 10.0.0.5 SDK。

我在 板载闪存 QNX - 10.0 SDK 时得到以下日志。 启动 sshd 失败  错误的 addr 或主机: (名称未解析)

U-Boot SPL 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
SPL initial stack usage: 13456 bytes
Trying to boot from MMC2
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Loading Environment from nowhere... OK
Starting ATF on ARM64 core...
NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
I/TC: 
I/TC: OP-TEE version: 4.2.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Apr 12 09:51:21 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: GIC redistributor base address not provided
I/TC: Assuming default GIC group status and modifier
I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
I/TC: HUK Initialized
I/TC: Activated SA2UL device
I/TC: Fixing SA2UL firewall owner for GP device
I/TC: Enabled firewalls for SA2UL TRNG device
I/TC: SA2UL TRNG initialized
I/TC: SA2UL Drivers initialized
I/TC: Primary CPU switching to normal world boot
U-Boot SPL 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
Trying to boot from MMC2
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
U-Boot 2024.04-ti-g818c76aed67f (Aug 01 2024 - 19:19:47 +0000)
SoC:   J721S2 SR1.0 GP
Model: Texas Instruments J721S2 EVM
Board: J721S2X-PM1-SOM rev E4
DRAM:  2 GiB (effective 16 GiB)
Core:  117 devices, 32 uclasses, devicetree: separate
Flash: 0 Bytes
MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
Loading Environment from nowhere... OK
In:    serial@2880000
Out:   serial@2880000
Err:   serial@2880000
am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
Net:   eth0: ethernet@46000000port@1
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1 is current device
SD/MMC found on device 1
1258 bytes read in 26 ms (46.9 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc1 ...
Running uenvcmd ...
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
867724 bytes read in 36 ms (23 MiB/s)
Load Remote Processor 2 with data@addr=0x82000000 867724 bytes: Success!
322708 bytes read in 31 ms (9.9 MiB/s)
Load Remote Processor 3 with data@addr=0x82000000 322708 bytes: Success!
Failed to load '/lib/firmware/j721s2-main-r5f1_0-fw'
Failed to load '/lib/firmware/j721s2-main-r5f1_1-fw'
15044640 bytes read in 106 ms (135.4 MiB/s)
Load Remote Processor 6 with data@addr=0x82000000 15044640 bytes: Success!
9482088 bytes read in 46 ms (196.6 MiB/s)
Load Remote Processor 7 with data@addr=0x82000000 9482088 bytes: Success!
12692472 bytes read in 171 ms (70.8 MiB/s)
95815 bytes read in 27 ms (3.4 MiB/s)
## Starting application at 0x80080000 ...
Hypervisor support disabled
MMU: 16-bit ASID 44-bit PA TCR_EL1=00000014b5183519
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 @ 0000000080013000, callout vaddr: ffffff8040251000
aarch64_cpuspeed: core speed 2000
cpu0: MPIDR=0000000080000000
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 0000000080030000, 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 A72
Total Available L3 cache (MSMC SRAM): 4194304 bytes
Loading IFS...decompressing...done
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
aarch64_cpuspeed: core speed 2000
cpu1: MPIDR=0000000080000001
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 0000000080030000, 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:0000000080022000 user:ffffff8040275000 kern:ffffff8040272000
Starting next program at vffffff8060087740
syspage::hypinfo::flags=0x00000000
 
Welcome to QNX 8.0.0 on TI_J721S2_EVM_Board !
 
Starting I2C driver ...
start serial driver
Starting MMC/SD memory card driver... eMMC
Starting MMC/SD memory card driver... SD
Starting Flash driver...
ldd:FATAL: Could not load library libti-pdk.so.1
Starting XHCI driver
Path=0 - am65x
 target=0 lun=0     Direct-Access(0) - SDMMC: G1M15L Rev: 1.0
Starting devf-ram filesystem ...
Setting environment variables...
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..
Initializing sciclient in polling mode
Starting shmemallocator..
Starting tiipc-mgr..
Starting tiudma-mgr..
Starting ti-vpu-codec-mgr
Starting VPU Codec resource manager...
Resource Manager loop starting
Starting sshd
bad addr or host: <NULL> (Name does not resolve)
done...
J721S2-EVM@QNX:/# uname -a
QNX localhost 8.0.0 2024/06/13-12:41:10EDT TI_J721S2_EVM_Board aarch64le
J721S2-EVM@QNX:/# ifconfig 
ifconfig: getifaddrs: Address family not supported by protocol family
J721S2-EVM@QNX:/# 
J721S2-EVM@QNX:/# 
J721S2-EVM@QNX:/# 

请帮助解决此问题。

注意:Linux SDK 10.0中不存在 sshd 问题。 我们仅在 QNX 10.0中观察到它。  

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    请确保 IO-SOCK 驱动程序已启动并正在运行。  QNX 软件系统提供的 BSP 用户指南中提供了相关说明。   

    可使用"pidin ar"命令查看是否已启动 IO-sock 驱动程序。

    "slog2info"命令可用于显示日志。

    此致、

    kb

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    向内部团队核实任何已知问题、将在收到反馈时提供更新。

    同时、我们将考虑在本地进行安装和测试、预计不晚于2024年9月13日完成。

    此致、

    kb

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    在与 TI 内部团队讨论问题时、他们的想法如下:

    • 出现的问题可能是由于 IO-SOCK IS 包的版本不匹配导致的、其中 IO-SOCK 是"较新的"、并且与被测 BSP 不对齐。

    请联系 QNX 软件系统以获取有关建议版本控制的更多信息。

    TI 团队注意到、您可以尝试将 com.qnx.qnx800.target.net 降级到 版本0.0.0.0 1.00135T202311191043L、但这仅用于测试目的。  官方推荐必须来自 QNX、因为 IO-SOCK 和 BSP 都是 QNX 交付。

    此致、

    kb

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    将  com.qnx.qnx800.target.net 降级到 版本0.0.1.00135T202311191043L 对我们不起作用。

    我们暂时通过将 QNX 7.1与 TI SDK 10.0搭配使用来修复该问题。  

    如果您在 QNX 8.0中有任何修复,请告知我们。 谢谢。  

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    TI 在 SDP 8.0上未看到任何问题。   QNX 是否对此问题有任何反馈?

    谢谢!

    kb

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    目前出现的问题可能与版本控制相关。  请注意以下注意事项、对于 J721E 器件、J721S2应遵循类似的方法。

    如果您仍有问题、请联系 QNX 以获得帮助。

    此致、

    kb