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/AM5708: RPmesg issue in a AM5708 based custom board

Part Number: AM5708

Tool/software: Linux

Hi:

We have a custom AM5708 based board with SDK Linux RT 5.00.00.15.

We have Linux starting up properly but when we run our user application we get the following messages:

[   11.486594] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   11.554435] Error: Driver 'virtio_rpmsg_bus' is already registered, aborting...
[   11.618668] rpmsg_init: failed to register virtio driver: -16


[   28.119070] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.154721] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.173505] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.173903] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.176595] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.203743] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.303867] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.306492] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.310457] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.343337] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.346690] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[   28.439763] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)


[  237.481508] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[  237.507820] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[  238.548195] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[  238.575398] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[  238.601375] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)
[  238.628769] rpmsg_core: exports duplicate symbol __register_rpmsg_driver (owned by kernel)

Regards

Billa

  • Are you trying to talk between the A15 and DSP? Have you tried building and running one of the examples that comes with the Linux SDK?

    To build the examples:
    1. Install Linux SDK and RTOS SDK on your PC. By default when you install RTOS SDK on your Linux PC, the path will default to /home/user/ti. Side note: Personally I prefer to encapsulate the full release similar to how the Linux SDK is done, so I specify an installation path of /home/user/ti-processor-sdk-rtos-am57xx-evm-05.01.00.11. That way I can keep the different releases separate. By default, all the components get mixed together inside that /home/user/ti directory.
    2. In your Linux SDK root directory, edit Rules.make. Add a path to your RTOS SDK. In my case, I made the first line TI_RTOS_PATH=/home/user/ti-processor-sdk-rtos-am57xx-evm-05.01.00.11 to point to my custom install path.
    3. From your Linux SDK root directory run "make ti-ipc" and "make ti-ipc-linux-examples". The resulting output will be in the RTOS SDK folder inside ipc-x_yy_zz_zz/examples/DRA7XX_linux_elf. I recommend starting with the ex02_messageq example.

    Instructions on running these examples can be found here:

    software-dl.ti.com/.../Foundational_Components_IPC.html

    You'll need to scroll down a little bit to the "Running the Bundled IPC Examples" section.
  • We think that the issue is solved.