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.

How to change RPC3.0''s memory map?

Other Parts Discussed in Thread: OMAPL138, DA8XX

Hi

How to change RPC 3.0's memory MAP?

rproc_mem=16M@0xC3000000  to other?

Because on my board, there is 256M memory. But when I set it to0xC8000000, LOAD FAIL!

  • Hi Changsheng Li,

    Would you please elaborate your issues like

    1. what is the TI package and its version you use? Is it MCSDK ? 

    2. Is it OMAPL13x or AM1x?

    3. please post your complete log messages / screenshot.

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • The address 0xc3000000 needs to match the address assigned to RPMSG_VRING0_DA in rsc_table_omapl138.h in the Ipc tree:

    #define RPMSG_VRING0_DA 0xc3000000

    TO

    #define RPMSG_VRING0_DA 0xc8000000

  • Thanks very much!
    I will check it!
  • Hi Titus. S.:

    I try it, modified to:

    #define DATA_DA                 0xc9100000 //0xc3100000

    #ifndef DATA_SIZE

    #  define DATA_SIZE  (SZ_1M * 15)

    #endif

    #define RPMSG_VRING0_DA         0xc9000000 //0xc3000000

    #define RPMSG_VRING1_DA         0xc9004000 //0xc3004000

    #define CONSOLE_VRING0_DA       0xc9008000 //0xc3008000

    #define CONSOLE_VRING1_DA       0xc900C000 //0xc300C000

    #define BUFS0_DA                0xc9040000 //0xc3040000

    #define BUFS1_DA                0xc9080000 //0xc3080000

    And my boot cmd is:

    setenv bootargs 'console=ttyS2,115200n8 ip=dhcp eth=${ethaddr} root=/dev/mmcblk0p2 nolock rw mem=64M@0xC0000000 mem=64M@0xCC000000 rproc_mem=16M@0xC9000000  vpif_capture.ch0_bufsize=829440';

    but the result is same to error message:

    root@omapl138-lcdk:~# modprobe da8xx_remoteproc da8xx_fw_name=server_dsp.xe674

    remoteproc0: dsp is available

    remoteproc0: Note: remoteproc is still under development and considered experimental.

    remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

    root@omapl138-lcdk:~#  remoteproc0: registered virtio0 (type 7)

    remoteproc0: powering up dsp

    remoteproc0: Booting fw image server_dsp.xe674, size 5247980

    davinci-rproc davinci-rproc.0: dma_alloc_coherent err: 15728640

    remoteproc0: Failed to process resources: -12

    remoteproc0: rproc_boot() failed -12

    virtio_rpmsg_bus: probe of virtio0 failed with error -12

    What's wrong about it?

    Thanks very much!