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/TDA2P-ABZ: Remoteproc example

Part Number: TDA2P-ABZ

Tool/software: Linux

Team,

Could you please answer my customer questions.

  1. I have some problem to distinguish which part of the whole TDA2Px system I can/have to configure through remoteproc and which part I can/have to configure directly in my code. Maybe you can give me some hints or further information.
  2. I found some Remoteproc example, where the PRU Interrupt Controller  crossbar could be setup over the resource_table.h, like this :

                               TYPE_CUSTOM, TYPE_PRU_INTS,

                               sizeof(struct fw_rsc_custom_ints),

                               { /* PRU_INTS version */

                                               {

                                                               0x0000,

                                                               /* Channel-to-host mapping, 255 for unused

                                                               *                            Mapping Channel-1 to Host-1 (PRU0/1 R31 bit 31)

                                                               * */

                                                               {

                                                                               HOST_UNUSED, 1, HOST_UNUSED, 3, HOST_UNUSED,

                                                                               HOST_UNUSED, HOST_UNUSED, HOST_UNUSED, HOST_UNUSED, HOST_UNUSED

                                                               },

                                                               /* Number of evts being mapped to channels */

                                                               (sizeof(pru_intc_map) / sizeof(struct ch_map)),

                                                               /* Pointer to the structure containing mapped events */

                                                               pru_intc_map,

                                               },

                               },

Is it possible to do a “resource_table.h”-configuration for the IRQ_CROSSBAR and the DMA_CROSSBAR of the TDA2Px system (A15,DSP,IPU)? I guess that I need some Remoteproc driver for the crossbars? If yes, where can I find the driver and can you send me an example how to do that?

  1. If it is not possible to configure crossbars through the resource table, my next question would be if there is a driver which I can use in my A15, IPU or DSP code?

Thank you.

- Needhu