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.

[参考译文] Linux/AM5728:加载固件时 DSP 崩溃

Guru**** 2596165 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/647853/linux-am5728-dsp-crash-when-loading-firmware

器件型号:AM5728

工具/软件:Linux

当我加载 dsp1 固件,我在下面收到错误消息。Firmware is MessageQ_single.xe66 from ti。我已使用绝对路径将其链接到/lib/firmware/dra7-dsp1-fw.xe66。

[596.363976] remoteproc remoteproc2:在40800000.dsp 中检测到崩溃:键入 watchdog
[596.372928] remoteproc remoteproc2:处理40800000.dsp 中的崩溃#53
[596.379488] remoteproc remoteproc2:恢复40800000.dsp
[596.402110] omap_hwmod:mu1_dsp1:_wait_target_disable 失败
[596.415113] omap_hwmod:mu0_dsp1:_wait_target_disable 失败
[596.422792] remoteproc remoteproc2:已停止远程处理器40800000.dsp
[596.429615] remoteproc remoteproc2:为40800000.dsp 加电
[596.442435] remoteproc remoteproc2:引导 FW 映像 dra7-dsp1-fw.xe66、大小为4587992
[596.457438] omap_hwmod:mu0_dsp1:_wait_target_disable 失败
[596.463329] OMAP-iommu 40d01000.MMU:40d01000.MMU:版本3.0
[596.469271] OMAP-iommu 40d020.MMU:40d020.MMU:版本3.0
[596.485838] remoteproc remoteproc2:registered virtio0 (类型7)
[596.491828] remoteproc remoteproc2:远程处理器40800000.dsp 现已启动

DTS:

dsp1{.dsp1}(&D)
   状态="正常";
   Memory-region =<&dsp1_CMA_pool>;
   mbox =<&mailbox5 &mbox_dsp1_ipc3x>;
   计时器=<&timer5>;
   安全装置定时器=<&timer10>;
};

dsp2{.dsp2}
   状态="正常";
   Memory-region =<&dsp2_CMA_pool>;
   mbox =<&mailbox6 &mbox_dsp2_ipc3x>;
   计时器=<&timer6>;
   安全装置定时器=<&timer13>;
};

由 DTC 工具生成为:μ m

       DSP@40800000{
           兼容="ti、dra7-dsp";
           REG =<0x40800000 0x48000 0x40e00000 0x8000 0x40f00000 0x8000>;
           reg-names ="l2ram"、"l1pram"、"l1dram";
           ti、hwmods ="dsp1";
           SYSCON-bootreg =<0x9 0x55c>;
           iommus =<0xc1 0xC2>;
           ti、rproc-standby-info =<0x4a005420>;
           状态="正常";
           MEMORY - REGION =<0xc3>;
           mbox =<bb5 0xc4>;
           定时器=<0xc5>;
           安全装置定时器=<0xc6>;
       };

配置错误???

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    软件团队已收到通知。 他们将在这里作出回应。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Fei Liang、

    您使用的是哪个版本? 是/lib/firmware/ipc/ti_platforms_evmDRA7XX_dsp1?文件系统中的 MessageQ_single.xe66

    我使用 ProcSDK 4.1版本、未发现预编译映像有任何问题。 请参阅以下日志。 你的跑步与我的跑步有什么不同吗?

    [5.812311] remoteproc remoteproc2:为40800000.dsp 加电
    [5.812321] remoteproc remoteproc2:引导 FW 映像 dra7-dsp1-fw.xe66、大小为4993084
    [5.819016] OMAP-hwmod:mu0_dsp1:_wait_target_disable 失败
    [5.819052] OMAP-iommu 40d01000.MMU:40d01000.MMU:版本3.0
    [5.819092] OMAP-iommu 40d02000.MMU:40d020.MMU:版本3.0
    [5.824307] virtio_rpmsg_bus virtio0:rpmsg 主机处于联机状态
    [5.824329] remoteproc remoteproc0:注册的 virtio0 (类型7)
    [5.824334] remoteproc remoteproc0:远程处理器588200.IPU 现已启动
    [5.825682] virtio_rpmsg_bus virtio0:创建通道 rpmsg-client-sample addr 0x32
    [5.825845] virtio_rpmsg_bus virtio0:创建通道 rpmsg-client-sample addr 0x33
    [5.826028] virtio_rpmsg_bus virtio0:创建通道 rpmsg-OMX addr 0x3c
    [5.826151] virtio_rpmsg_bus virtio0:创建通道 rpmsg-RPC addr 0x65
    [5.887492] virtio_rpmsg_bus virtio1:rpmsg 主机处于联机状态
    [5.887511] remoteproc remoteproc2:registered virtio1 (类型7)
    [5.887515] remoteproc remoteproc2:远程处理器40800000.dsp 现已启动

    root@am57xx-EVM:~# uname -a
    Linux am57xx-EVM 4.9.41-ge3a80a1c5c #2 SMP 优先于 Tue 9月26日19:14:57 EDT 2017 armv7l GNU/Linux

    root@am57xx-EVM:~# cd /lib/firmware
    root@am57xx-evm:/lib/firmware ls -l dra7-dsp1-fw.xe66
    lrwxrwxrwx 1根 根 52 9月26日21:44 dra7-dsp1-fw.xe66 -> IPC/ti_platforms_evmDRA7XX_dsp1/MessageQ_single.xe66

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

    感谢您的回复。

    我已解决"DSP 安全装置崩溃"。我的内核配置问题。

    我 也使用 sdk04.01.00.06,但它会报告

    [204.117119] omap_hwmod:mu0_dsp1:_wait_target_disable 失败

    此内核消息不会在 SDK-03.01.00.06上报告。

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

    Fei Liang、

    了解您修复了内核配置并解决了该问题。 该消息仅表示模块模式不受支持、无法禁用。 它不是致命的、系统处于运行状态。

    雷克斯