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.

AM57xxevm Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2

Other Parts Discussed in Thread: AM5728

When I boot the AM5728 evm board with prebuilt or a custom image generated with the SDK, I got an error with ipu-1 module loading. The error is the following:

remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2

I track it down and found that the problem is the dra7-ipu1-fw.xem4 file. In the target file system provided by TI the file structure of the lib/firmware directory is:

ti-processor-sdk-linux-am57xx-evm-02.00.00.00/targetNFS/lib/firmware$ tree
.
├── dra7-dsp1-fw.xe66 -> dra7-dsp1-fw.xe66.ocl
├── dra7-dsp1-fw.xe66.dce
├── dra7-dsp1-fw.xe66.ocl
├── dra7-dsp1-fw.xe66.test
├── dra7-dsp2-fw.xe66 -> dra7-dsp2-fw.xe66.ocl
├── dra7-dsp2-fw.xe66.ocl
├── dra7-dsp2-fw.xe66.test
├── dra7-ipu1-fw.xem4.test
├── dra7-ipu2-fw.xem4
├── dra7-ipu2-fw.xem4.test
├── ti-connectivity
│   ├── wl18xx-conf.bin
│   └── wl18xx-fw-4.bin
├── TIInit_10.6.15.bts
├── TIInit_11.8.32.bts
├── TIInit_12.10.28.bts
├── TIInit_12.8.32.bts
├── TIInit_7.6.15.bts
└── vpdma-1b8.bin

You can clearly see that this file is missing.

Where does can I found it? 

Thanks!

  • Hi Daniel,

    Which SDK is this?  I use ti-processor-sdk-linux-am57xx-evm-02.00.01.07 and the ipu1 firmware is present in lib/firmware:

    x0155517@mms:~/ti-processor-sdk-linux-am57xx-evm-02.00.01.07/filesystem/tisdk-rootfs-image-am57xx-evm$ cd lib/firmware/

    x0155517@mms:~/ti-processor-sdk-linux-am57xx-evm-02.00.01.07/filesystem/tisdk-rootfs-image-am57xx-evm/lib/firmware$ ls -la

    total 132480

    drwxr-xr-x 4 x0155517 mmsusr     4096 Jan  9 03:19 .

    drwxr-xr-x 8 x0155517 mmsusr     4096 Jan  9 03:18 ..

    lrwxrwxrwx 1 x0155517 mmsusr       49 Feb 19 09:30 am57xx-pru1_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_0.out

    lrwxrwxrwx 1 x0155517 mmsusr       49 Feb 19 09:30 am57xx-pru1_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1_1.out

    lrwxrwxrwx 1 x0155517 mmsusr       49 Feb 19 09:30 am57xx-pru2_0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_0.out

    lrwxrwxrwx 1 x0155517 mmsusr       49 Feb 19 09:30 am57xx-pru2_1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt2_1.out

    lrwxrwxrwx 1 x0155517 mmsusr       46 Feb 19 09:30 dra7-dsp1-fw.xe66 -> /lib/firmware/dra7-dsp1-fw.xe66.opencl-monitor

    -rw-r--r-- 1 x0155517 mmsusr   863516 Jan  9 02:34 dra7-dsp1-fw.xe66.dspdce-fw

    -rwxr-xr-x 1 x0155517 mmsusr  6937149 Jan  9 01:39 dra7-dsp1-fw.xe66.ipc-test-fw

    -rw-r--r-- 1 x0155517 mmsusr 21591344 Jan  9 02:51 dra7-dsp1-fw.xe66.opencl-monitor

    lrwxrwxrwx 1 x0155517 mmsusr       46 Feb 19 09:30 dra7-dsp2-fw.xe66 -> /lib/firmware/dra7-dsp2-fw.xe66.opencl-monitor

    -rwxr-xr-x 1 x0155517 mmsusr  6937149 Jan  9 01:39 dra7-dsp2-fw.xe66.ipc-test-fw

    -rw-r--r-- 1 x0155517 mmsusr 21591344 Jan  9 02:56 dra7-dsp2-fw.xe66.opencl-monitor

    lrwxrwxrwx 1 x0155517 mmsusr       43 Feb 19 09:30 dra7-ipu1-fw.xem4 -> /lib/firmware/dra7-ipu1-fw.xem4.ipc-test-fw

    -rwxr-xr-x 1 x0155517 mmsusr  6142375 Jan  9 01:39 dra7-ipu1-fw.xem4.ipc-test-fw

    Best Regards,

    Yordan

  • Thanks for the answer. 

    I was using an older version of the TI SDK (version: ti-processor-sdk-linux-am57xx-evm-02.00.00.00) . That version does not have dra7-ipu1-fw.xem4 file.