Skip to main content
Visitor II
December 10, 2021
Question

How to troubleshoot remoteproc on STM32MP157C.

  • December 10, 2021
  • 1 reply
  • 3010 views

I am getting an error in the kernel log when remoteproc tries to "set hold boot" during startup in Linux. The error is:

remoteproc remoteproc0: failed to set hold boot

remoteproc remoteproc0: releasing m4

stm32-rproc: probe of mlahb:m4@10000000 failed with error -3

After this I do not have remoteproc0 in the /sys/class/remoteproc folder. I have attached device tree and log file.

Can someone please suggest a possible cause.

    This topic has been closed for replies.

    1 reply

    ST Employee
    December 15, 2021

    Hello,

    The following log message shows that you are not use the good version of the Linux Kernel:

    "remoteproc remoteproc0: failed to set hold boot"

    At least following patch is missing:

    https://github.com/STMicroelectronics/linux/commit/ce92c44d652b44ef0967a8b8d2f9979105bf64f6#diff-5ca23cfd6108ec38be554f2240b3f3a23e60fed01d21dde9672b91bc4092e7ce

    Please use the Linux kernel provided in the ST Microelectronics distribution

    For the Linux Kernel 5.4: https://github.com/STMicroelectronics/linux/tree/v5.4-stm32mp

    PZak.1Author
    Visitor II
    December 16, 2021

    Hello Arnaud,

    Thank you for responding. I tried the patch you supplied but remoteproc failed with the following error:

    stm32-rproc: probe of mlahb:m4@10000000 failed with error -2.

    We are using the Octavo systems OSD32MP15x SIP and can not easily update to the latest kernel version.

    I have since found out that if I use the arm-trusted-firmware/tf-a-stm32mp157c-dk2-sdcard.stm32 binary provided by ST then the ARM SMCCC call that failed originally now succeeds and remoteproc0 is present in the file system. I will have to dig into what I am doing wrong in the TF-A build of our image.

    Best regards,

    Technical Moderator
    December 16, 2021

    Hi @PZak.1​ ,

    >> We are using the Octavo systems OSD32MP15x SIP and can not easily update to the latest kernel version.

    For this I recommend you to get support from Octavo directly.

    Olivier