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-J784S4:app_remoteswitchcfg_client 的 UART 输出

Guru**** 2470360 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1467976/processor-sdk-j784s4-uart-output-for-the-app_remoteswitchcfg_client

器件型号:PROCESSOR-SDK-J784S4

工具与软件:

您好!

我运行 ethfw 固件的演示应用、也想运行 RTOS 客户端应用(app_remoteswitchcfg_client)。 我有用于 Linux 和 ETHFW 服务器的 UART 输出、但没有用于客户端的输出。 我想知道如何配置它、以便在可能的情况下选择 UART 输出。 此外、我确信该应用程序已正确加载:

将远程处理器2加载数据@addr=0x82000000 904700字节:成功!
486836字节在232ms (2MiB/s)内读取
将 DATA@addr=0x82000000 486836字节加载到远程处理器3:成功!
在160ms (944.3KiB/s)内读取154848字节
将 DATA@addr=0x82000000 154848字节加载到远程处理器4:成功!
在159ms 内读取了154848字节(950.2KiB/s)
将 DATA@addr=0x82000000 154848字节加载到远程处理器5:成功!
在164 ms (2.9 MiB/s)内读取498940字节
将远程处理器6加载到 DATA@addr=0x82000000 498940字节:成功!
在160ms (944.3KiB/s)内读取154848字节
将 DATA@addr=0x82000000 154848字节加载到远程处理器7:成功!
14283024字节在304 ms (44.8 MiB/s)内读取
将远程处理器8加载到 DATA@addr=0x82000000 14283024字节:成功!
14684488字节读取时间为310ms (45.2MiB/s)
将远程处理器9加载到数据@addr=0x82000000 14684488字节:成功!
在305 ms 内读取14283136字节(44.7 MiB/s)
将远程处理器10加载到 DATA@addr=0x82000000 14283136字节:成功!
14283136字节在304 ms (44.8 MiB/s)内读取
将远程处理器11加载到 DATA@addr=0x82000000 14283136字节:成功!

提前感谢您的帮助。

此致、
Romain

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

    您好、Romain、

    您能告诉您用于测试的 TI SDK 映像是谁吗? 这是来自这里的 https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX J784S4吗?

    谢谢。

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

    大家好、Rao、

    我使用 RTOS SDK  10.01.00.04.要创建 SD 卡、我使用了此版本预编译软件包中的脚本。

    我应用了在 ETHFW 网页上找到的不同步骤: https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j784s4/10_01_00_04/exports/docs/ethfw/docs/user_guide/demo_ethfw_combined_top.html#demo_ethfw_combined_setup_cfg

    此致、

    Romain

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

    感谢您的参与。

    好的。 对于 EthFW 日志、您必须打开与在 ubuntu PC/minicom 上用于 Linux 调试日志的 UART 端口不同的 UART 端口。

    在上面分享的同一个文档链接中、您将看到以下内容:

    另外、请转到这一章"示例输出"、了解 您将在调试日志中看到的内容。

    谢谢。

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

    我已有 MCU2_0和 A72的日志。 但在您给我的链接中、客户端应用程序似乎只输出到 CCS 控制台。 是否可以将其更改为输出到 UART 控制台?

    此致、
    Romain

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是否可以将其更改为输出到 UART 控制台?

    如果您使用默认的 EthFW 版本、则它已经得到输出到主 UART2。

    如何启动电路板? 是否通过 SD 卡进行?  

    顺便说一下、它是在 TI EVM 上还是在定制平台上?

    谢谢。

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

    我有来自 Linux 和 ETHFW 服务器应用程序的 UART 0和 UART 2的日志

    但我想根据您提供的链接将来自 MCU2_1客户端应用程序的日志发送到 CCS 控制台。

    我将使用 J784S4EVM 从 SD 卡引导

    此致、
    Romain

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

    好的、我们现在了解您的申请。  客户端实现可能未将其路由到 UART。

    由于您使用的是 Linux、因此可以在 Linux 提示符下获取 EthFW 日志。 您是否能尝试:

    CAT /sys/kernel/debug/remoteproc/remoteproc1/trace0

    CAT /sys/kernel/debug/remoteproc/remoteproc2/trace0

    并共享输出呢?

    谢谢!

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

    您好!

    我得到了以下输出(我在所有内核上均已尝试此命令):

    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc0/name && cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
    5c00000.r5f
    =======================================================
                CPSW Ethernet Firmware                     
    =======================================================
    ETHFW: Warning: Using 6 random MAC address(es)
    ETHFW: Warning: Using 6 MAC address(es) from static pool
    EnetMcm: CPSW_9G on MAIN NAVSS
    PHY 16 is alive
    PHY 17 is alive
    PHY 18 is alive
    PHY 19 is alive
    EnetPhy_bindDriver: PHY 16: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 17: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 18: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    EnetPhy_bindDriver: PHY 19: OUI:0001c1 Model:27 Ver:00 <-> 'vsc8514' : OK
    ETHFW: Shared multicasts:
    ETHFW:   01:00:5e:00:00:01
    ETHFW:   01:00:5e:00:00:fb
    ETHFW:   01:00:5e:00:00:fc
    ETHFW:   33:33:00:00:00:01
    ETHFW:   33:33:ff:1d:92:c2
    ETHFW:   01:80:c2:00:00:00
    ETHFW:   01:80:c2:00:00:03
    ETHFW: Reserved multicasts:
    ETHFW:   01:80:c2:00:00:0e
    ETHFW:   01:1b:19:00:00:00
    ETHFW: VLAN 1024 member=0x29 virtMember=0x7 regMcastFlood=0x29 unregMcastFlood=0x29 untag=0x0
    ETHFW: 1 VLAN entries added in ALE table
    
    ETHFW Version   : 0.05.00
    unibase-1.1.5-jacinto
    ETHFW Build Date: Jan 31, 2025
    ETHFW Build Time: 08:31:48
    ETHFW Commit SHA: 
    
    Starting lwIP, local interface IP is dhcp-enabled
    ETHFW: Virtual port configuration:
    ETHFW: Host MAC address: 70:52:0d:8d:42:fa
    [LWIPIF_LWIP] Enet LLD netif initialized successfully
    Added interface 'ti0', IP is 0.0.0.0
    ETHFW: Enable gPTP on MAC port 3 (tilld3)
    ETHFW: Enable gPTP on MAC port 5 (tilld5)
    ETHFW: EthFwTsn_gptpYangConfig:domain=0
    ETHFW: TimeSync PTP enabled
    ETHFW: CpswProxyServer: initialization completed (core: mcu2_0)
    INF:ubase:GPTP_MEDIUM_ALLOC: fragsize=16 fragused/fragnum=835/1426 (58
    INF:ubase:GPTP_SMALL_ALLOC: fragsize=4 fragused/fragnum=19/97 (19
    INF:ubase:SM_DATA_INST: fragsize=8 fragused/fragnum=2002/3806 (52
    WRN:gptp:gptpgcfg_link_check:can't read speed
    WRN:gptp:gptpgcfg_link_check:can't read speed
    CpswMacPort_checkSgmiiStatus: MAC 5: SGMII link parter config port: link up: 1-Gbps Full-Duplex
    Cpsw_handleLinkUp: Port 5: Link up: 1-Gbps Full-Duplex
    CpswMacPort_checkSgmiiStatus: MAC 3: SGMII link parter config port: link up: 1-Gbps Full-Duplex
    Cpsw_handleLinkUp: Port 3: Link up: 1-Gbps Full-Duplex
    Added interface 'ti0', IP is 10.0.0.128
    ETHFW: Announce Endpoint Service to HLOS
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
    ETHFW: VIRT_PORT_INFO | C2S | core=0 endpt=1025
    ETHFW: VIRT_PORT_INFO | S2C | switchPortMask=1 macPortMask=10
    ETHFW: ATTACH | C2S | core=0 endpt=1025 virtPort=0
    ETHFW: ATTACH | S2C | token=0 rxMtu=1522 features=2
    ETHFW: ATTACH | C2S | core=0 endpt=1025 virtPort=4
    ETHFW: ATTACH | S2C | token=400 rxMtu=1522 features=0
    ETHFW: ALLOC_RX | C2S | core=0 endpt=1025 token=0
    ETHFW: ALLOC_RX | S2C | flow=114,0 rxPsil=0x4a00 status=0
    ETHFW: ALLOC_TX | C2S | core=0 endpt=1025 token=0
    ETHFW: ALLOC_TX | S2C | txPsil=0xca04 status=0
    ETHFW: ALLOC_TX | C2S | core=0 endpt=1025 token=0
    ETHFW: ALLOC_TX | S2C | txPsil=0xca07 status=0
    ETHFW: ALLOC_MAC | C2S | core=0 endpt=1025 token=0
    ETHFW: ALLOC_MAC | S2C | macAddr=70:ec:59:b6:67:32 status=0
    ETHFW: ALLOC_RX | C2S | core=0 endpt=1025 token=400
    ETHFW: ALLOC_RX | S2C | flow=114,1 rxPsil=0x4a00 status=0
    ETHFW: ALLOC_TX | C2S | core=0 endpt=1025 token=400
    ETHFW: ALLOC_TX | S2C | txPsil=0xca03 status=0
    ETHFW: ALLOC_MAC | C2S | core=0 endpt=1025 token=400
    ETHFW: ALLOC_MAC | S2C | macAddr=70:fc:31:9a:c1:b3 status=0
    ETHFW: REGISTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=70:ec:59:b6:67:32 flowIdx=114,0
    Cpsw_ioctlInternal: Registered MAC address (ALE entry=9, policer entry=1)
    ETHFW: REGISTER_MAC | S2C | status=0
    ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=33:33:00:00:00:01 vlanId=65535 flowIdx=114,0
    ETHFW: ADD_FILTER_MAC | S2C | status=0
    ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=01:00:5e:00:00:01 vlanId=65535 flowIdx=114,0
    ETHFW: ADD_FILTER_MAC | S2C | status=0
    ETHFW: REGISTER_MAC | C2S | core=0 endpt=1025 token=400 macAdd=70:fc:31:9a:c1:b3 flowIdx=114,1
    ETHFW: REGISTER_MAC | S2C | status=0
    ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=33:33:ff:b6:67:32 vlanId=65535 flowIdx=114,0
    ETHFW: ADD_FILTER_MAC | S2C | status=0
    ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=01:80:c2:00:00:00 vlanId=65535 flowIdx=114,0
    ETHFW: ADD_FILTER_MAC | S2C | status=0
    ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=01:80:c2:00:00:03 vlanId=65535 flowIdx=114,0
    ETHFW: ADD_FILTER_MAC | S2C | status=0
    ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=01:80:c2:00:00:0e vlanId=65535 flowIdx=114,0
    ETHFW: EthFwMcast_filterAddMac: Failed to add reserved mcast addr on vlan 0 and hwVlanId 3 01:80:c2:00:00:0e: -2
    ETHFW: CpswProxyServer_filterAddMacHandlerCb: Failed to add multicast: -2
    ETHFW: CpswProxyServer_clientRequestHandler: Failed to add mcast to filter: -2
    ETHFW: ADD_FILTER_MAC | S2C | status=-2
    ETHFW: REGISTER_IPv4 | C2S | core=0 endpt=1025 token=0 ipAddr=10.0.0.129 macAdd=70:ec:59:b6:67:32
    ETHFW: REGISTER_IPv4 | S2C | status=0
    ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=01:00:5e:00:00:fb vlanId=65535 flowIdx=114,0
    ETHFW: ADD_FILTER_MAC | S2C | status=0
    ETHFW: ADD_FILTER_MAC | C2S | core=0 endpt=1025 token=0 macAdd=33:33:00:00:00:fb vlanId=65535 flowIdx=114,0
    ETHFW: ADD_FILTER_MAC | S2C | status=0
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/name && cat /sys/kernel/debug/remoteproc/remoteproc1/trace0
    41000000.r5f
    Sciclient_boardCfgRm init Passed
    DM Built On: Oct 17 2024 17:35:33
    Sciserver Version: v09.02.00.0.0-REL.PSDK.10.01.00.04-5-gbd508+
    RM_PM_HAL Version: v10.01.03
    Starting Sciserver..... PASSED
    IPC_echo_test (core : mcu1_0) .....
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc2/name && cat /sys/kernel/debug/remoteproc/remoteproc2/trace0
    5d00000.r5f
    cat: /sys/kernel/debug/remoteproc/remoteproc2/trace0: No such file or directory
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc3/name && cat /sys/kernel/debug/remoteproc/remoteproc3/trace0
    5e00000.r5f
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc4/name && cat /sys/kernel/debug/remoteproc/remoteproc4/trace0
    64800000.dsp
    cat: /sys/kernel/debug/remoteproc/remoteproc4/trace0: No such file or directory
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc5/name && cat /sys/kernel/debug/remoteproc/remoteproc5/trace0
    5f00000.r5f
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc6/name && cat /sys/kernel/debug/remoteproc/remoteproc6/trace0
    5900000.r5f
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc7/name && cat /sys/kernel/debug/remoteproc/remoteproc7/trace0
    5a00000.r5f
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc8/name && cat /sys/kernel/debug/remoteproc/remoteproc8/trace0
    65800000.dsp
    cat: /sys/kernel/debug/remoteproc/remoteproc8/trace0: No such file or directory
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc9/name && cat /sys/kernel/debug/remoteproc/remoteproc9/trace0
    66800000.dsp
    cat: /sys/kernel/debug/remoteproc/remoteproc9/trace0: No such file or directory
    root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc10/name && cat /sys/kernel/debug/remoteproc/remoteproc10/trace0
    67800000.dsp
    cat: /sys/kernel/debug/remoteproc/remoteproc10/trace0: No such file or directory
    

    好像有来自 MCU R5F 上 ETHFW 服务器和 SCIServer 的输出、但在 MAIN_0_1上没有来自 ETHFW 的输出

    此致、
    Romain

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

    是否确定要将正确的固件映像加载到主 R5F0_1?

    您是否在本地构建  app_remoteswitchcfg_client 映像并将其复制到 lib/firmware/j7-main-r5f0_1-FW?

    谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [报价 userid="108768" url="~/support/processors-group/processors/f/processors-forum/1467976/processor-sdk-j784s4-uart-output-for-the-app_remoteswitchcfg_client/5636133 #5636133"]

    是否确定要将正确的固件映像加载到主 R5F0_1?

    您是否在本地构建  app_remoteswitchcfg_client 映像并将其复制到 lib/firmware/j7-main-r5f0_1-FW?

    [报价]

    是的、我在本地构建了它、并且在 rootfs 中有它

    rguilloteau in /media/rguilloteau/rootfs/lib/firmware
    ❯ ll
    total 28M
    -rwxrwxrwx 1 root        root        476K Mar  9  2018 bl32.bin
    -rwxrwxrwx 1 root        root        4.3M Mar  9  2018 bl32.elf
    drwxrwxrwx 2 root        root        4.0K Mar  9  2018 cadence
    drwxrwxrwx 2 root        root        4.0K Mar  9  2018 cnm
    drwxrwxrwx 2 root        root        4.0K Mar  9  2018 intel
    -rwxrwxrwx 1 root        root        897K Mar  9  2018 iwlwifi-3160-17.ucode
    -rwxrwxrwx 1 root        root        2.4M Mar  9  2018 iwlwifi-8000C-34.ucode
    -rwxrwxrwx 1 root        root        2.4M Mar  9  2018 iwlwifi-8000C-36.ucode
    -rwxrwxrwx 1 root        root        2.4M Mar  9  2018 iwlwifi-8265-34.ucode
    -rwxrwxrwx 1 root        root        2.4M Mar  9  2018 iwlwifi-8265-36.ucode
    -rwxrwxrwx 1 root        root        2.6M Mar  9  2018 iwlwifi-9260-th-b0-jf-b0-34.ucode
    -rwxrwxrwx 1 root        root        2.5M Mar  9  2018 iwlwifi-9260-th-b0-jf-b0-38.ucode
    -rwxrwxrwx 1 root        root        1.5M Mar  9  2018 iwlwifi-9260-th-b0-jf-b0-46.ucode
    lrwxrwxrwx 1 rguilloteau rguilloteau   43 Jan 31 08:38 j784s4-c71_0-fw -> vision_apps_evm/vx_app_rtos_linux_c7x_1.out
    lrwxrwxrwx 1 rguilloteau rguilloteau   43 Jan 31 08:38 j784s4-c71_1-fw -> vision_apps_evm/vx_app_rtos_linux_c7x_2.out
    lrwxrwxrwx 1 rguilloteau rguilloteau   43 Jan 31 08:38 j784s4-c71_2-fw -> vision_apps_evm/vx_app_rtos_linux_c7x_3.out
    lrwxrwxrwx 1 rguilloteau rguilloteau   43 Jan 31 08:38 j784s4-c71_3-fw -> vision_apps_evm/vx_app_rtos_linux_c7x_4.out
    lrwxrwxrwx 1 rguilloteau rguilloteau   46 Jan 31 08:58 j784s4-main-r5f0_0-fw -> ti-eth/j784s4/app_remoteswitchcfg_server.xer5f
    lrwxrwxrwx 1 rguilloteau rguilloteau   46 Jan 31 08:58 j784s4-main-r5f0_1-fw -> ti-eth/j784s4/app_remoteswitchcfg_client.xer5f
    lrwxrwxrwx 1 rguilloteau rguilloteau   44 Jan 31 08:57 j784s4-main-r5f1_0-fw -> vision_apps_evm/vx_app_rtos_linux_mcu3_0.out
    lrwxrwxrwx 1 rguilloteau rguilloteau   44 Jan 31 08:38 j784s4-main-r5f1_1-fw -> vision_apps_evm/vx_app_rtos_linux_mcu3_1.out
    lrwxrwxrwx 1 rguilloteau rguilloteau   44 Jan 31 08:38 j784s4-main-r5f2_0-fw -> vision_apps_evm/vx_app_rtos_linux_mcu4_0.out
    lrwxrwxrwx 1 rguilloteau rguilloteau   44 Jan 31 08:38 j784s4-main-r5f2_1-fw -> vision_apps_evm/vx_app_rtos_linux_mcu4_1.out
    lrwxrwxrwx 1 rguilloteau rguilloteau   49 Jan 31 08:38 j784s4-mcu-r5f0_0-fw -> pdk-ipc/ipc_echo_testb_mcu1_0_release_strip.xer5f
    -rwxrwxrwx 1 root        root        2.0K Mar  9  2018 LICENCE.ibt_firmware
    -rwxrwxrwx 1 root        root        2.0K Mar  9  2018 LICENCE.iwlwifi_firmware
    -rwxrwxrwx 1 root        root        5.9K Mar  9  2018 regulatory.db
    -rwxrwxrwx 1 root        root        1.1K Mar  9  2018 regulatory.db.p7s
    -rwxrwxrwx 1 root        root        140K Mar  9  2018 rgx.fw.36.53.104.796
    -rwxrwxrwx 1 root        root        375K Mar  9  2018 rgx.sh.36.53.104.796
    -rwxrwxrwx 1 root        root        476K Mar  9  2018 tee.bin
    -rwxrwxrwx 1 root        root        4.3M Mar  9  2018 tee.elf
    -rwxrwxrwx 1 root        root          28 Mar  9  2018 tee-header_v2.bin
    -rwxrwxrwx 1 root        root           0 Mar  9  2018 tee-pageable_v2.bin
    -rwxrwxrwx 1 root        root        476K Mar  9  2018 tee-pager_v2.bin
    -rwxrwxrwx 1 root        root        476K Mar  9  2018 tee-raw.bin
    drwxrwxrwx 2 root        root        4.0K Mar  9  2018 ti-connectivity
    drwxrwxrwx 3 root        root        4.0K Mar  9  2018 ti-eth
    drwxrwxrwx 3 root        root        4.0K Mar  9  2018 ti-ipc
    drwxrwxrwx 2 root        root        4.0K Mar  9  2018 vision_apps_evm
    lrwxrwxrwx 1 root        root          46 Mar  9  2018 wave521c_k3_codec_fw.bin -> /usr/lib/firmware/cnm/wave521c_k3_codec_fw.bin
    
    rguilloteau in /media/rguilloteau/rootfs/lib/firmware
    ❯ ll ti-eth/j784s4/
    total 12M
    -rw-rw-r-- 1 rguilloteau rguilloteau 4.1M Jan 31 08:48 app_remoteswitchcfg_client.xer5f
    -rw-rw-r-- 1 rguilloteau rguilloteau 7.9M Jan 31 08:48 app_remoteswitchcfg_server.xer5f

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

    您能 运行" 自述文件 - a app_remoteswitchcfg_client.xer5f "、并共享输出?  
    我正在查找要出现在输出中的.tracebuf 段。

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

    这是 grep 的结果。 我还附加了完整的输出。

    rguilloteau in ~/ti-processor-sdk-rtos-j784s4-evm-10_01_00_04/et/o/J/R/FREERTOS/debug
    ❯ readelf -a app_remoteswitchcfg_client.xer5f > output_readelf.txt
    
    rguilloteau in ~/ti-processor-sdk-rtos-j784s4-evm-10_01_00_04/et/o/J/R/FREERTOS/debug
    ❯ cat output_readelf.txt| grep ".tracebuf" -A 5 -B 5
      [22] .boardcfg_data    NOBITS          00000000 000000 000000 00      0   0  4
      [23] ipc_data_buffer   NOBITS          a3b72200 060600 021900 00  WA  0   0 128
      [24] .resource_table   PROGBITS        a3100000 001000 00008c 00   A  0   0 4096
      [25] intercore_et[...] NOBITS          00000000 000000 000000 00      0   0 128
      [26] intercore_et[...] NOBITS          00000000 000000 000000 00      0   0 128
      [27] .tracebuf         NOBITS          a3a95c00 004000 080000 00  WA  0   0 1024
      [28] .bss:ENET_DM[...] NOBITS          a38d5880 078d80 1c0000 00  WA  0   0 128
      [29] .bss:ENET_DM[...] NOBITS          a3bcca00 078d80 011000 00  WA  0   0 128
      [30] .bss:ENET_DM[...] NOBITS          a3100400 078d80 480000 00  WA  0   0 128
      [31] .bss:ENET_DM[...] NOBITS          a3bdda00 078d80 010400 00  WA  0   0 128
      [32] .bss:app_log_mem  NOBITS          00000000 078d80 000000 00  WA  0   0  1
    --
       00     .freertosrstvectors .text.hwi .text.cache .text.mpu .text.boot .text_fast .data_buffer .bss.devgroup .bss:app_log_mem .bss:ddr_shared_mem
       01     .bootCode .startupCode .startupData
       02     .resource_table
       03     .cinit
       04     .bss
       05     .tracebuf
       06     .text_rest
       07     .data ipc_data_buffer
       08     .rodata
       09     .sysmem
       10     .irqStack .fiqStack .abortStack .undStack .svcStack
    --
        22: 00000000     0 SECTION LOCAL  DEFAULT   22 .boardcfg_data
        23: a3b72200     0 SECTION LOCAL  DEFAULT   23 ipc_data_buffer
        24: a3100000     0 SECTION LOCAL  DEFAULT   24 .resource_table
        25: 00000000     0 SECTION LOCAL  DEFAULT   25 intercore_eth_de[...]
        26: 00000000     0 SECTION LOCAL  DEFAULT   26 intercore_eth_da[...]
        27: a3a95c00     0 SECTION LOCAL  DEFAULT   27 .tracebuf
        28: a38d5880     0 SECTION LOCAL  DEFAULT   28 .bss:ENET_DMA_DE[...]
        29: a3bcca00     0 SECTION LOCAL  DEFAULT   29 .bss:ENET_DMA_RI[...]
        30: a3100400     0 SECTION LOCAL  DEFAULT   30 .bss:ENET_DMA_PK[...]
        31: a3bdda00     0 SECTION LOCAL  DEFAULT   31 .bss:ENET_DMA_OBJ_MEM
        32: 00000000     0 SECTION LOCAL  DEFAULT   32 .bss:app_log_mem

    e2e.ti.com/.../output_5F00_readelf.txt

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

    好的、图像看起来正确。

    此时、我们需要了解 Linux 命令为何不起作用。 可能是 R50_1内核未响应、或已停止/崩溃。 您是否能够使用 CCS 通过 XDS110板载 JTAG 连接 R50_1内核并检查该内核的状态?

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

    这对我来说现在很复杂。 下周再见。 谢谢

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

    好的、我们将等待确认。

    谢谢。