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.

fail to build ipumm for AM5xx

hi experts,

I have problem on generating firmware for M4/DSP as following http://processors.wiki.ti.com/index.php/Processor_Training:_Multimedia. Under SDK 2.0.1

Q1. as below

[user@ ipumm] (master)$ make dspbin
make: *** No rule to make target `dspbin'. Stop.

Q2. I didn't see steps for build up DSP firmware ?? Could you provide URL??

Please help on these.

Thanks

  • Hi,

    Do you follow exactly the steps provided in the training?
    You need to perform:
    git clone git://git.ti.com/ivimm/ipumm.git
    cd ipumm
    git checkout [tag you want to use]
    Then setup the environment and run:
    export HWVERSION=ES10
    cd ipumm
    make unconfig
    make vayu_smp_config
    make clean
    make dspbin

    "Q2. I didn't see steps for build up DSP firmware ?? Could you provide URL??"
    The wiki you refer to describes how to build the IPU firmware, NOT the dsp.

    Best Regards,
    Yordan
  • Hi Yordan,

    Thanks for your reply.

    Q1.
    ==> After confirm the help inside Makefile, there's a typo in the webpage. it should be "make ducatibin" instead of "make dspbin"


    Q2.
    ==> Could you provide the method about how to build the DSP firmware ??

    Thanks

  • Hi,

    Indeed there is a typo in the wiki.

    HeartBreak said:
    Q2.
    ==> Could you provide the method about how to build the DSP firmware ??

    Have a look at the following thread: 
     https://e2e.ti.com/support/arm/sitara_arm/f/791/p/473672/1702380 

  • hi,
    As I generate the dra7xx-c66x-dsp.xe66 by your provided link under SDK2.0.1, I put it in AM572x EVM,

    I got the following messages after referring processors.wiki.ti.com/.../Processor_Training:_Multimedia

    root@am57xx-evm:~# uname -a
    Linux am57xx-evm 4.1.13-g8dc6617 #1 SMP PREEMPT Fri Jan 8 18:44:32 EST 2016 armv7l GNU/Linux

    root@am57xx-evm:~/201# copycodectest 123
    0x22070: Opening Engine..
    Created dsp_universalCopy

    Fill input buffer with pattern 123

    MmRpc_call: Error: write failed
    ERROR:decoder_process:204: 0x22070: process returned error: -5
    libdce.c:739: process Error: ERROR: Failed eError == DCE_EOK error val -5
    root@am57xx-evm:~/201#

    Do you know why?

    Thanks
  • Hi experts,

    I confirm the log of DSP fw and the result was shown as below.


    root@am57xx-evm:/# cat /sys/kernel/debug/remoteproc/remoteproc2/trace0
    [ 0.000] 18 Resource entries at 0x95000000
    [ 0.000] DSP1 starting..
    [ 0.000]
    [ 0.000]
    [ 0.000] **** DSPMM VERSION INFO ****
    [ 0.000]
    [ 0.000] Compile DATE Jan 8 2016 TIME 19:34:38
    [ 0.000]
    [ 0.000] ** DSPMM VERSION INFO END **
    [ 0.000] OMAPRPC: registered channel: rpmsg-dce-dsp
    [ 0.000] [t=0x007fd65c] ti.ipc.rpmsg.RPMessage: RPMessage_create: endPt created: 59
    [ 0.000] OMAPRPC: Returning Object @95409560
    [ 0.000] copyTask 54: Entered...:
    [ 0.000] [t=0x0083e9b4] ti.ipc.rpmsg.RPMessage: RPMessage_create: endPt created: 54
    [ 0.000] registering rpmsg-client-sample:sample-desc service on 54 with HOST
    [ 0.000] copyTask 55: Entered...:
    [ 0.000] [t=0x0085afe8] ti.ipc.rpmsg.RPMessage: RPMessage_create: endPt created: 55
    [ 0.000] registering rpmsg-client-sample:sample-desc service on 55 with HOST
    [ 0.000] OMAPRPC: connecting from local endpoint 59 to port 59
    [ 0.000] registering rpmsg-rpc:rpmsg-dce-dsp service on 59 with HOST
    [ 0.000] OMAPRPC: started channel on port: 59
    [ 0.000] OMAPRPC: received msg type: 0 len: 8 from addr: 1024
    [ 0.000] OMAPRPC: channel info query - name rpmsg-dce-dsp fxns 8
    [ 0.000] OMAPRPC: Replying with msg type: 1 to addr: 1024 from: 59 len: 12
    [ 0.000] OMAPRPC: received msg type: 2 len: 216 from addr: 1024
    [ 0.000] OMAPRPC: function query of type 1
    ...
    [ 0.000] OMAPRPC: Replying with msg type: 3 to addr: 1024 from: 59 len: 216
    [ 0.000] OMAPRPC: received msg type: 6 len: 56 from addr: 1025
    [ 0.000] [t=0x00000001:372b450a] ti.sdo.rcm.RcmServer: RcmServer_create: instance create: 0x9540c180
    [ 0.000] [t=0x00000001:372cd263] ti.ipc.rpmsg.RPMessage: RPMessage_create: endPt created: 101
    [ 0.000] createService: new OMX Service at endpoint: 101
    [ 0.000] OMAPRPC: created service instance named: rpmsg-dce-dsp (status=0) addr: 101
    [ 0.000] OMAPRPC: Replying with msg type: 8 to addr: 1025 from: 59 len: 16
    [ 0.000] OMAPRPC: received msg type: 4 len: 12 from addr: 1025
    [ 0.000] OMAPRPC: destroying instance addr: 101
    [ 0.000] RcmServer_serverThrFxn_P: Exiting thread.
    [ 0.000] [t=0x00000001:38ac73ba] ti.ipc.rpmsg.RPMessage: RPMessage_delete: endPt deleted: 101
    [ 0.000] [t=0x00000001:38ad49af] ti.sdo.rcm.RcmServer: RcmServer_delete: instance delete: 0x9540c180
    [ 0.000] deleteService: removed RcmServer at endpoint: 101
    [ 0.000] OMAPRPC: Replying with msg type: 7 to addr: 1025 from: 59 len: 16
    [ 0.000] OMAPRPC: received msg type: 6 len: 56 from addr: 1025
    [ 0.000] [t=0x00000061:097dcb29] ti.sdo.rcm.RcmServer: RcmServer_create: instance create: 0x9540c180
    [ 0.000] [t=0x00000061:097f4e86] ti.ipc.rpmsg.RPMessage: RPMessage_create: endPt created: 101
    [ 0.000] createService: new OMX Service at endpoint: 101
    [ 0.000] OMAPRPC: created service instance named: rpmsg-dce-dsp (status=0) addr: 101
    [ 0.000] OMAPRPC: Replying with msg type: 8 to addr: 1025 from: 59 len: 16
    [ 0.000] OMAPRPC: received msg type: 4 len: 12 from addr: 1025
    [ 0.000] OMAPRPC: destroying instance addr: 101
    [ 0.000] RcmServer_serverThrFxn_P: Exiting thread.
    [ 0.000] [t=0x00000061:0b378e12] ti.ipc.rpmsg.RPMessage: RPMessage_delete: endPt deleted: 101
    [ 0.000] [t=0x00000061:0b3863b9] ti.sdo.rcm.RcmServer: RcmServer_delete: instance delete: 0x9540c180
    [ 0.000] deleteService: removed RcmServer at endpoint: 101
    [ 0.000] OMAPRPC: Replying with msg type: 7 to addr: 1025 from: 59 len: 16


    Thanks