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 crash when loading firmware

Part Number: AM5728


Tool/software: Linux

when I load dsp1  firmware,I get error message below。Firmware is messageq_single.xe66 from ti。I have linked it to /lib/firmware/dra7-dsp1-fw.xe66 with absolutely path.

[  596.363976] remoteproc remoteproc2: crash detected in 40800000.dsp: type watchdog
[  596.372928] remoteproc remoteproc2: handling crash #53 in 40800000.dsp
[  596.379488] remoteproc remoteproc2: recovering 40800000.dsp
[  596.402110] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[  596.415113] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[  596.422792] remoteproc remoteproc2: stopped remote processor 40800000.dsp
[  596.429615] remoteproc remoteproc2: powering up 40800000.dsp
[  596.442435] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 4587992
[  596.457438] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[  596.463329] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[  596.469271] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[  596.485838] remoteproc remoteproc2: registered virtio0 (type 7)
[  596.491828] remoteproc remoteproc2: remote processor 40800000.dsp is now up

dts:

&dsp1 {
    status = "okay";
    memory-region = <&dsp1_cma_pool>;
    mboxes = <&mailbox5 &mbox_dsp1_ipc3x>;
    timers = <&timer5>;
    watchdog-timers = <&timer10>;
};

&dsp2 {
    status = "okay";
    memory-region = <&dsp2_cma_pool>;
    mboxes = <&mailbox6 &mbox_dsp2_ipc3x>;
    timers = <&timer6>;
    watchdog-timers = <&timer13>;
};

generate by dtc tools is:

        dsp@40800000 {
            compatible = "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>;
            status = "okay";
            memory-region = <0xc3>;
            mboxes = <0xb5 0xc4>;
            timers = <0xc5>;
            watchdog-timers = <0xc6>;
        };

something config error???

  • The software team have been notified. They will respond here.
  • Hi, Fei Liang,

    Which release are you using? Is the messageq_single.xe66 from the filesystem in /lib/firmware/ipc/ti_platforms_evmDRA7XX_dsp1?

    I use ProcSDK 4.1 release and don't see any issue with prebuilt images. Please see logs below. Does anything in your run differ from mine?

    [ 5.812311] remoteproc remoteproc2: powering up 40800000.dsp
    [ 5.812321] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 4993084
    [ 5.819016] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
    [ 5.819052] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
    [ 5.819092] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
    [ 5.824307] virtio_rpmsg_bus virtio0: rpmsg host is online
    [ 5.824329] remoteproc remoteproc0: registered virtio0 (type 7)
    [ 5.824334] remoteproc remoteproc0: remote processor 58820000.ipu is now up
    [ 5.825682] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x32
    [ 5.825845] virtio_rpmsg_bus virtio0: creating channel rpmsg-client-sample addr 0x33
    [ 5.826028] virtio_rpmsg_bus virtio0: creating channel rpmsg-omx addr 0x3c
    [ 5.826151] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
    [ 5.887492] virtio_rpmsg_bus virtio1: rpmsg host is online
    [ 5.887511] remoteproc remoteproc2: registered virtio1 (type 7)
    [ 5.887515] remoteproc remoteproc2: remote processor 40800000.dsp is now up

    root@am57xx-evm:~# uname -a
    Linux am57xx-evm 4.9.41-ge3a80a1c5c #2 SMP PREEMPT Tue Sep 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 root root 52 Sep 26 21:44 dra7-dsp1-fw.xe66 -> ipc/ti_platforms_evmDRA7XX_dsp1/messageq_single.xe66

    Rex
  • thanks for reply.

    I have resolved "DSP watchdog crash".My kernel configure issue.

    I  use sdk04.01.00.06 also ,but it report

    [  204.117119] omap_hwmod: mmu0_dsp1: _wait_target_disable failed

    This kernel message does not report on sdk-03.01.00.06.

  • Fei Liang,

    Good to know you fixed your kernel configuration and solve the issue. The message only mean the module mode is not supported and can't be disabled. It is not fatal and the system is operational.

    Rex