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.

66AK2G12: How to add MPMCL command to my rootfs from yocto build

Part Number: 66AK2G12

Hi,

 I've build and image and rootfs with the help of TI training of yocto builf . i'm customising  the rootfs according to our need.

I'm not able to add mpmcl command to my rootfs. Can you help me add mpmcl utiility ?

i'm not able to find recipe to add this utility.

Regards

Asif Malek

  • Hi,

    After dig into ti-recipe,  I've  found "multiprocmgr"  recipe and by adding it into my build I've added "mpmcl " commands.

    but still something I'm missing.

    during my booting TI Multiproc Manager getting  failed and the log i've mentioned below.


    [FAILED] Failed to start TI Multiproc Manager.
    See 'systemctl status mpmsrv-daemon.service' for details.



    when i've checked "systemctl status mpmsrv-daemon.service" , I've got the following log.

    [[0;1;31m●[[0m mpmsrv-daemon.service - TI Multiproc Manager
    Loaded: loaded (/lib/systemd/system/mpmsrv-daemon.service; enabled; vendor preset: enabled)
    Active: [[0;1;31mfailed[[0m (Result: exit-code) since Mon 2021-11-22 09:34:13 UTC; 13min ago
    Process: 246 ExecStartPre=/sbin/modprobe keystone_remoteproc [[0;1;31m(code=exited, status=1/FAILURE)[[0m

    Nov 22 09:34:13 k2g-evm systemd[1]: Starting TI Multiproc Manager...
    Nov 22 09:34:13 k2g-evm modprobe[246]: modprobe: FATAL: Module keystone_remoteproc not found in directory /lib/modules/4.19.94-gbe5389fd85
    Nov 22 09:34:13 k2g-evm systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mmpmsrv-daemon.service: Control process exited, code=exited status=1[[0m
    Nov 22 09:34:13 k2g-evm systemd[1]: [[0;1;39m[[0;1;31m[[0;1;39mmpmsrv-daemon.service: Failed with result 'exit-code'.[[0m
    Nov 22 09:34:13 k2g-evm systemd[1]: [[0;1;31m[[0;1;39m[[0;1;31mFailed to start TI Multiproc Manager.[[0m

    ~

    From the log  we can found "Module keystone_remoteproc" not found and it fails.

    due to the failing of "multiproc manager" I'm not able to utilize mpmcl commands.

    Please help me to resolve multiproc manager failure.

    Regards

    Asif

  • You need to make sure that the remoteproc kernel driver is getting built and put into the modules directory as indicated by the modprobe: FATAL output. Kernel modules are usually enabled in your kernel config, and they need to be built and installed separately. The TI SDK includes this module and should be a good reference for you to see how to add it properly to get around this error.

    Thank you.