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:为 J784S4板编译 ethfw 应用

Guru**** 2479855 points
Other Parts Discussed in Thread: J721EXENETXPANEVM

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1460360/processor-sdk-j784s4-compilation-of-ethfw-apps-for-j784s4-boards

器件型号:PROCESSOR-SDK-J784S4
主题中讨论的其他器件:J721EXENETXPANEVM

工具与软件:

您好!

我想在 ETHFW 应用上运行、以测试 J784S4 EVM 上的 J721EXENETXPANEVM 四路以太网扩展板。

为此、我从 ethfw 文件夹编译了 SDK 文件夹中的应用: make -j8 BUILD_SOC_LIST=J784S4 ethfw_all

这将创建几个.xer5f 文件:

app_remoteswitchcfg_client_qnx_strip.xer5f
app_remoteswitchcfg_client_qNX.xer5f
app_remoteswitchcfg_client_strip.xer5f
app_remoteswitchcfg_client.xer5f
app_remoteswitchcfg_server_ccs_strip.xer5f
app_remoteswitchcfg_server_ccs.xer5f
app_remoteswitchcfg_server_qnx_strip.xer5f
app_remoteswitchcfg_server_qnx.xer5f
app_remoteswitchcfg_server_strip.xer5f
app_remoteswitchcfg_server.xer5f
CLIENT_TEST_APP_STEL.xer5f
client_test_app.xer5f
SERVER_TEST_APP_CCS_STEL.xer5f
SERVER_TEST_APP_CCS.xer5f
SERVER_TEST_APP_STEL.xer5f
SERVER_TEST_APP.xer5f

我尝试使用 objcopy 命令将它们转换为二进制文件:objcopy -o binary app_remoteswitchcfg_server.xer5f out.bin、但它生成2.6GB 二进制文件、对我来说太大了。

我仍然尝试过运行它、但 SBL 显示错误: Invalid magic number in Single image header

因此、我想知道我应该使用哪个应用来测试四路以太网扩展、以及如何将该应用转换为二进制文件以在板上启动它?

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

    您好!

    Unknown 说:
    我尝试使用 objcopy 命令将它们转换为二进制文件:objcopy -o binary app_remoteswitchcfg_server.xer5f out.bin、但它生成2.6GB 二进制文件、对我来说似乎太大。

    您可以使用"app_remoteswitchcfg_server_strip.xer5f" (无调试符号的条带映像)在 MCU2_0内核上运行 ETHFW 服务器。

    您可以使用 SBL combined_appimage 工具、 具有默认 IPC_echo_testb 二进制文件的 MCU1_0和具有 ETHFW 二进制文件的 MCU2_0创建单个应用映像。
    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j784s4/10_01_00_04/exports/docs/pdk_j784s4_10_01_00_25/docs/userguide/j784s4/boot/boot_hlos.html#combined-appimage

    此外、请参阅编译应用程序映像步骤以转换.xer5f ->.out、.out ->.rprc。
    多个内核的.rprc 映像作为单个.appimage 的组合
    https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-j784s4/10_01_00_04/exports/docs/pdk_j784s4_10_01_00_25/docs/userguide/j784s4/boot/boot_k3.html#compiling-appimage-that-can-be-loaded-by-sbl

    此致、
    Sudheer

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

    文档已经清楚、但我无法找到 MCU1_0的 ipc_echo_test 二进制文件。 但我是为其他内核找到的

    ❯查找。 grep ipc_echo_test
    ./pdk_j784s4_10_01_00_25/packages/ti/drv/ipc/examples/linux/ipc_echo_test.c
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_c7x_4_release_strip.xe71.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu2_1_release_strip.xer5f.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu3_1_release_strip.xer5f.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu2_1_release_strip.xer5f
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu3_0_release_strip.xer5f.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu2_0_release_strip.xer5f.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_c7x_2_release_strip.xe71.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu4_1_release_strip.xer5f
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu4_0_release_strip.xer5f.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_c7x_4_release_strip.xe71
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu1_1_release_strip.xer5f
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu1_1_release_strip.xer5f.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu4_1_release_strip.xer5f.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_c7x_2_release_strip.xe71
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_c7x_3_release_strip.xe71
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_c7x_1_release_strip.xe71.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu3_0_release_strip.xer5f
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_c7x_1_release_strip.xe71
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_c7x_3_release_strip.xe71.signed
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu4_0_release_strip.xer5f
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu2_0_release_strip.xer5f
    /targetfs/usr/lib/firmware/ti-ipc/j784s4/ipc_echo_test_mcu3_1_release_strip.xer5f

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

    您好!

    文档内容清楚、但我找不到 MCU1_0的 ipc_echo_test 二进制文件。 但我发现它用于其他内核[/报价]

    您可以使用以下命令从 pdk/packages/ti/build 构建 IPC echo 测试。
    # make ipc_echo_testb_FreeRTOS Board=j784s4_evm core=mcu1_0。

    二进制文件将在  pdk/packages/ti/binary/中创建。

    此致、
    Sudheer