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/PROCESSOR-SDK-AM335X: Remoteproc error

Part Number: PROCESSOR-SDK-AM335X


Tool/software: Linux

Hi,

Using Linux Processor SDK version 5.03

I believe that that remoteproc and rpmsg kernel modules are enabled by default from SDK v02.00.02.11 onward and that there is demo firmware loaded to serve as an out of box demo.
I get the following error when I try to run the same. Am I doing something wrong?

root@am335x-evm:~# echo 'am335x-pru0-fw' > /sys/class/remoteproc/remoteproc1/firmware
root@am335x-evm:~# echo 'start' > /sys/class/remoteproc/remoteproc1/state       
[ 5194.448475] remoteproc remoteproc1: powering up 4a334000.pru
[ 5194.454738] remoteproc remoteproc1: Direct firmware load for am335x-pru0-fw f
ailed with error -2
[ 5194.468127] remoteproc remoteproc1: request_firmware failed: -2
[ 5194.478859] remoteproc remoteproc1: Boot failed: -2
-sh: echo: write error: No such file or directory

  • Hello Kenneth,

    I assume you are following the steps in the RPMsg Quick Start Guide.

    1) Are you using the out-of-the-box SD Card created by the bin/create-sdcard.sh script?

    2) Could you show the contents of your /lib/firmware directory? As per our RemoteProc and RPMsg documentation, that is the folder that sysfs looks for firmware in.

    Regards,

    Nick

  • Hi Nick,

    Thanks for the Response. Yes, I am following the RMsg Quick Start Guide.

    1) I did use the out-of-the-box SD card created by the bin/create-sdcard-sh script.

    2) Here are the contents of /lib/firmware

    root@am335x-evm:~# cd /lib/firmware                                             
    root@am335x-evm:/lib/firmware# ls                                               
    LICENCE.iwlwifi_firmware    iwlwifi-8000C-31.ucode                              
    am335x-bone-scale-data.bin  iwlwifi-8000C-34.ucode                              
    am335x-evm-scale-data.bin   iwlwifi-8000C-36.ucode                              
    am335x-pm-firmware.elf      iwlwifi-8265-21.ucode                               
    am43x-evm-scale-data.bin    iwlwifi-8265-22.ucode                               
    iwlwifi-3160-17.ucode       iwlwifi-8265-27.ucode                               
    iwlwifi-8000C-13.ucode      iwlwifi-8265-31.ucode                               
    iwlwifi-8000C-16.ucode      iwlwifi-8265-34.ucode                               
    iwlwifi-8000C-21.ucode      iwlwifi-8265-36.ucode                               
    iwlwifi-8000C-22.ucode      ti-connectivity                                     
    iwlwifi-8000C-27.ucode      ti-pruss       

  • Hello Kenneth,

    In the create-sdcard.sh script, make sure that you are using the tisdk-rootfs-image, and not the tisdk-docker-rootfs-image. The stripped-down docker image does not include prebuilt PRU firmware like the complete filesystem image does. Reference our filesystem documentation for more information.

    Regards,

    Nick