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.

AM3359 Enabling PRU Support in Kernel

Hello,

I am working through the "TI PRU-ICSS Getting Started Guide" but am having difficulty at the "How to Enable PRU Support in Kernel" step.

I have successfully installed CCS and the EZSDK and PRU Software support packages. 

I have downloaded and built the BBB kernel as described at eLinux.org.  When I try to use Menuconfig in the  I am not able to see the "TI PRUSS remoteproc support" option as described in the PRU-ICSS Getting Started Guide.

Can someone please give me a hint how to find the correct location to make Menuconfig to enable these drivers? 

Thank you so much,

Jeff Brouwer

  • Hi Jeff,

    Which EZSDK version do you have? Have you seen this wiki: http://processors.wiki.ti.com/index.php/PRU-ICSS_Installer ?

  • Greetings Biser,

    Thank you for the response. I am using version 7.00. The install file I used was ti-stk-am335x-evm-07.00.00.00-Linux-x86-install.bin.

    I did use the Wiki page you mentioned to install the PRU Support Package and all installed properly, including patches. The last step on this page is to proceed to the "PRU-ICSS_Getting_Started_Guide." I believe the only new step in this document is to "Enable PRU Support in Kernel" using Menuconfig.

    This is where I have run into trouble...I cannot find where to run Make Menuconfig.

    I did download and build the BBB kernel and can run Menuconfig on it, but I don't think this is what I was supposed to do--I do not see the "TI PRUSS remoteproc support" option in Menuconfig.

    Thanks again for any suggestions.

    Regards,

    -Jeff
  • Hi Jeff,

    I've verified the steps form PRU-ICSS Getting Started Guide (http://processors.wiki.ti.com/index.php/PRU-ICSS_Installer).


    The make menuconfig command should be executed from the folder where your ti-sdk-am335x-evm-07.00.00.00 kernel is located, in my case:
    x0155517@mms:~/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$ make menuconfig 

    And the result was:


    Most likely you can't see the TI PRUSS remoteproc support because the installation of PRU Software Support Package was partially successful, as described in STEP 10 in http://processors.wiki.ti.com/index.php/PRU-ICSS_Installer#Step-by-Step. And you need to manually apply all 21 patches, as described in STEP 12 through STEP 16 of the step by step guide. Some of the patches modify the defconfig files in order to have the TI PRU support in menuconfig.

    Before applying all the patches I also couldn't see the TI PRUSS remoteproc support option in menuconfig.

    Best Regards,
    Yordan

  • Thank you Yordan.

    I reapplied all the patches--still had no luck. To double-check, I deleted the entire directory and installed EZSDK and the PRU package again.

    This time the install went through cleanly and did not require any patches. I still cannot see the TI PRUSS remoteproc support option.

    However, in the remoteproc window I entered </> and searched for "PRUSS." Menuconfig knows the drivers are there...please see the screen shots below.

    Any suggestions would be greatly appreciated...I must be missing something basic.

    Best regards,

    -Jeff

  • Hi Jeff,

    Which defconfig do you use before executing the make manuconfig command?

    Your steps should be:
    x0155517@mms:~/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$  export ARCH=arm
    x0155517@mms:~/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$  export PATH=$PATH:<path to ti-sdk-am335x-evm-07.00.00.00>/linux-devkit/sysroot/i686-arago-linux/usr/bin/
    x0155517@mms:~/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$ export CROSS_COMPILE=arm-linux-gnueabihf-
    x0155517@mms:~/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$  make tisdk_am335x-evm_defconfig
    x0155517@mms:~/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$  make menuconfig

    A possible workaround to your issue is to:

    1. execute x0155517@mms:~/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01$  make tisdk_am335x-evm_defconfig

    2. hardcode CONFIG_STE_MODEM_RPROC=m and CONFIG_PRUSS_REMOTEPROC=m in your .config file & load them manually (using insmod) on your AM335x board.

    Best Regards,

    Yordan

  • Thank you Yordan. Executing the 4 steps you provided to prior to "make menuconfig" took care of the problem.

    These steps were missing from the PRU setup documentation I was following, thanks for filling in the blanks!

    Best regards,

    -Jeff
  • Hi Yordan

          I follow the steps in this page . but have a trouble in above step . when I run make tisdk_am335x-evm_defconfig . some errors occur .

    I can't found the tisdk_am335x-evm_defconfig file .

    my sdk version is "ti-sdk-am335x-evm-08.00.00.00" , is that different ?

    Best Regards,

    WeiSW

  • HI,

    Yes in SDK8.0 a different defconfig file is used.

    You should execute make singlecore-omap2plus_defconfig

    Best Regards,

    Yordan

  • Thank you Yordan.

    "make singlecore-omap2plus_defconfig" solve my problem !


    Best Regards,

    WeiSW