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.

[参考译文] DRA821U-Q1:平台5c000.r5f:R5F 内核可能已由不同的主机通电、已编程状态(0)!=实际状态(1)

Guru**** 2482225 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1450485/dra821u-q1-platform-5c00000-r5f-r5f-core-may-have-been-powered-on-by-a-different-host-programmed-state-0-actual-state-1

器件型号:DRA821U-Q1
主题中讨论的其他器件:DRA821

工具与软件:

您好!

  我们在 SDK 7.3中使用 dra821。 然后我们将 SBL 映像复制到 SD 卡以启动定制电路板。

  在定制电路板启动期间、UART 输出错误消息:

[    9.152172] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[    9.152214]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
[    9.177777] remoteproc remoteproc1: remote processor 41400000.r5f is now up
[    9.404204] platform 5c00000.r5f: configured R5F for IPC-only mode
[    9.530363] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
[    9.729243] remoteproc remoteproc2: 5c00000.r5f is available
[    9.803123] platform 5d00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[    9.823667] remoteproc remoteproc2: powering up 5c00000.r5f
[    9.829418] remoteproc remoteproc2: Booting fw image j7200-main-r5f0_0-fw, size 691128

  我们构建 SDK 7.3并在 rootfs 分区的/lib/firmware 目录中创建了一个软链接。

lrwxrwxrwx 1 root root      44 Apr 10  2021 j7200-main-r5f0_0-fw -> ethfw/app_remoteswitchcfg_server_strip.xer5f
lrwxrwxrwx 1 1000 1000      48 Apr 10  2021 j7200-main-r5f0_1-fw -> pdk-ipc/ipc_echo_test_mcu2_1_release_strip.xer5f

  如何解决 SDK 7.3中的错误?

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

    您好!

    我可以知道您的用例吗? 您是否正在使用 ETH 应用程序? 或 IPC ?

    此致

    Tarun Mukesh

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

    您好!

      我们使用 ETH 应用。  我们没有成功配置内核端和 ethfw 端、所以 SDK 7.3版中是否有详细的操作步骤?

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

    您好!

    [报价 userid="521626" url="~/support/processors-group/processors/f/processors-forum/1450485/dra821u-q1-platform-5c00000-r5f-r5f-core-may-have-been-powered-on-by-a-different-host-programd-state-0-actual-state-1 "]  我们在 SDK 7.3中使用 dra821。 并将 SBL 映像复制到 SD 卡以启动定制电路板。

    您正在使用哪些 SBL 映像? 您使用的是单个应用映像还是组合/多核应用映像。
    如果是组合/多核应用映像、请确保没有固件映射到 MCU2_0和 MCU2_1内核。

    此外、如果您正在使用 SBL 开发或优化流程?
    在开发流程中、u-boot 将重置内核并加载固件映像。

    此致、
    Sudheer

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

    您好!

      我们使用 tiboot3.bin、 tifs.bin、 app、tikernelimage_linux.appimage 、atf_optee.appimage 、  tidtb_linux.appimage。 应用程序是从命令"

    make -s -j can_boot_app_mcu_rtos HLOSBOOT=linux bootmode=mmcsd CANFUNC=none board=j7200_evm SOC=j7200 build_profile=release core=mcu1_0 build_os_type=tirtos"
      我们使用 SBL 优化流程。   

       

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

    您好!

    [报价 userid="521626" url="~/support/processors-group/processors/f/processors-forum/1450485/dra821u-q1-platform-5c00000-r5f-r5f-core-may-have-been-powered-on-by-a-different-host-programd-state-0-actual-state-1/5568198 #5568198"]

     我们使用 tiboot3.bin、 tifs.bin、 app、tikernelimage_linux.appimage 、atf_optee.appimage 、  tidtb_linux.appimage。 应用程序是从命令"

    make -s -j can_boot_app_mcu_rtos HLOSBOOT=linux bootmode=mmcsd CANFUNC=none board=j7200_evm SOC=j7200 build_profile=release core=mcu1_0 build_os_type=tirtos"
      我们使用 SBL 优化流程。   
    [报价]

    感谢您的参与。

    您能否分享完整的日志?

    默认 Linux 尝试加载所有内核的固件、但 MCU1_0已启动并正在使用 BOOT_APP 运行、因此它可以在仅 IPC 模式下连接。
    此外、从上面的初始日志中、我可以看到 Linux 加载了 MCU2_0固件映像。

    [    9.823667] remoteproc remoteproc2: powering up 5c00000.r5f
    [    9.829418] remoteproc remoteproc2: Booting fw image j7200-main-r5f0_0-fw, size 691128


    此致、
    Sudheer